https://retellai.com/?utm_source=discord&utm_medium=seo logo
I have a question so with variables that you extra...
# ❓・ai-evy-support
h
I have a question so with variables that you extract does the AI keep a thread of them if for example, if my AI does an outbound call to a person and it's scrapes information with a dynamic variable as to what the Call sentiment was about the reason why the user wanted to call back for example and then my AI calls them back do I have to go through a process like passing that dynamic variable through a tool and then updating them in my high-level contact field area and then re-passing it through when the call is triggered or will it just automatically keep a thread if it's with the same number and the same prospect with the same number that they previously had like will it just automatically knowtheir name and stuff is it gonna keep a thread same thing vice versa let's just say hypothetically, my assistant, like the same assistant is an inbound assistant is it still like if they use a call them is they gonna know their name and like the context as well of where they left offor is it just gonna have no clue like do I have to like do passing and like storing and then repassing? @AI Evy
a
Thanks for tagging me @hans_70884. I'll look through relevant sources and get back to you shortly.
### Answer No, Retell AI does not automatically keep a thread or remember information between separate calls. [(1) ]() Each call session is independent. [(1) ]() [(2) ]() You must manually pass dynamic variables for each call. For outbound calls, when using the Create Phone Call API, you set variables in the
retell_llm_dynamic_variables
field, and all values must be strings: [(2) ]()
Copy code
json
{
 "user_name": "John Smith",
 "product_name": "Premium Plan",
 "account_status": "active"
}
Your workflow should be: 1. Extract information during the first call using dynamic variables [(1) ]() [(3) ]() 2. Store that information in your CRM or database (like High Level) [(1) ]() 3. When triggering the next call (inbound or outbound) , retrieve the stored data from your CRM 4. Pass it back through
retell_llm_dynamic_variables
in the API request [(2) ]() For inbound calls, you can use dynamic variables in prompts with the
{{variable_name}}
syntax. [(1) ]() However, you still need to pass these variables when registering the call. [(4) ]() Retell AI agents can extract and store dynamic variables in real-time during a call, [(3) ]() but this data is only available within that specific call session. [(1) ]() The platform does not maintain conversation history across different call sessions automatically. Bottom line: Yes, you need to implement the passing, storing, and re-passing workflow you described. The AI will not automatically remember previous interactions with the same phone number. [(1) ]() [(2) ]()
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
​ To learn more, see the sources I considered: [[1] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) [[2] Outbound Calls (Make Calls)](https://docs.retellai.com/deploy/outbound-call) [[3] Major Platform Upgrades: Knowledge base, warm transfer, Voice & Analytics](https://www.retellai.com/changelog/major-platform-upgrades-knowledge-base-warm-transfer-voice-analytics) [[4] Register Phone Call](https://docs.retellai.com/api-references/register-phone-call) ​