https://retellai.com/?utm_source=discord&utm_medium=seo logo
Hey , I'm having an issue where my end_call_webho...
# ❓・ai-evy-support
d
Hey @AI Evy , I'm having an issue where my end_call_webhook_url doesn't seem to be firing after a call ends. I've already confirmed my n8n webhook URL is live and reachable from the internet. Has anyone else run into this or have any ideas what to check on the Retell AI side?
a
Thanks for tagging me @danny_saurus_88091. I'll look through relevant sources and get back to you shortly.
### Answer --- Based on the sources, here are several things to check when your
call_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) ](
98267780482207874) . Look for lines like "Webhook triggered for call_ended" and any error messages that follow . SSL certificate issues can prevent webhooks from firing . Filter for Specific Events in n8n In n8n, you may need to filter specifically for the
call_ended
event type [(5) ]() . The webhook receives all three event types, so you'll need to handle them appropriately in your workflow .
​ To learn more, see the sources I considered: [[1] Issue with end_call webhook not being received in N8N](https://discord.com/channels/1186424376300679209/1382070123661361295) [[2] Webhook Overview](https://docs.retellai.com/features/webhook-overview) [[3] Create Agent](https://docs.retellai.com/api-references/create-agent) [[4] [URGENT] Need to enable webhook for Phone Call](https://discord.com/channels/1186424376300679209/1398267780482207874) [[5] Discord message from @coronavirus.ai on 2025-03-03](https://discord.com/channels/1186424376300679209/1294891368505937952/1346042234679857244) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.