https://retellai.com/?utm_source=discord&utm_medium=seo logo
Hi @hereI hope this email finds you well
# ❓・ai-evy-support
n
Hi @AI Evy @here I hope this email finds you well. I am writing to bring to your attention an issue we are currently facing with the webhook events for our AI voice agent. I have set up an AI voice agent which can be accessed here: https://dashboard.retellai.com/agents/agent_5e8672f7a8354c11bea8793fd0. We have configured a webhook that listens for the 'call_analyzed' event. This webhook extracts useful information such as the summary, caller info, etc., from the webhook response and subsequently triggers an email to our client, as we have a mapping of agents with our clients. However, when I use the 'test your agent' feature on the agent details page (https://dashboard.retellai.com/agents/agent_5e8672f7a8354c11bea8793fd0), I receive the webhook event for 'web_call' without any issues. Unfortunately, for 'phone_call', we do not receive any webhook events. Agent ID : agent_5e8672f7a8354c11bea8793fd0. Could you please look into this issue and provide assistance? Your help in resolving this matter would be greatly appreciated. Thanks, Nandan
a
Thanks for tagging me @nandanpandey_39378. I'll look through relevant sources and get back to you shortly.
### Answer Based on the webhook documentation, there's an important detail about webhook event triggering that might explain your issue [(1) ]() . According to the webhook specifications, when a call does not connect (such as calls with
dial_failed
,
dial_no_answer
, or
dial_busy
disconnection reasons) , the
call_started
webhook event will not be triggered . However, both the
call_ended
and
call_analyzed
webhook events should still be triggered even for calls that don't connect . The webhook has specific behavior requirements : - The webhook will
POST
the payload to your endpoint with a timeout of 10 seconds - If no success status (2xx) is received within 10 seconds, the webhook will be retried up to 3 times - Webhooks are triggered in order but are not blocking For the
call_analyzed
event specifically, it's triggered when call analysis is complete and includes the full call data including the
call_analysis
object . A few troubleshooting steps to consider: 1. Verify your webhook endpoint is responding with a 2xx status code within 10 seconds 2. Check if the phone calls are completing successfully or encountering disconnection issues 3. Ensure your webhook URL is correctly configured for the agent For direct support with your specific agent configuration, you can: - Visit [Contact Sales]() - Visit [) Would you like a general answer based on my knowledge instead?
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] Webhook Overview](https://docs.retellai.com/features/webhook-overview) ​
n
for 'web_call' webhook is working fine, the issue is only with the 'phone_call' events
@User ☝️
o
Publish the agent and try again.