https://retellai.com/?utm_source=discord&utm_medium=seo logo
in Inbound Assistants how can I access Current Dat...
# ❓・ai-evy-support
m
@AI Evy in Inbound Assistants how can I access Current Date and time and Caller Phone Number using Dynamic variables
a
Thanks for tagging me @maliawan.. I'll look through relevant sources and get back to you shortly.
### Answer For inbound assistants, you can access current date/time and caller phone number using Retell's built-in default system variables [(1) ]() . Current Date and Time: -
{{current_time}}
- Current time in America/Los_Angeles timezone [(1) ]() [(2) ]() [(3) ]() -
{{current_time_[timezone]}}
- Current time in specified timezone (e.g.,
{{current_time_Australia/Sydney}}
,
{{current_time_America/New_York}}
) Caller Phone Number: -
{{user_number}}
- User's phone number (for inbound calls, this is the from_number) These variables are automatically provided by Retell and require no configuration [(1) ]() . For inbound calls specifically, you can also access: -
{{agent_number}}
- Agent's phone number (for inbound calls, this is the to_number) [(1) ]() [(2) ]() [(3) ]() -
{{direction}}
- Call direction, which will be "inbound" -
{{call_id}}
- Current call session ID [(1) ]() You can use these variables directly in your prompts, first sentences, or tool descriptions. For example, in your prompt you might include: "The current time is {{current_time}} and the caller's number is {{user_number}}" .
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] Platform Changelogs | Retell AI](https://www.retellai.com/changelog) [[3] Simulation Testing Now Live for All Agents](https://www.retellai.com/changelog/simulation-testing-now-live-for-all-agents-c27zh) ​