Skip to content

Conversation Routed to Human
Webhook

Request

Triggered when a Conversation moves from AI handling to human handling in 3Chat. 3Chat delivers this outbound event to the HTTPS webhook URL configured by the developer.

Prerequisites

Create a Webhook application in Open Platform → Webhook, configure its receiving URL, and subscribe to BUTLER_CONVERSATION_ROUTED_TO_PERSON.

Review Conversation Created or Conversation Updated first if you are not familiar with the Conversation lifecycle.

When is this event triggered?

Common escalation scenarios include:

  1. The Contact requests human assistance. The AI recognizes an escalation request, based on the intent rules configured in Guidance, and routes the Conversation to a human agent.
  2. A third-party system escalates the Conversation. The system calls the Escalate to Human OpenAPI operation.

After escalation, the AI stops replying, the Conversation enters human-handled mode, and this event notifies subscribed systems of the transition.

Headers
TENANT_IDstringrequired

ID of the tenant associated with this event.

Example:aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee
STAFF_IDstring

ID of the staff member associated with the event, when applicable.

Example:123123
x-nct-timestringrequired

Timestamp when the event was generated.

Example:1750351569887
business-typestringrequired

Business type code for the Conversation Routed to Human event.

Example:15002
Value:"15002"
Bodyapplication/jsonrequired

JSON payload delivered to the configured webhook URL.

requestIdstring, (uuid)required

Unique identifier for this webhook delivery.

Example:"f91692b3-f35c-4f3d-b398-e6f34491d3ce"
businessTypeintegerrequired

Business type code. The value is 15002 for Conversation Routed to Human.

Example:15002
Value:15002
dataobject(ConversationWebhookData)required

The Conversation record included in the webhook event.

Example:
{ "summary": "The contact asked about the Xiaomi 15 experience and purchasing options. The AI gathered the contact’s priorities, escalated the Conversation to a human agent, and confirmed the contact details for follow-up.", "convStatus": 3, "updatedTime": 1765466070910, "completedTime": 1765466070908, "replyStrategy": 2, "solved": false, "sessionId": { "id": "mz43k5my686kjsfkfpzqkup6", "viewKey": "butlerSession" }, "lookup_3g71fgh5f5": "Zhang San", "dataId": "uu5cha880vvk8tbw6e4hmv0i", "userAccountId": "2ce63138-344c-40fe-976b-8f19d3d3d2fa", "extendMap": {}, "createdTime": 1765465932005, "lookup_h70b811f83": 102, "id": "1448693862208901600", "visitorId": { "id": "ailfxvj0qyhbyy5vryljrz4k", "viewKey": "butlerVisitor" } }
Payload
{ "requestId": "f91692b3-f35c-4f3d-b398-e6f34491d3ce", "businessType": 15002, "data": { "summary": "The contact asked about the Xiaomi 15 experience and purchasing options. The AI gathered the contact’s priorities, escalated the Conversation to a human agent, and confirmed the contact details for follow-up.", "convStatus": 3, "updatedTime": 1765466070910, "completedTime": 1765466070908, "replyStrategy": 2, "solved": false, "sessionId": { … }, "lookup_3g71fgh5f5": "Zhang San", "dataId": "uu5cha880vvk8tbw6e4hmv0i", "userAccountId": "2ce63138-344c-40fe-976b-8f19d3d3d2fa", "extendMap": {}, "createdTime": 1765465932005, "lookup_h70b811f83": 102, "id": "1448693862208901600", "visitorId": { … } } }

Responses

Webhook event received successfully.