https://retellai.com/?utm_source=discord&utm_medium=seo logo
are dynamic variables working
# ❓・ai-evy-support
z
@AI Evy are dynamic variables working? struggling
a
Thanks for tagging me @ZubairBuilds. I'll look through relevant sources and get back to you shortly.
### Answer Dynamic variables should be working. Here are common issues and solutions: Syntax Check - Variables must use double curly braces:
{{variable_name}}
, not single
{variable_name}
[(1) ]() - Spaces around the variable name are trimmed when evaluating [(2) ]() For Outbound Calls Set variables in the
retell_llm_dynamic_variables
field when using the Create Phone Call API, with all values as strings For Inbound Calls Supply dynamic variables in the Inbound Call Webhook Common Troubleshooting - If using a static first message like "Hello {{name}}", make it a static sentence instead of a prompt to ensure it renders correctly [(3) ]() - Check that variables are properly passed in your API request - all values in
retell_llm_dynamic_variables
must be strings [(2) ]() - For transferred calls, you may need to explicitly pass dynamic variables or retrieve them via an inbound webhook in the receiving agent [(4) ]() Testing Test your dynamic variables using the web interface before deploying [(2) ]() If you're still having issues, can you share: - The exact syntax you're using for the variable - Whether it's an inbound or outbound call - A call ID if you have one
​ To learn more, see the sources I considered: [[1] Issue with Global Variables Not Passing in Query Parameters for Custom Function Tool](https://community.retellai.com/t/issue-with-global-variables-not-passing-in-query-parameters-for-custom-function-tool/773) [[2] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) [[3] Dynamic Variables Not Working](https://discord.com/channels/1186424376300679209/1475619955251613897) [[4] {{user_number}} - system dynamic value is not working after chat transferred another agent](https://community.retellai.com/t/user-number-system-dynamic-value-is-not-working-after-chat-transferred-another-agent/730) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
z
testing in dashboard is tricky
@AI Evy feels like it isnt working when testing in dashboard;
a
Thanks for the follow-up, @ZubairBuilds. I'll get back to you soon.
### Answer --- When testing dynamic variables in the dashboard, you need to enter them in the test interface [(1) ]() . The LLM Playground allows you to test dynamic variables before deploying . Key steps for dashboard testing: 1. Navigate to your agent's detail page 2. Click on the "Test LLM" tab 3. Choose "Manual Chat" [(2) ]() When testing, the agent will automatically pull in the dynamic variables you've set in the agent configuration [(3) ]() . You can also enter dynamic variables when sending a test call directly from the platform to simulate real scenarios . Common dashboard issues: There have been reports of UI issues where key-value pairs for dynamic variables disappear when entered in the dashboard [(4) ]() . This can happen due to validation issues or browser conflicts . If you're experiencing this, try: - Using a different browser (Brave's shield settings can interfere with form submissions) - Ensuring you hit save/enter after typing both the key and value - Checking that variables are defined in agent settings first [(5) ]() Verification: After testing, check the "Data" tab to confirm extracted dynamic variables are showing up . If they show "No Extracted Dynamic Variables," the variables aren't being properly passed . Can you share which specific part of the dashboard testing isn't working - is it entering the variables, or are they not appearing in the agent's responses?
​ To learn more, see the sources I considered: [[1] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) [[2] Manually test your agent](https://docs.retellai.com/test/llm-playground) [[3] Platform Changelogs | Retell AI](https://www.retellai.com/changelog) [[4] Discord message from @abhinav24934851 on 2025-12-21](https://discord.com/channels/1186424376300679209/1186462578310910112/1452224950302806148) [[5] Inbound webhook returns retell_llm_dynamic_variables but agent doesn't receive them](https://community.retellai.com/t/inbound-webhook-returns-retell-llm-dynamic-variables-but-agent-doesnt-receive-them/733) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
z
For those wondering, the responsiveness of that page is subtly weird. especially when you have many variables. dont easily see the save button when testing with lots of variables