https://retellai.com/?utm_source=discord&utm_medium=seo logo
The webhook isn't listening to N8N's workflow
# ❓・ai-evy-support
k
@AI Evy The webhook isn't listening to N8N's workflow.
a
Thanks for tagging me @katecardenas_67927. I'll look through relevant sources and get back to you shortly.
### Answer Based on the sources, there are several common issues when webhooks aren't working with N8N workflows: For Inbound Call Webhooks: Your webhook handler must respond immediately with a 200 status code [(1) ]() . The webhook has a timeout of 10 seconds, and if no success status (2xx) is received within that timeframe, it will be retried up to 3 times [(2) ]() . Key troubleshooting steps: 1. **Configure immediate response**: Your N8N webhook should respond immediately with a 200 OK status, potentially with an override agent ID, then launch your workflow asynchronously [(3) ]() . 2. **Check webhook execution**: In N8N test mode, the webhook only works for one call after you click the "Execute workflow" button . 3. **Verify production URL**: Make sure you're using the production link in N8N, not the test URL [(4) ]() . 4. **Ensure proper method**: Confirm both your Retell AI webhook configuration and N8N webhook are using the same HTTP method (typically POST) . 5. **Set last node properly**: In N8N, make sure it's set to "last node finishes" . **Common issue**: If your N8N workflow includes wait nodes or delays before responding, Retell AI will timeout and retry the webhook. Remove any wait nodes from the response path and handle delays asynchronously after sending the initial 200 response [(3) ]() . The webhook will POST the payload to your endpoint and expects an immediate response for the call to proceed properly [(2) ]() .
​ To learn more, see the sources I considered: [[1] Inbound call webhook](https://docs.retellai.com/features/inbound-call-webhook) [[2] Webhook Overview](https://docs.retellai.com/features/webhook-overview) [[3] agent is not waiting for inbound response](https://discord.com/channels/1186424376300679209/1399757938532552704) [[4] Calling n8n webhook from custom function not working](https://discord.com/channels/1186424376300679209/1391268662849306656) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.