Chatbot context
Context key | Description | Source |
---|---|---|
context.customer.email | Email address that the customer used to send the request. | Customer (only email) |
context.customerRequest.browserUrl | URL recorded when customer submits response via chat. | Customer (only chat) |
context.customerRequest.subject | Subject of the last customer's request | Customer (only email) |
context.customerRequest.text | Text of the last customer's request | Customer |
context.chatgpt.response | Chatbot GPT's message (response) on customer's request. | Chat GPT |
context.chatgpt.httpStatus | Http status code of response from chat GPT API | Chat GPT |
context.chatgpt.error | true / false, true in case request on chat GPT API fails | Chat GPT |
context.apiCall.body | A response data from custom remote API call | Make API Call |
context.apiCall.httpStatus | Htttp status code of reponse from remote API | Make API Call |
context.apiCall.error | true / false, true in case request on remote API fails | Make API Call |
context.{input name} | Value provided by customer in Wait for customer input bubble. If validations are enabled for the input, the default name for the validation will be used automatically, for example: context.email | Wait for customer input |
Updated 10 months ago