Scaling Chat

What context should an AI chat bot pass to a human agent at handoff?

Send the person the full transcript, a verified customer identity, the reason for the handoff and the destination queue or skill; add a short summary and the structured facts the bot already collected. Microsoft's Bot Framework handoff protocol defines two parts, the context of the handoff request (used to route to the right agent) and a transcript of what the customer and the bot already said, and Voiceflow's documentation lets a team choose a full transcript, a custom summary variable or none, and warns that a typed ID is not proof of identity. The test is whether the agent can start without asking the customer to repeat anything.

What should be transferred in a bot-to-agent handoff?

Two vendor documents describe the minimum. Microsoft's Transition conversations from bot to human page says a handoff initiation event carries the context of the request, used to route the conversation to an appropriate agent, and a transcript of the conversation so the agent can read what was said before the handoff. Voiceflow's handoff context guide has the team map customer identity, set the support destination and choose what the human receives.

Item Why the agent needs it What the docs say
Transcript Lets the agent read the whole exchange without re-asking Microsoft: sent as a transcript attachment, inline (subject to a size limit) or offline by URL. Voiceflow: "Full transcript" is one of three context options
Routing context or destination Gets the case to the right team Microsoft: the handoff context, for example a skill. Voiceflow: a queue ID, team ID or group ID depending on the support platform
Customer identity Lets the agent find the account Voiceflow: map customer ID, email, phone and name, and note that a typed ID is not proof of identity
Summary or custom context Gives the agent the point in seconds Voiceflow: "Custom" sends a chosen string variable and does not generate a summary; an empty or non-string variable sends nothing
Handoff status Tells the bot whether anyone took the case Microsoft: status events report completed or failed, and a bot must not reject them

Add what your own escalation triggers produce: the intent the classifier chose, the tool calls and their results, and the policy rule the bot was applying.

Worked example: a handoff packet

For a refund the bot could not approve, a complete packet would contain these fields.

Field Example value
Reason Refund above the limit the bot may approve
Destination Billing queue
Customer Account ID 48213, identity verified by login (not typed)
Summary Customer wants a refund for order 7731, delivered damaged; the bot checked the order and confirmed it was delivered
Tool results Order lookup returned status delivered on the stated date
Transcript Attached in full
What the customer was told That a person from billing will reply in this chat

The values are invented for illustration. The field list is the part to copy.

How do you check that it worked?

Voiceflow's verification step is a good model: run two conversations aimed at different destinations and check the customer identity, the escalation context and the receiving team in the support platform. The agent should be able to identify the customer and the escalation reason without repeating the bot's questions. Its documentation also advises keeping secrets out of context and metadata that can be forwarded or displayed.

What to do

  1. Write the packet fields above into your handoff step and make the transcript non-optional.
  2. Pass identity with a verified flag, not just the value.
  3. Test each destination queue once a month with a scripted conversation.
  4. Handle the failed status: tell the customer what happens next instead of leaving the chat silent.
  5. Log the handoff reason, and review the biggest reasons each week (see escalation and evaluation).

Related

Escalation: when should a person take over?, Evaluating AI chat answers, Routing, Routing vs cascading.

Sources

Read November 19, 2026:

Frequently asked questions

Is a summary enough, or should the agent get the whole transcript?
Send both where you can. Voiceflow lets you choose between a full transcript and a custom context variable, and notes that a custom variable does not generate a summary for you. A summary alone can hide the step where the bot went wrong.
Should the bot pass the customer''s typed ID to the agent as verified?
No. Voiceflow's handoff documentation states that an ID typed by a visitor is not proof of identity, so pass whether the identity was verified along with the value.
What happens if no agent is available at handoff?
In Microsoft's protocol the agent hub reports a handoff status of completed or failed, for example a failure with the message that it cannot find an agent with the requested skill. Design the bot to tell the customer what happens next when it receives a failure.