Analyze conversation
Call this API to trigger GenerativeAgent to analyze and respond to a conversation.
This API should be called after a customer sends a message while not speaking with a live agent. The Bot replies will not be returned on this request; they will be delivered asynchronously via the webhook callback.
This API also adds an optional message field to create a message for a given conversation before triggering the bot replies. The message object is the exact same message used in the conversations API /message endpoint
Body
The parameters for triggering the analysis and response to a conversation
Internal conversation identifier from ASAPP
Input variables to be used as context in the analysis.
Represents a single message within a conversation.
The id associated with the connection where the responses should be sent to.
Name of the task to be used in the analysis
Was this page helpful?