Skip to main content

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

FieldTypeDescription
customer.namestringCustomer name
customer.phoneNumberstringCustomer phone number
variableValuesobjectInput variables provided for the session
totalAttemptsintegerTotal number of dial attempts
endedReasonstringEnd reason (transfered-call, user-not-contacted, user-contacted)
analysis.successEvaluationbooleanWhether success criteria was met
analysis.structuredDataobjectOutput variables and extracted values