https://retellai.com/?utm_source=discord&utm_medium=seo logo
how do i make my ai calling assistant have referen...
# ❓・ai-evy-support
h
@AI Evy how do i make my ai calling assistant have reference to the current time at hand is there any specific variable r somehting to use
a
Thanks for tagging me @hans_70884. I'll look through relevant sources and get back to you shortly.
### Answer Yes, Retell AI provides system default dynamic variables for current time [(1) ]() . You can use
{{current_time}}
which provides the current time in America/Los_Angeles timezone in the format "Monday, March 24, 2025 at 02:53:01 PM PDT" . For other timezones, you can use
{{current_time_[timezone]}}
where you specify the timezone . For example: -
{{current_time_Australia/Sydney}}
-
{{current_time_America/New_York}}
Additionally, there's a
{{call_type}}
variable that indicates whether it's a "web_call" or "phone_call" . For phone calls specifically, you also have access to: - `{{direction}}`: shows "inbound" or "outbound" - `{{user_number}}`: the user's phone number - `{{agent_number}}`: the agent's phone number These dynamic variables can be used in your agent's prompts to give your AI calling assistant real-time context about when the call is happening .
​ To learn more, see the sources I considered: [[1] Platform Changelogs | Retell AI](https://www.retellai.com/changelog) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
h
@AI Evy ok and are those universal variables i dont have o set them or anything i ca just use them in my prompt and they work yeah?
a
Thanks for the follow-up, @hans_70884. I'll get back to you soon.
### Answer Yes, exactly! These are system default variables that Retell automatically provides - no configuration required [(1) ]() . You can just use them directly in your prompts and they'll work automatically . The system variables include : -
{{current_time}}
- Current time in America/Los_Angeles timezone -
{{current_time_[timezone]}}
- Current time in specified timezone (e.g.,
{{current_time_Australia/Sydney}}
) -
{{current_calendar}}
- 14-day calendar in America/Los_Angeles -
{{current_calendar_[timezone]}}
- 14-day calendar in specified timezone -
{{session_type}}
- Shows "voice" or "chat" -
{{session_duration}}
- How long the session has been running For phone calls specifically, you also get : -
{{direction}}
- "inbound" or "outbound" -
{{user_number}}
- User's phone number -
{{agent_number}}
- Agent's phone number -
{{call_id}}
- Current call session id -
{{call_type}}
- "web_call" or "phone_call" Just include them in your prompt using the
{{variable_name}}
syntax and they'll be automatically populated with the current values .
​ To learn more, see the sources I considered: [[1] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.