https://retellai.com/?utm_source=discord&utm_medium=seo logo
, I was trying to set up the dynamic variables for...
# ❓・ai-evy-support
a
@AI Evy, I was trying to set up the dynamic variables for my voice agent but it doesn't work. everytime I save the variables and re-open the dynamic variables section, it goes back to default
a
Thanks for tagging me @abiedc. I'll look through relevant sources and get back to you shortly.
​ To learn more, see the sources I considered: [[1] Discord message from @.franklinli on 2025-09-05](https://discord.com/channels/1186424376300679209/1186462578310910112/1413422552533045289) [[2] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) ​
### Answer Based on the community discussion, this appears to be a known issue with conversation flow agents where dynamic variable keys cannot be edited, deleted, or added through the UI [(1) ]() . For conversation flow agents specifically, the only way to add dynamic variables is by adding them directly in the diagram itself . If you need variables that won't be used in the prompt but will be passed to function calls as parameters, this limitation becomes problematic . Workaround options: 1. Add variables through the conversation flow diagram - Dynamic variables must be added within the flow nodes themselves rather than through a separate dynamic variables section 2. Set agent-level default variables - You can configure default values for dynamic variables at the agent level, which serve as fallbacks when specific variables aren't included in the call request [(2) ]() 3. Pass variables at runtime - For outbound calls, set variables in the
retell_llm_dynamic_variables
field when using the Create Phone Call API, where all values must be strings . For inbound calls, supply dynamic variables through the Inbound Call Webhook If you're experiencing this with a standard (non-conversation flow) agent, please share your agent ID or call ID so we can investigate further, as the behavior you're describing isn't typical for standard agent configurations.
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
a
@User tried these suggestions. nothing fixed the issue. for context, I was trying to have my agent call clients who booked an appointment, submitted a form, and completed the demo. These are different call flows in 1 agent