Home / Insights / AI Agents and Automation
AI Agents and Automation
Designing Chatbot-to-Human Handover: Triggers, Context and Queue Rules
A chatbot is judged as much by how it hands over as by what it answers. This guide covers when to escalate, what context to pass to agents, how to handle queues and out-of-hours cases, and how to test the handover before launch.
TopicsAI Agents and AutomationProduct Design and DiscoveryBusiness Operations and Integration
Key takeaways
- Treat handover as a designed workflow with its own requirements, owner and test cases, not as a fallback button.
- Define escalation triggers in four groups: customer request, bot uncertainty, policy or risk, and repeated failure.
- Pass a short structured summary, verified identity status and collected fields so the agent never asks the customer to start again.
- Plan for no agent being available: out-of-hours capture, queue position messages and a promised response channel.
- Measure handover quality directly, including repeat questions, time to first agent reply and post-handover satisfaction.
On this page
Most chatbot projects spend their energy on the answers: which content the bot can use, how it phrases things, how it deals with ambiguous questions. The moment where the bot stops and a person takes over gets far less attention, yet it is where many of the worst customer experiences happen. A customer explains a delivery problem to the bot, gets transferred, and the agent opens with “How can I help you today?” The customer has to repeat everything, and the bot has made the experience worse than having no bot at all.
On the chatbots we scope at PoliteTech, live-agent handover is one of the decisions we ask clients to settle before building, alongside the top user questions, permitted content, channels and success measures. This article sets out how to make that decision well: what should trigger a handover, what the agent should receive, how to handle queues and hours, and how to test the whole path end to end.
Why handover is where chatbots lose trust
Handover failures usually come from treating escalation as an exception rather than a normal path. A well-scoped bot for an online retailer, a services business or a SaaS product will still pass a meaningful share of conversations to people: refunds outside policy, complaints, account changes that need verification, or simply customers who prefer a human. If that path is an afterthought, it inherits several common problems.
- Lost context. The transcript is not attached, or is attached as a wall of text the agent will not read during a busy shift.
- Dead ends. The bot promises a transfer but no agent is online, and the conversation simply stops.
- Escalation loops. The bot keeps offering self-service links after the customer has asked twice for a person.
- Wrong queue. A billing dispute lands with the general queue, gets reassigned, and the wait doubles.
- Silent channel switches. The customer started in web chat but the follow-up arrives by email with no reference to the conversation.
None of these are model problems. They are workflow and integration problems, which is good news: they can be specified, built and tested like any other feature. If you are still deciding whether chat is the right interface at all, our guide to when conversational UI is the right choice is a useful starting point.
Defining escalation triggers
A handover trigger is a rule that says “stop trying to resolve this automatically and route it to a person”. We recommend writing triggers down in four groups, each with examples from real tickets and chats.
| Trigger group | Examples | Design notes |
|---|---|---|
| Customer request | “Talk to a person”, “agent”, “this is useless”, repeated requests in other languages | Honour the first clear request. Offering one alternative is acceptable; offering three is a loop. |
| Bot uncertainty | No approved content matches; low retrieval confidence; the question is outside the defined scope | Ask one clarifying question, then escalate. Do not guess from general knowledge. |
| Policy or risk | Refunds above an agreed limit, legal threats, safety issues, vulnerable customers, health questions needing clinical judgement | These should escalate even if the bot could produce an answer. Keep the list owned by operations, not engineering. |
| Repeated failure | Same intent detected three times; customer rephrases repeatedly; negative feedback on two answers in a row | Track failure signals across the conversation, not per message. |
Two practical points matter here. First, policy triggers should be explicit configuration rather than buried in a prompt, so the support manager can review and change them. Second, every trigger needs a reason code that travels with the handover. Reason codes let you report on why conversations escalate, which is the single best input for deciding what to improve next.
Avoiding over-escalation
The opposite failure also exists: a bot so cautious it escalates anything slightly unusual. This usually shows up as a high escalation rate on intents the bot was scoped to handle. The fix is rarely to loosen safety rules; more often it is missing or poorly structured help content, or a clarifying question that would have resolved the ambiguity. Reviewing a sample of escalated conversations each week, grouped by reason code, makes the cause visible quickly.
What context to pass to the agent
The goal is simple: the agent should be able to respond meaningfully within seconds of accepting the conversation, without asking the customer to repeat anything the bot already collected. That means passing structured data, not just a transcript.
A minimum handover payload
- Summary in two or three sentences: what the customer wants, what the bot tried, and why it escalated.
- Reason code from the trigger list above.
- Identity status: verified, partially verified or not verified, and by which method. Agents must never assume the bot verified someone when it did not.
- Collected fields: order number, booking reference, product, account email, preferred contact method.
- Lookups already performed: for example, the order status the bot retrieved and when.
- Customer sentiment flag where it is useful for prioritisation, used carefully and never shown to the customer.
- Full transcript, available but collapsed below the summary.
In helpdesk platforms such as Zendesk, Intercom or Freshdesk, this typically maps to ticket fields, tags, an internal note for the summary and the conversation history. Agree with the support team where each item appears in their view; a summary placed in a field nobody looks at is the same as no summary.
Summary quality
Language models are good at summarising chat transcripts, but summaries can still omit details or state assumptions as facts. Keep summaries short, ask the model to quote the customer’s key statement where it matters, and include the summary in your evaluation set. Agents should be able to flag a bad summary with one click, which gives you a stream of real examples to improve against. Our article on evaluating an AI chatbot before users depend on it covers how to build that evaluation set.
Queues, hours and the no-agent case
A handover is only as good as what happens next. The bot needs to know whether people are available and set expectations honestly.
| Situation | Recommended bot behaviour |
|---|---|
| Agents online, short queue | Transfer, tell the customer a person is joining, keep the window open. |
| Agents online, long queue | Offer the choice to wait or receive a reply by email or message, with the conversation reference. |
| Outside support hours | Say so plainly, state when the team is back, capture contact details and create a ticket with the summary attached. |
| Urgent or safety-related issue out of hours | Provide the agreed emergency route (phone line, emergency contact) rather than queuing. |
Routing is the other half. If your helpdesk already uses queues by topic, language or customer tier, the bot’s reason code and detected intent should feed those rules. For multilingual chat, route by the language the customer is actually using, and make sure an agent who speaks it exists in that queue during the hours you advertise.
For customers who start on one channel and continue on another, the conversation reference should follow them. A customer who leaves the website and receives an email reply should see that it relates to the chat they started, and the agent should see the original transcript.
Testing the handover path
Handover deserves its own test plan. We usually write scenarios that cover each trigger group, each queue state and each channel, then run them against a staging helpdesk before launch.
- Trigger coverage. For every trigger, at least two realistic conversations that should escalate and one similar conversation that should not.
- Payload checks. Confirm every field arrives in the right place in the agent view, including identity status and reason code.
- Queue states. Test with agents online, all busy, and outside hours, using the real business-hours configuration.
- Agent walkthrough. Ask two or three agents to accept test handovers and respond without reading the full transcript. Where they have to scroll or ask the customer something, the payload is incomplete.
- Return to bot. If your design lets the bot resume after an agent resolves something, test that it does not repeat earlier questions.
- Failure handling. Simulate the helpdesk API being unavailable. The customer should still get a reference and a promise of follow-up, and the conversation should be queued for retry.
What to measure after launch
- Share of handovers where the agent asks for information the bot already had.
- Time from handover to first agent reply, by queue and hour.
- Escalation rate by reason code and by intent.
- Customer satisfaction for conversations that were handed over, tracked separately from fully automated ones.
- Agent feedback on summary quality.
These measures sit naturally alongside the success measures most chatbot projects already track, such as resolution rate and escalation rate. For a broader view of how the bot, retrieval and helpdesk fit together, see our reference architecture for customer support AI agents.
Who owns the handover
Handover crosses team boundaries, which is exactly why it gets neglected. A workable split is:
- Support operations owns the trigger list, policy limits, queue rules and hours.
- Product owns the customer-facing wording and the experience of waiting.
- Engineering owns the integration, payload, retries and monitoring.
- QA owns the handover test scenarios and keeps them current as triggers change.
Write these owners into the scope at the start. When a client asks us to build a chatbot through our AI chatbot development service, handover rules and the context passed to agents are agreed in the define stage, so that the build and test plan include them from the first increment rather than bolting them on before launch.
Frequently asked questions
Should a chatbot always offer a way to reach a person?
In most customer-facing deployments, yes. Customers who cannot find a route to a person tend to abandon the channel or escalate elsewhere. The route can depend on hours and queue state, but it should be visible and honoured when requested.
How many clarifying questions should the bot ask before escalating?
One is usually enough. If a single clarifying question does not resolve the uncertainty, escalate with what you have collected rather than continuing to probe.
Can the bot hand back to automation after an agent finishes?
It can, and it is useful for routine follow-ups such as confirming a delivery address. Make sure the bot receives the agent’s resolution so it does not reopen the issue or repeat questions.
Which helpdesks can receive chatbot handovers?
Most modern helpdesks expose APIs for creating conversations, tickets, notes and fields. PoliteTech commonly integrates with platforms such as Zendesk, Intercom and Freshdesk; the right mapping depends on how your agents already work.
Related reading
Continue your research
Is your chatbot handover losing customer context?
We can review your escalation triggers, helpdesk integration and agent view, then propose a handover design your support team can own.
