broad-salmonB

End of Call reports- Webhook error

Hi I am building a Pre Screening Agent for HR Operations. The aim of the agent is to ask a set of questions and analyse if the candidate has answered them.
The success criteria of this would be to recieve the end of call report and analyse the transcript.
I am using n8n to automate the end of call report processing.
The call is triggered by another workflow using the create a call endpoint.
This is the body of the request I am passing :
"
{
"assistantId": "13067937-87e8-442a-a3e6-e061681ea218",
"phoneNumberId": "e3422f3e-0298-4eaf-978f-743d1a385c07",
"customer": {
"name": "{{ $('Edit Fields').item.json.name }}",
"number": "+61452610979"
},
"assistantOverrides": {
"firstMessageMode": "assistant-speaks-first",
"serverMessages":["end-of-call-report", "transcript"],
"variableValues": {
"candidateName": "Alex Lin",
"roleTitle": "Traffic Controller",
"companyName": "Talent Vision 360"
},
"endCallPhrases": ["goodbye", "thank you goodbye", "that's all", "end call", "bye"]
}
}
"

I have also added the webhook url in the messaging tab.

Please help me solve this

thanks

orgid:737c4ec2-3cfb-48df-bf6b-25a0edc4d53d
assistantId: 13067937-87e8-442a-a3e6-e061681ea218
Was this page helpful?