Two ways to build a phone line
DialogWright now has two ways to build a line. Both understand callers in their own words. Both put every action through the same policy gate (the business's rules, checked in code) and into the same audit log, where each entry is sealed with a hash of the one before. They differ in who chooses the words the caller hears.
- ScriptedA decision model (a fast model that answers questions and never writes text) reads what the caller means. Code decides what happens, and every line is said word for word. A model rewords a line only where the app allows it, and the result is checked. For a business that needs every word predictable: regulated lines, high volume, identity checks.
- Agent modeA model holds the conversation from the business's own file,
agent.yaml: its services, prices, hours, common questions and actions. For a small business that wants a natural conversation, with what gets done still fixed. The example app is a wheel repair shop.
What stays fixed in agent mode
- Before anything is booked, sent or changed, the line reads the details back in the business's own words, with exactly the values that will be sent.
- It runs only when the caller confirms, as read by the decision model.
- Every action goes through the policy gate and into the audit log, allowed or refused.
- Actions that follow it (such as a text asking for a photo) run with the same confirmation, each through the gate.
- A request the caller has not confirmed is never dropped at the end of a call without asking whether they still want it.
How long to wait
The agentic IVRs can make people need to think a little more, since we aren't directing them what to say. It's a fine line between time to think and "did it hang up on me?" So we can't go too long.
Once a reply has played, the line waits nine seconds for the caller. Then it checks they are still there and helps them go on, and after one more silence it says a polite goodbye and the call ends. A business can change the wait, or turn it off.
Agent mode in depth The two ways, side by side Guide, chapter 18: agent mode