https://retellai.com/?utm_source=discord&utm_medium=seo logo
I did some testing with Retell AI and even did a b...
# ❓・ai-evy-support
r
@AI Evy I did some testing with Retell AI and even did a batch call test but AI is not reading exactly the details I put in Dynamic Variable 2 and Dynamic Variable 1
a
Thanks for tagging me @RD Nayanga. I'll look through relevant sources and get back to you shortly.
### Answer Here are some troubleshooting steps for dynamic variables not being read correctly: 1. Check your call history data Go to your call log and check the "data" section to verify the dynamic variables were actually passed. [(1) ](

▾

) If the values aren't showing there, they weren't properly sent to the call. 2. Verify variable naming matches exactly Ensure the variable names in your prompt (e.g.,
{{variable_name}}
) match exactly what you're passing in
retell_llm_dynamic_variables
. Spelling and casing must be identical. [(2) ]() 3. Confirm all values are strings All values in
retell_llm_dynamic_variables
must be strings—numbers, booleans, or other data types are not supported. 4. Test with a simple agent first Create a basic test where the agent simply speaks the dynamic variable values back to confirm they're being received. [(3) ]() Then add complexity to identify where the issue occurs. 5. Check for default variables If you have default dynamic variables set at the agent level, they serve as a fallback and will only be used when specific variables aren't included in the call request. [(2) ]() 6. Handling missing variables When a dynamic variable has no assigned value, it remains in its raw form with curly braces intact (e.g., the agent would literally say "Hello {{user_name}}") . Can you check your call history data to confirm the variables are being passed correctly? That's usually the first place to identify where the issue is occurring.
​ To learn more, see the sources I considered: [[1] Master The Future of Voice AI - Conversation Design & Agent Persona](

https://www.youtube.com/watch?v=42V0bDQIsb0▾

) [[2] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) [[3] Dynamic Variables](https://discord.com/channels/1186424376300679209/1356680357084135558) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.