End of Session
Triggered when all retry attempts to dial a customer have finished.
Payload
{
"customer": {
"name": "Name",
"phoneNumber": "+525581354511"
},
"variableValues": {
"myVar": "myVariable"
},
"totalAttempts": 3,
"endedReason": "transfered-call | user-not-contacted | user-contacted",
"analysis": {
"successEvaluation": true,
"structuredData": {
"myData": "myValueFromCall"
}
}
}
Main fields
| Field | Type | Description |
|---|---|---|
customer.name | string | Customer name |
customer.phoneNumber | string | Customer phone number |
variableValues | object | Input variables provided for the session |
totalAttempts | integer | Total number of dial attempts |
endedReason | string | End reason (transfered-call, user-not-contacted, user-contacted) |
analysis.successEvaluation | boolean | Whether success criteria was met |
analysis.structuredData | object | Output variables and extracted values |