Webhooks and escalation
Webhooks
The way your AI communicates with external enterprise systems is using webhooks. A webhook is a way for a system or app to provide another system or platform with real-time data in JSON, XML, or form-encoded serialization. Mind Expression is currently only allowing JSON as a standard data interchange format. The main purpose of a webhook is for data integration between our platform and the enterprise's backend system using a service URL.
Webhooks pertaining to a Scope require configuration to become available to a Subject. Preconfigured webhooks will be used when configuring a Subject for response message manipulation. Currently, Mind Expression supports both HTTP and HTTPS protocols, and Basic Authentication for security authentication mechanisms. You can also manipulate the HTTP headers of the webhook. Mustache template will be used to manipulate a JSON template in the form of a DSL (Domain Specific Language), or to build a GET URL (query Parameter or resource URI). JSONPath will be used to parse data from the JSON payload.
Escalation
Using an escalation URL, which is an optional webhook, you can send the entire chat script to your enterprise backend system to the human agent on the escalation in case of unsuccessful session termination.
On escalation, Mind Expression sends the entire chat script to the escalation webhook endpoint. The sample JSON schema is as follows.
Subjects
Name
What subject the escalation happens
HTTP-headers
The same HTTP header that was sent on conversation API from the enterprise system
Conversation-id
A unique identifier to distinguish between conversations for your reference
Conversations
User
A query from the customer
AI
The response from Mind Expression
To learn more about how to set up webhook and escalation, see How-to Guides: Set up webhook and escalation.
Last updated