https://retellai.com/?utm_source=discord&utm_medium=seo logo
How to pass the dynamic variables as a payload to ...
# ❓・ai-evy-support
a
@AI Evy How to pass the dynamic variables as a payload to a function call tool in conversation flow agent ?
a
Thanks for tagging me @afrah_85175. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available sources, I can see that dynamic variables are supported in Conversation Flow agents [(1) ]() , and the Create Conversation Flow API shows support for
default_dynamic_variables
[(2) ]() . However, the specific documentation about how to pass dynamic variables as payload to function call tools in conversation flow agents is not detailed in the provided sources. The sources show that dynamic variables can be configured at the agent level with default values [(1) ]() , and for outbound calls, you can set variables in the
retell_llm_dynamic_variables
field where all values must be strings :
Copy code
json
{
 "user_name": "John Smith",
 "product_name": "Premium Plan",
 "account_status": "active"
}
The Create Conversation Flow API documentation shows that
default_dynamic_variables
can be set in the conversation flow configuration [(2) ]() , but the specific mechanism for passing these variables as payload to function call tools within the conversation flow is not explicitly documented in the available sources. There is a Discord forum post that mentions some challenges with dynamic variables in multi-agent conversation flows [(3) ]() , but it doesn't provide the specific solution you're looking for. I don't have sufficient information in the available sources to provide the complete answer about passing dynamic variables as payload to function call tools in conversation flow agents. Would you like me to try to provide a general answer based on my knowledge instead? Check out these potentially useful sources: [Create Conversation Flow]() , [Dynamic Variables]()
​ To learn more, see the sources I considered: [[1] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) [[2] Create Conversation Flow](https://docs.retellai.com/api-references/create-conversation-flow) [[3] Multi-Agent Conversation Flow - Not Importing Dynamic Fields](https://discord.com/channels/1186424376300679209/1425986785812549693) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.