https://retellai.com/?utm_source=discord&utm_medium=seo logo
In my automation, I trigger a call
# ❓・ai-evy-support
m
@AI Evy In my automation, I trigger a call. when this first call finishis, I get the 3 webhook events, call_started, call_ended, and call_analyzed. On the call_analyzed event, i trigger a second call. But then, when the second call finished, I've noticed that I only get call_started and call_ended events, but not call analyzed. Why ?
a
Thanks for tagging me @matt_apollodev. I'll look through relevant sources and get back to you shortly.
### Answer The documentation states that you should receive three webhook events for each call: call_started, call_ended, and call_analyzed, as long as the call connects and there is a conversation [(1) ]() [(2) ]() . However, for non-connected calls or calls where no conversation happened, the call_analyzed event and its fields may not be populated or sent [(2) ]() . Additionally, there are community reports that sometimes the call_analyzed webhook may not be sent for all calls, especially if the request payload is too large or if there is an issue with the receiving server (such as rejecting large payloads) [(3) ]() . Another report suggests the call_analyzed webhook can be sent multiple times or not at all in some edge cases [(4) ]() . You can always retrieve the analysis data programmatically using the Get Call API, which will include the call_analysis field if it is available [(5) ]() [(2) ]() . If you consistently do not receive call_analyzed for the second call, check: - That the second call was fully connected and had a conversation [(2) ]() . - That your webhook endpoint can accept the payload size and responds with a 2xx status within 10 seconds [(1) ]() [(3) ]() . - You may want to fetch the call via the Get Call API as a fallback to see if the
analysis was completed [(5) ]() [(4) ]() [(2) ]() .
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) [[2] Consume the analysis data](https://docs.retellai.com/features/post-call-analysis-consumption) [[3] Call_Analyzed webhook event not working reliably for longer calls](https://discord.com/channels/1186424376300679209/1400191602206576790) [[4] 2 call_analysis reports send to webhooks randomly by agent. Call ID: call_d9f31a1ac47a3df614f8244ca6](https://discord.com/channels/1186424376300679209/1425245575598571580) [[5] Get Call](https://docs.retellai.com/api-references/get-call) ​