https://retellai.com/?utm_source=discord&utm_medium=seo logo
if someone calls me, can i have context based
# ❓・ai-evy-support
v
@AI Evy if someone calls me, can i have context based? does retell store context?
a
Thanks for tagging me @Vyyy. I'll look through relevant sources and get back to you shortly.
### Answer Yes, you can provide context when someone calls you, and Retell stores call data that you can access later. Providing Context for Incoming Calls: For inbound calls, you can supply dynamic variables through the Inbound Call Webhook [(1) ]() . These variables allow you to inject personalized, context-specific data into the agent's responses for each call . Dynamic variables use the
{{variable_name}}
syntax and can be used in prompts, begin messages, tool configurations, and call handling settings . For example, you could provide
{{customer_name}}
,
{{account_status}}
, or
{{interaction_history}}
to personalize the conversation . What Retell Stores: Retell stores comprehensive call data including [(2) ]() : - Transcript and transcript objects with timestamps - Recording URLs (both single and multi-channel) - Call metadata (caller/callee numbers, duration, timestamps) - Custom metadata you provide - Dynamic variables used during the call - Post-call analysis data [(3) ]() [(2) ]() Accessing Stored Context: You can retrieve call details using the Get Call API, which returns all stored information including transcripts, recordings, metadata, and custom analysis data [(2) ]() . The
collected_dynamic_variables
field shows dynamic variables gathered during the call [(2) ]() [(4) ]() . Post-call analysis can extract custom data in Boolean, Text, Number, or Selector formats, which you define based on your needs [(3) ](
verview) .
​ To learn more, see the sources I considered: [[1] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) [[2] Get Call](https://docs.retellai.com/api-references/get-call) [[3] Post Call Analysis Overview](https://docs.retellai.com/features/post-call-analysis-overview) [[4] 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.