https://retellai.com/?utm_source=discord&utm_medium=seo logo
Why doesn’t my agent include "retell_llm_dynamic_v...
# ❓・ai-evy-support
d
@AI Evy Why doesn’t my agent include "retell_llm_dynamic_variables" in the Post Call analysis that’s sent to the webhook?
a
Thanks for tagging me @dropsofsteel. I'll look through relevant sources and get back to you shortly.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
### Answer Based on the webhook documentation,
retell_llm_dynamic_variables
should be included in webhook event payloads [(1) ]() . The webhook payload example shows it as part of the call object :
Copy code
json
{
 "event": "call_ended",
 "call": {
   ...
   "retell_llm_dynamic_variables": {
     "customer_name": "John Doe"
   },
   ...
 }
}
However, there's an important note: if
retell_llm_dynamic_variables
are not provided when creating the call, they will be omitted from the webhook event payload . To ensure
retell_llm_dynamic_variables
appear in your webhook: 1. Make sure you're passing them when creating the call via the
retell_llm_dynamic_variables
field [(2) ]() 2. All values must be strings - numbers, booleans, or other data types are not supported [(3) ]() [(4) ]() If you're still not seeing them in the webhook despite providing them, check that: - You're examining the
call_ended
or
call_analyzed
webhook events (not just
call_started
) [(1) ]() - The variables were successfully set when the call was created [(2) ]()
​ To learn more, see the sources I considered: [[1] Webhook Overview](https://docs.retellai.com/features/webhook-overview) [[2] Register Phone Call](https://docs.retellai.com/api-references/register-phone-call) [[3] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) [[4] Dynamic Variables via inbound webhook break if non-string values are sent](https://discord.com/channels/1186424376300679209/1420429628979282011) ​