Router agent
A Router agent step is the front door of a team of agents. It talks with the customer just long enough to understand the request, then hands the conversation to a specialist. Its routes are its Handoff connections: draw one to each specialist agent step and describe, in the connection’s “When to hand off”, which requests belong there.
When to use it
Section titled “When to use it”- One support number for billing, technical faults and new connections, each with its own specialist agent.
- A bank’s chat that sends card issues, loan questions and account changes to different agents.
- A hospital line that separates appointments, reports and billing.
When not to use it
Section titled “When not to use it”- One agent can handle every request on its own. Use Conversational agent.
- The choice depends only on data you already have, such as the customer segment. Use Condition or Decision (rules).
- Several specialists must each answer part of one request. Use Supervisor agent.
Settings
Section titled “Settings”| Setting | What it does |
|---|---|
| Agent | Required. The agent from your library that does the routing. |
| Minimum confidence | 0 to 1. Default: 0.6. Below this, the router asks again or uses the fallback. |
| Most clarifying questions | 0 to 5. Default: 2. |
| Fallback agent | Takes the conversation when no route is clear. Empty takes the error path. |
| Time limit | When it passes, the error path is taken. |
Handoff connections can only join agent steps that talk with customers. Both ends must suit the same kind of conversation: an agent that takes calls cannot hand off to one that only takes messages.
What it produces
Section titled “What it produces”- A single Next once the routing part of the conversation is finished, and an error path.
steps.<step id>: what the router reported when it finished.
Example
Section titled “Example”A telecom provider routes support calls.
Channel inbound (voice) → Router agent (front desk) handoff → Conversational agent (billing) handoff → Conversational agent (faults) handoff → Human agent (new connections)“When to hand off” for billing: The customer asks about a bill, a payment or a refund.