https://retellai.com/?utm_source=discord&utm_medium=seo logo
Can I send dynamic variables in a post request
# ❓・ai-evy-support
h
Can I send dynamic variables in a post request? I stored a dynamic variable called {{servicem8_data}} in a previous tool. I now want to send this exact variable in a tool call that happens after. The second tool isn't picking up this variable. How can I? @AI Evy \
a
Thanks for tagging me @hari6500. I'll look through relevant sources and get back to you shortly.
### Answer Dynamic variables can be used in tool call URLs and descriptions, but the documentation doesn't specifically address storing and reusing variables between tool calls within the same conversation [(1) ]() . According to the documentation, dynamic variables can be used in several places including tool call URL and tool call description . For outbound calls, you set variables in the
retell_llm_dynamic_variables
field when using the Create Phone Call API [(1) ]() [(2) ]() :
Copy code
json
{
 "retell_llm_dynamic_variables": {
 "customer_name": "John Doe"
 }
}
However, the sources don't provide specific guidance on how to store a dynamic variable from one tool call and then use it in a subsequent tool call within the same conversation. The documentation shows how to set dynamic variables at the call level, but doesn't cover the scenario of dynamically updating or storing variables during the call flow. I don't have specific information in the available sources about how to persist variables between tool calls within a single conversation. You might want to explore alternative approaches or contact support for guidance on this specific use case. **
​ To learn more, see the sources I considered: [[1] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) [[2] Create Phone Call](https://docs.retellai.com/api-references/create-phone-call) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
h
@AI Evy where can i contact support?
a
Thanks for the follow-up, @hari6500. I'll get back to you soon.
### Answer [(1) ]() [(2) ]() You can contact Retell AI support using the following information: Email: support@retellai.com Phone: +1(415) 358-5433 Mailing Address: Retell AI Inc. 2674 Hastings Ave Redwood City, CA 94061 You can also visit [Contact Sales]() or check out their [GitHub repository]() .
​ To learn more, see the sources I considered: [[1] Retell | Terms Of Service](https://www.retellai.com/legal/terms-of-service) [[2] Retell | Terms Of Service](https://www.retellai.com/legal/terms-of-service) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.