Evaluate whether a call needs escalation
Analyzes the current conversation context and determines if escalation to a human is needed.
POST
Analyzes the current conversation context and determines if escalation to a human is needed.
Request body
AutomationPayload
string,null
Twilio call SID
string,null
Customer phone number in E.164 format
object
Optional workflow-specific metadata
string,null
Human-readable workflow reason or note
string,null
Voice session identifier when the automation is tied to a persisted session
string,null
Destination phone number or escalation target
Response
AutomationResponse
string,null
Error message (present on failure)
boolean
required
Whether the automation executed successfully
object
Result payload returned by the function (present on success)