Tether
DocsPricingContactGet started

Guides

Handoff to a person

A customer-facing agent that cannot resolve a request has to pass it to the business's staff. Tether records the handoff, mails your people, lists it in the approval inbox until someone marks it handled, tells your system when you have a webhook, and tells the customer, in your words or its own, what happens next. When nothing would reach a person it says so instead of promising a call. A handoff is not an action: it stages nothing, needs no approval and changes nothing in any system.

What triggers one

TriggerWhenModel call
customer_requestThe customer asks for a person: "მინდა ადამიანთან საუბარი", "minda adamiantan saubari", "Хочу поговорить с человеком", "I want to talk to a person". Recognised in Georgian script, transliterated Georgian, Russian and English, on intent phrasing only, before anything else in the turn.None. The turn is answered at once.
agentThe model concludes it cannot help and calls tether_handoff, a capability Tether offers beside your tools on every chat turn that offers one of yours (not on a turn whose only tool is the catalogue search).The turn's own.
unverified_outcomeA write was executed, but its verify read did not show the effect, failed, or did not answer in time. Raised when the action is confirmed, outside any turn, so a person checks what actually happened.None.

Whichever fires first is the one recorded. tether_handoff is reserved: a catalog that names a tool tether_handoff is refused at registration, so nothing you register can take its place.

Who is told

Every handoff reaches the business by every route it has, whether or not you set a webhook:

RouteWhoWhen
MailEach active registered person with an address whose role your approval policy names (every active person when you have no policy), and your signup addressOnce per handoff. About 30 seconds after it is raised, so the conversation's last turn is in it; for a visitor who was offered the contact fields, when they leave a phone or an email, or after two minutes
The approval inboxEveryone who signs in to it for your businessListed under Needs a person until someone marks it handled
Your events webhook, else your tool endpointYour systemA signed conversation.handoff, within a second or two

The mail is written in your pack's language (Georgian or English) and names your business. It says why a person is needed, the conversation's language, the verified customer or the phone and email the visitor left, the model's reason marked as a hint, and the last messages of the conversation. A registered person's copy carries a link that signs them in to the inbox and opens that conversation; it works once, for 24 hours. A conversation has one open handoff, so a customer who asks again before anyone has handled it mails nobody twice. Until your workspace's address is confirmed, mail to anyone but that address waits for the confirmation, as every mail to a third party does. The Assistant page of the console shows, beside the handoff message, exactly who would be mailed and warns when nothing would receive a handoff (GET /v1/handoffs/routing).

What the customer sees

The chat response carries handoff beside the blocks:

{
  "blocks": [
    { "type": "text", "id": "handoff_1", "variant": "body",
      "markdown": "I have passed this conversation to the team, and a member of staff will see it. If you would like them to get back to you, leave a phone number or an email address." }
  ],
  "session_id": "0f2c8b41-6d3e-4a19-9c77-1b2a3e4f5d60",
  "pending_actions": [],
  "handoff": {
    "trigger": "customer_request",
    "message": "I have passed this conversation to the team, and a member of staff will see it. If you would like them to get back to you, leave a phone number or an email address.",
    "language": "en",
    "offerContact": true
  }
}

message is the handoffMessage from your domain pack. Without one it is Tether's own, in the language the request was recognised in (ka, ka-Latn, ru or en; for an agent handoff, the language Tether read in the prompt, Georgian typed in Latin letters included, and English for any other), following the turn's reply language. It depends on what the handoff reaches:

The handoffTether's message says
Reaches someone, and the customer is identified (a verified customer) or a member of staffThe conversation was passed to the team, and a member of staff will see it
Reaches someone, and the visitor is not identifiedThe same, and that they may leave a phone number or an email address if they would like to be contacted. offerContact is true
Reaches nobody: no webhook or tool endpoint, and nobody to mailThat no member of staff can be reached from the chat, and to contact the business directly. It promises no contact

None of them promises a time or a channel, because Tether cannot know them, and the model's own answer is told the same. The Georgian, Latin-typed Georgian and Russian text awaits a native speaker's review. Set your own, which is used in every language and whatever the handoff reaches:

curl -X PUT $TETHER_URL/v1/domain-pack \
  -H "X-Api-Key: $TETHER_SECRET_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "handoffMessage": "ჩვენი გუნდი ამ საუბარს ნახავს. Our team will see this conversation. For anything urgent, call 032 2 00 00 00." }'

Promise only what your team does: the console warns you when nothing would receive a handoff.

On a customer_request handoff the message is also the answer's only text block, so a renderer that does not know handoff still shows it. The widget shows it once, set apart from the answer, offers the optional phone and email fields when offerContact is true (POST /v1/chat/contact), and raises tether-handoff on the element so your page can open its own contact channel. On the stream, handoff is inside the complete frame's raw document.

In the inbox

The approval inbox lists each open handoff under Needs a person with its conversation, and Mark handled records who took it and when, for everyone at the business. Your own systems read and close them with the secret key: GET /v1/handoffs and POST /v1/handoffs/{id}/handled.

Replying in the chat

A person can answer the customer where they asked, in the widget. Write in the reply box under the conversation in the inbox, or send it with POST /v1/handoffs/{id}/messages. The first reply takes the conversation live: the widget shows that someone from the team joined, by their display name, and shows each reply apart from the assistant's answers, as plain text. Until someone marks the handoff handled, what the customer writes goes to the person and the assistant does not answer. The inbox refreshes the conversation every few seconds, and the widget checks for replies every few seconds while the handoff is open, so a reply arrives a few seconds after it is sent.

Mark handled ends the chat. The widget says the conversation with the team has ended, and the assistant answers the next message, with the person's replies in what it reads as the business speaking.

This is one person answering one conversation. There are no queues, assignment, typing indicators or ticket states. If your team works in its own support tool, take the conversation.handoff event there instead.

What your system receives

A signed conversation.handoff event, posted to your events webhook, else your tool endpoint, with the same signature, timestamp and idempotency headers as a tool call:

{
  "event": "conversation.handoff",
  "session_id": "0f2c8b41-6d3e-4a19-9c77-1b2a3e4f5d60",
  "trigger": "agent",
  "language": "ka",
  "tenant": { "organization_id": 42, "scope_id": null, "user_id": 0 },
  "customer": { "id": "G1" },
  "request_id": "6ad75e9b73bd464ba811bf88e449495a",
  "reason": "The guest wants a refund to their card, which no capability offers."
}

session_id is the conversation to pick up. customer is the verified customer, or null when the turn had none; it is never taken from the conversation. reason is the model's one sentence on an agent handoff, and like any model output it is a hint, not an instruction. There is no action_id, no tool and no arguments: acknowledge it with a 2xx and run nothing. The SDKs hand it to onEvent with the action events.

On an unverified_outcome handoff, session_id is the conversation that staged the write, or null when it was staged directly with POST /v1/actions; language is null, because the customer was shown no message; customer is the action's customer; and reason names the action and what the read found. The action.unverified event for the same action arrives beside it, with its action_id.

tether.createHandler({
  secret: process.env.TETHER_SECRET,
  tools,
  onEvent: async (event) => {
    if (event.event === 'conversation.handoff') await openTicket(event.session_id, event.customer)
  },
})

What is recorded

Each handoff is a record of your workspace with its trigger, language, reason, verified customer, any contact left, and who handled it and when. It is deleted with your workspace and, like the conversation, after a year. The turn's telemetry records the trigger and the language (meta.explain.handoff with X-Tether-Explain: 1), and the conversation history stores the answer with its handoff. A customer_request turn records result_path: "handoff" and model none. An unverified_outcome handoff is recorded as the action's unverified event in the audit, is on the confirm response and GET /v1/actions as verification.handoff, and is listed and mailed like any other handoff, with the action's id.