https://retellai.com/?utm_source=discord&utm_medium=seo logo
Subject: Post-Call Analysis webhook not firing for...
# ❓・ai-evy-support
t
@AI Evy Subject: Post-Call Analysis webhook not firing for phone calls (works for web calls) Hi Retell team, We’re seeing a discrepancy with call_analyzed webhooks: For web calls, the webhook fires correctly (n8n receives the payload). For phone calls (PSTN), the webhook is not delivered at all. We confirmed: The webhook URL in the Agent → Webhook Settings is correct. n8n is active and receives other webhooks in the same workflow. Using a unique path, responding immediately with 200 OK. With a neutral collector (webhook.site), web calls arrive, phone calls do not. Could there be an integration override (e.g., ChatDash / phone number routing) or a separate agent/version used for the phone call path that bypasses the agent-level webhook? Please advise how to ensure call_analyzed is emitted for phone calls as well. Thanks!
a
Thanks for tagging me @ts8466. I'll look through relevant sources and get back to you shortly.
### Answer The call_analyzed webhook is designed to be triggered for both web and phone (PSTN) calls, provided the agent is configured correctly and the call session completes successfully [(1) ]() [(2) ]() [(3) ]() [(4) ]() [(5) ]() . If you are receiving call_analyzed events for web calls but not for phone calls, here are some possible causes and checks based on the documentation: 1. **Agent Assignment**: Make sure the phone number used for the PSTN call is assigned to the same agent that has the webhook configured. If the phone number is bound to a different agent or version, the webhook may not fire as expected for phone calls [(5) ]() . 2. **Webhook Configuration**: The webhook_url must be set at the agent level. If set, this overrides the account-level webhook for that agent, and all call events (including call_analyzed) are sent to the specified URL [(2) ]() [(3) ]() [(6) ]() . 3. **Call Completion**: The call_analyzed webhook is only sent after the call completes and the agent session finishes successfully. If the phone call fails to connect or is rejected, the webhook will not be triggered [(1) ]() [(5) ]() . 4. **Event Delivery**: The webhook will POST the payload to your endpoint and expects a 2xx response within 10 seconds. It retrie
s up to 3 times if not acknowledged [(1) ]() . 5. **Payload Content**: The payload for call_analyzed includes full call data, including call_id and call_analysis, which is consistent for both web and phone calls when the webhook is triggered [(1) ]() [(4) ]() [(5) ]() . Action items: - Double-check that the phone number is assigned to the correct agent in your dashboard. - Confirm that the agent handling phone calls has the webhook_url set and matches your expected configuration. - Verify that the phone call completes successfully (not rejected, failed, or disconnected before agent session finishes) . - If using multiple agent versions or routing (e.g., through ChatDash or custom routing) , confirm which agent is actually handling the phone call. If all these checks pass and the issue persists, you may want to review recent call logs for failed or missing call_analyzed events to help diagnose further.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.