danny_saurus_88091
10/09/2025, 7:14 PMAI Evy
10/09/2025, 7:14 PMAI Evy
10/09/2025, 7:15 PMcall_ended webhook isn't firing:
Use the Production URL in n8n
With n8n, you need to use the production webhook URL, not the test URL [(1) ]() . The test URL only catches the first webhook, so switch to your production link and ensure the workflow is saved and active .
Verify Webhook Configuration Location
You can set webhooks at two levels [(2) ]() [(3) ]() :
- **Agent level**: Set the webhook_url field when creating or updating an agent [(3) ]()
- **Account level**: Configure in your dashboard settings
If you set an agent-level webhook, it will override the account-level webhook for that specific agent .
Check Webhook Timeout Settings
The webhook has a default timeout of 10 seconds [(2) ]() . If your endpoint doesn't return a success status (2xx) within 10 seconds, the webhook will retry up to 3 times . You can adjust this using the webhook_timeout_ms parameter when creating your agent [(3) ]() .
Understand Webhook Event Order
Retell AI triggers three webhook events in order [(2) ]() :
1. call_started - when the call begins
2. call_ended - when the call completes
3. call_analyzed - when call analysis is complete
The webhooks are triggered in order but are non-blocking, meaning if call_started fails, call_ended can still be triggered .
Review Detail Logs
Check your call's detail logs in the Retell AI dashboard [(4) ](AI Evy
10/09/2025, 7:15 PMcall_ended event type [(5) ]() . The webhook receives all three event types, so you'll need to handle them appropriately in your workflow .AI Evy
10/09/2025, 7:15 PMAI Evy
10/09/2025, 7:15 PM