Dograh

6 Voice Agent Flow Templates for Inbound Support Calls

6 Voice Agent Flow Templates for Inbound Support Calls
TutorialDecember 4, 2026·9 min read

6 Voice Agent Flow Templates for Inbound Support Calls

Pritesh Kumar
Pritesh Kumar·Co-founder, Dograh AI

Building Dograh, the open-source alternative to Vapi. OSS and Voice AI. Exit founder and YC alum.

Voice agent flow templates for inbound support calls are node-by-node outlines of one call type, with the questions, tools, edge conditions and handoff rule written down before you build. Here are six, from triage to cancellations. To turn an outline into an agent, paste it into Dograh, the open-source AI voice agent platform. Self-host it or use Dograh Cloud.

Key Takeaways

  • Every template verifies the caller before it reads or changes account details.
  • Each template has exactly one handoff rule, written in a single sentence.
  • Paste an outline into Dograh's Agent Builder, then test transfers by phone.

Most support lines take the same handful of calls every day, and each one deserves a flow you can read at a glance. Below are six outlines you can copy, with the parts they share, the nodes, tools and handoff rule for each, and how to load them into Dograh.

What you need before you start

These outlines follow the published Dograh docs, and each one belongs on a test agent before it meets production calls. They are examples we wrote, so swap in your own systems, wording and limits.

You need the endpoints your tools will call, such as an account lookup, a ticket API and an order system, plus the documents your agents use today. Two kinds of call are already covered elsewhere. Our customer service script templates give wording for order status, billing, complaints and escalation, and the cookbook of five call flows covers booking, reminders, intake, surveys and transfers. The six below fill the gaps between them.

The parts every template uses

Phone menus have worked from flow templates for decades, as any interactive voice response system shows. A voice agent template is the same idea at the level of the conversation. Each outline below uses Dograh's node names, and our post on the visual flow builder explains what each node does.

Put the rules every call shares in the Global Node, so every Agent Node with Add Global Prompt turned on gets them. Four rules belong there. Greet, verify, then disclose, because a phone number finds a record but does not prove who is calling. Answer only from a tool result or your documents. Never take a card number on the call. Hand off by the template's one rule, and say so plainly when you do. Exact wording only holds in fixed text, which means the Greeting Text in Start Call or the Transition Speech on an edge. Everything inside an Agent Node is written by the model, so put any line that must be word for word on an edge.

Every lookup or write is an External HTTP API tool to your own system. Set a short line in the tool's Messages card, under When the tool starts, so the caller hears something while the lookup runs. The tool waits 5 seconds by default and does not retry on its own, so a write that must happen once carries a Preset Parameter named workflow_run_id.

Template 1: Front-door triage

Use this when one number takes every support call and you want each caller in the right place within a minute. The outline below names the Triage node, its four edges and the call_reason variable it records.

Start Call    Greeting Text: "Thanks for calling Acme support. What can I help with today?"
              Pre-Call Data Fetch: Inbound calls only (account found by caller number)
Agent Node    Triage
  asks        reason for the call in the caller's own words, then confirms it back once
  records     call_reason (string)
  edge        "technical problem"      -> Transfer To Agent: Troubleshooting agent
  edge        "billing or refund"      -> Transfer Call: billing queue (Context Mapping)
  edge        "asks for a person"      -> Transfer Call: general queue
  edge        "question answered"      -> End Call
Webhook       call_reason, route taken, call_disposition
Dispositions  routed_specialist, routed_queue, resolved

What this does: The triage node finds the reason, repeats it back so the caller can correct it, and picks one of four edges. Transfer To Agent passes the conversation to the Troubleshooting agent, so the caller never repeats the problem.

The handoff rule covers two cases. If the caller asks for a person, or the reason does not fit an edge after one clarifying question, transfer to the general queue. Transfer Call works on Twilio, Telnyx, Plivo, Cloudonix and Asterisk ARI, and Dograh calls the destination first and connects the caller only when someone answers. Transfer To Agent runs on cascade calls only and does not work with speech-to-speech models.

Template 2: Troubleshooting from your documents

Use this when a product stops working and your manuals already cover the fix. The outline below names the Diagnose and Fix steps nodes, the product_model variable and the create_ticket tool.

Start Call    Greeting Text: "Hi, this is Acme support. Which product are you calling about?"
Agent Node    Diagnose
  asks        product and model, what happens, when it started, what they already tried
  records     product_model, symptom, steps_tried
  knowledge   Knowledge Base Documents: setup and troubleshooting manuals
  edge        "known fix found"        -> Fix steps
  edge        "no fix or fix failed"   -> Ticket
Agent Node    Fix steps
  does        one step at a time, waits for "done" before the next, max 4 steps
  edge        "fixed"                  -> End Call
  edge        "still broken"           -> Ticket
Agent Node    Ticket
  tool        create_ticket (External HTTP API, POST to your helpdesk endpoint)
  says        the ticket number, slowly, and when a person will follow up
Webhook       product_model, symptom, steps_tried, ticket_id, call_disposition
Dispositions  fixed_on_call, ticket_created

What this does: The agent answers only from the manuals attached to the node, walks the caller through one step at a time and opens a ticket when the manuals run out. The ticket carries what was already tried, so the next person starts where the call stopped.

Upload the manuals under Files and attach them to the node as Knowledge Base Documents. The Knowledge Base takes PDF, DOCX, DOC, TXT, JSON and Markdown files up to 5 MB each. Its handoff rule is about limits. After four steps, or if the caller mentions smoke, heat or a burning smell, stop and open a ticket marked urgent. For the helpdesk side, our guide to connect a voice agent to Zendesk, Jira or ServiceNow covers the API calls.

Dograh

Open Source Alternative to Vapi / Retell

Self-hosted voice agent platform — no per-minute fees

dograh-hq/dograh

Star on GitHub

Template 3: Return or refund request

Use this when callers want to send something back or get money back. The outline below names the Verify and Return nodes, the lookup_order and start_return tools and the return_reason variable.

Start Call    Greeting Text: "Hi, you've reached Acme returns."
Agent Node    Verify
  asks        order number, then the email or ZIP code on the order
  tool        lookup_order (External HTTP API)
  edge        "details match"          -> Return
  edge        "no match after 2 tries" -> Transfer Call: returns queue
Agent Node    Return
  asks        which item, reason, refund or exchange
  records     return_reason, item_id, outcome_wanted
  tool        start_return (External HTTP API, Preset Parameter workflow_run_id)
  says        what the policy result is, and that the return label comes by email
  edge        "outside policy or damaged in transit" -> Transfer Call: returns queue
  edge        "return started"                       -> End Call
Webhook       order_id, item_id, return_reason, outcome, call_disposition
Dispositions  return_started, refund_requested, sent_to_staff

What this does: The agent confirms the order belongs to the caller before it discusses it, then lets your order system decide what the policy allows. Your system emails the label, so the agent never reads a link aloud or takes card details.

The Webhook node posts the outcome after the call. It adds a call_disposition key and retries temporary failures, up to five attempts in all. Its handoff rule follows the policy. Anything outside the written policy goes to a person, because the agent cannot grant exceptions.

Template 4: Account details change

Use this for address, email or phone number changes. It carries the strictest check of the six, because a changed email or phone number can hand someone else control of the account. The outline below names the Verify identity and Change nodes and the update_contact tool.

Start Call    Greeting Text: "Hi, this is Acme accounts."
              Pre-Call Data Fetch: Inbound calls only (account found by caller number)
Agent Node    Verify identity
  asks        full name, then date of birth and the last 4 digits of the account number
  edge        "both match"             -> Change
  edge        "any mismatch"           -> Transfer Call: accounts team
Agent Node    Change
  asks        which detail, the new value, spelled out
  says        the new value back, character by character, and waits for "yes"
  tool        update_contact (External HTTP API, Preset Parameter workflow_run_id)
  edge        "updated"                -> End Call
Webhook       field_changed, change_status, call_disposition (never the old or new value)
Dispositions  detail_updated, verification_failed

What this does: Nothing is read out or changed until both checks match. The new value is read back in full before the tool writes it, and the Webhook payload records that a change happened without copying the personal data.

The handoff rule is strict. One mismatch sends the call to the accounts team, with no second try. Your system should also send a notice to the old email or phone number after any change, so the real owner hears about it.

Template 5: Outage or service incident line

Use this when a service is down and the phones light up. The outline below names the Status node, the incident fields that Pre-Call Data Fetch returns and the subscribe_updates tool.

Start Call    Greeting Text: "Thanks for calling Acme. We're checking our service status for you now."
              Pre-Call Data Fetch: Inbound calls only (open incidents for the caller's account or area)
Agent Node    Status
  says        what is known from the incident fields: what is affected, since when, next update time
  never       invents a repair time that the incident system did not give
  asks        whether the caller wants an update when it is fixed
  tool        subscribe_updates (External HTTP API, your messaging system sends the update)
  edge        "not related to the incident" -> Transfer To Agent: Triage agent
  edge        "business-critical impact"    -> Transfer Call: incident desk
  edge        "update requested or done"    -> End Call
Webhook       incident_id, affected, subscribed, call_disposition
Dispositions  incident_informed, subscribed_updates, escalated

What this does: The endpoint behind Pre-Call Data Fetch looks up open incidents before the greeting, so the agent starts the call already knowing whether this caller is affected. The update goes out from your own messaging system when your team marks the incident fixed.

Pre-Call Data Fetch sits at the bottom of the Start Call node and sends a POST with the caller's details to an endpoint you run. Keep the status in the incident system and out of the prompt, so one update there changes every call at once. Its handoff rule turns on impact. Callers who report business-critical impact go to the incident desk, and everyone else gets the status and an update offer.

An operations team updates an open incident board listing what is affected, since when and the next update time. Before each greeting, your endpoint reads the board and passes it to the voice agent, which is on calls with three affected callers at once.
Status typed into a prompt stays frozen until someone edits the agent, while the outage itself keeps moving. Reading it from the incident system before each greeting means callers only hear what the operations team has actually posted.

Join the Dograh Community

Dograh is an OSS alternative to Vapi. Join our Slack community for queries, releases, best practices & community interactions.

Template 6: Cancellation request

Use this when a caller wants to end a subscription or service. The outline below names the Verify and Cancel nodes, the get_offer and cancel_plan tools and the cancel_reason variable.

Start Call    Greeting Text: "Hi, you've reached Acme accounts."
Agent Node    Verify
  asks        date of birth and the last 4 digits of the account number
  edge        "both match"             -> Cancel
  edge        "any mismatch"           -> Transfer Call: accounts team
Agent Node    Cancel
  asks        the reason, once
  records     cancel_reason
  tool        get_offer (External HTTP API, returns one offer or none)
  says        the offer once if there is one, then accepts the caller's answer
  tool        cancel_plan (External HTTP API, Preset Parameter workflow_run_id)
  says        the end date and the confirmation number
  edge        "canceled or offer accepted"  -> End Call
Webhook       cancel_reason, offer_shown, outcome, call_disposition
Dispositions  canceled, retained, sent_to_staff

What this does: The agent asks the reason once, makes at most one offer your system approved, and cancels when the caller says so. The caller leaves with an end date and a confirmation number they can quote later.

Its handoff rule is short. If the caller asks for a person or the cancel tool returns an error, transfer to the accounts team. Never let the agent repeat an offer the caller has turned down, since a cancellation call that feels like a trap costs more trust than it saves.

Loading a template into Dograh

Pick a template, swap in your own names and endpoints, then build it. The outline doubles as the plain-language description the Agent Builder works from, and a self-hosted install connects to a free Dograh account to use the builder.

In the Agent Builder, paste the outline as the description. It shows Your agent requirements for you to check, with Approve & build or Request changes, and builds the agent for review. Edits after that save as drafts. On the canvas, add one Agent Node per block and draw each edge with its Condition. An edge that ends in Transfer Call or Transfer To Agent means the node calls that tool, so attach the tool to the node instead of drawing a node for it. Create the tools under Tools before you attach them. Moving along an edge is the model reading its Condition, so write each edge condition as a plain sentence and test it with odd answers.

Put test values in the Variables tab, try each edge in Test Chat, then call the agent from a real phone. Transfers only run on phone calls, so every Transfer Call edge needs one phone test. Add a QA Analysis node so each node gets its own score and tags on test and live calls. If the agent will sit beside a contact center you already run, our post on how to add AI voice agents to your existing contact center covers routing calls in and back out.

Glossary

Add Global Prompt
A switch on each Agent Node that adds the Global Node's prompt to that node. Turn it on wherever the shared rules, such as verify first, must apply.
Edge condition
The plain-sentence rule on an edge between nodes. The model reads it to decide where the call goes next, so test it with odd answers.
Transition Speech
Fixed text or a recording that plays when the call moves along an edge. It is the place for lines that must be word for word.
Front-door triage
A first node that asks why someone is calling, confirms it back and routes the call to the right agent, queue or ending.

Frequently Asked Questions

Get started with Dograh

Build, deploy, and scale AI agents with Dograh. Join the community of developers building the future.