https://retellai.com/?utm_source=discord&utm_medium=seo logo
Why is the call_end webhook called sometimes befor...
# ❓・ai-evy-support
m
@AI Evy Why is the call_end webhook called sometimes before and after the call analyzed webhook
a
Thanks for tagging me @Mikey. I'll look through relevant sources and get back to you shortly.
### Answer The
call_ended
webhook is triggered when a call completes, while
call_analyzed
is triggered when post-call analysis finishes. [(1) ]() These are separate events that happen asynchronously: -
call_ended
fires immediately when the call terminates -
call_analyzed
fires after the analysis processing completes (which takes additional time) The webhooks are not blocking — meaning they're triggered in order but don't wait for each other to succeed. So
call_ended
should typically fire first, then
call_analyzed
follows once analysis is ready. If you're seeing
call_analyzed
arrive before
call_ended
in some cases, this could be due to network latency or processing timing on your webhook endpoint. Additionally,
call_analyzed
can be triggered multiple times, while
call_ended
is only triggered once. [(2) ]() A few important notes: - Post-call analysis variables are only available in the
call_analyzed
webhook, not in
call_ended
[(3) ]() - If you need guaranteed single delivery with analysis data, you can use
call_ended
and then fetch analysis via the Get Call API [(4) ]()
​ To learn more, see the sources I considered: [[1] Webhook Overview](https://docs.retellai.com/features/webhook-overview) [[2] call_analyzed webhook triggered multiple times](https://discord.com/channels/1186424376300679209/1408550487216750634) [[3] Discord message from @heavenly.rain on 2025-08-25](https://discord.com/channels/1186424376300679209/1186462578310910112/1409343556870471732) [[4] 2 call_analysis reports send to webhooks randomly by agent. Call ID: call_d9f31a1ac47a3df614f8244ca6](https://discord.com/channels/1186424376300679209/1425245575598571580) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.