https://retellai.com/?utm_source=discord&utm_medium=seo logo
How to share dynamic variables between two or more...
# ❓・ai-evy-support
i
@AI Evy How to share dynamic variables between two or more nodes?
a
Thanks for tagging me @innisai2520. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available sources, dynamic variables in Retell AI can be shared between nodes through their initial setup and usage throughout the conversation flow. Dynamic variables can be used in multiple locations across your agent configuration, including prompts, begin messages, tool call URLs, tool call descriptions, custom tool call properties descriptions, voicemail settings, transfer call function numbers, and warm transfer settings [(1) ]() . For outbound calls, you set dynamic variables in the
retell_llm_dynamic_variables
field when using the Create Phone Call API :
Copy code
json
{
 "user_name": "John Smith",
 "product_name": "Premium Plan",
 "account_status": "active"
}
For inbound calls, you can supply dynamic variables through the Inbound Call Webhook . You can also configure agent-level default dynamic variables that serve as fallbacks and will be used when specific variables aren't included in the call request . Once set, these dynamic variables are accessible throughout the conversation using the double curly brace syntax
{{variable_name}}
in any supported location . However, based on community discussions, there are current limitations with using dynamic variables for equation-based transitions in Logic Split Nodes, as this functionality is still under development [(2) ]() . For now, conversation nodes with prompting can be used as a workaround for conditional logic based on dynamic variables .
​ To learn more, see the sources I considered: [[1] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) [[2] HELP: Dynamic Variables and the NEW Logic Split Node](https://discord.com/channels/1186424376300679209/1359881066168582194) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.