Skip to content

Escalation

When the assistant cannot help, or the visitor asks for a person, the model calls escalateToSupport { reason, escalateToSecondLine }. It is available when escalation is enabled in Settings. Pick a provider: your own webhook (any helpdesk, Zapier, e-mail) or the built-in Trello connector.

A conversation handed over to the support team with a ticket number

Settings → Escalation (or PATCH /v1/admin/tenant { escalation: { enabled, provider, webhookUrl, secret, trello } }). provider is webhook (default) or trello. The secret signs escalation calls, order look-ups and your tools; the API never returns it (••••).

Every escalation becomes a card at the top of one list. Configure trello: { apiKey, token, listId, labelIds?, memberIds? } — get the key and token from the Trello power-up admin, the list id from the list’s menu (or the board JSON). Key and token are stored encrypted and returned masked. Send test card in the admin creates a sample card so you can check the credentials.

The card title is [<assistant name>] <reason>. Its description holds the visitor (id, signed-in user id), channel, the host context (for example the page the visitor was on), classification, summary, a link to the conversation in the admin and the transcript, cut to Trello’s 16,384-character limit. The card’s short link becomes the ticket shown to the visitor.

After the turn, the server POSTs to webhookUrl (10-second timeout, no retry), signed:

{
"event": "conversation.escalated",
"tenantId": "…",
"reason": "Damaged item, wants a replacement",
"secondLine": false,
"classification": { "categories": ["returns"], "intents": ["issue"] },
"conversation": {
"id": "…",
"channel": "web",
"startedAt": "2026-10-09T09:12:00.000Z",
"summary": "…",
"transcript": [{ "role": "user", "text": "…" }],
"transcriptHtml": "<p>…</p>"
},
"visitor": { "visitorId": "…", "externalUserId": "42", "context": { } }
}

The HTML transcript is cut at 60,000 characters. Respond with:

{ "ticketRef": "TCK-1042", "ticketUrl": "https://help.example.com/tickets/1042" }

Both fields are optional. The conversation becomes escalated, the ticket is stored, and the widget shows it through data-helpvane-escalation. A conversation that already has a ticket returns the existing ticket instead of calling again.

If escalation is disabled, or the call fails, the conversation is still marked escalated with delivered: false, so you can find it in Conversations.

Bundled skills include escalation steps (for example after failed troubleshooting). Add your own rule to the business profile’s standing instructions, such as “Hand over every complaint about a damaged product”. escalateToSecondLine is meant for skills that explicitly call for a specialist team.

Zapier, Make and most help desks can receive the webhook directly. Verify the signature where your tool allows it.