https://retellai.com/?utm_source=discord&utm_medium=seo logo
MY single prompt agent does not know the current d...
# ❓・ai-evy-support
j
@AI Evy MY single prompt agent does not know the current date adn time. the assistant thinks its in 2024 but its 2025. and she never gets the current date correct. which causes big issues with my make.com workflows as it sends the wrong data
a
Thanks for tagging me @jaydenmortimer_. I'll look through relevant sources and get back to you shortly.
### Answer Based on the available sources, I found a relevant discussion about this exact issue [(1) ]() . To fix the date/time issue in your single prompt agent, you need to use dynamic variables in your prompt. Instead of hardcoding the date, use the
{{current_time}}
variable . Add this to your prompt:
Copy code
## Current Date and Time
- Current date and time is {{current_time}}
The
{{current_time}}
dynamic variable will automatically inject the correct current date and time into your agent's context at runtime . This ensures your agent always has accurate temporal information for your Make.com workflows. If you need to adjust for timezone offsets, you can add that in your prompt instructions after the variable, but the variable itself should provide the base current time . **
​ To learn more, see the sources I considered: [[1] Agent fails giving the current date](https://discord.com/channels/1186424376300679209/1342239628073107566) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
j
and how do i get her to send the time zone to my make.com webhook?
@AI Evy and how do i get her to send the time zone to my make.com webhook?
a
Thanks for the follow-up, @jaydenmortimer_. I'll get back to you soon.
### Answer To send timezone information to your Make.com webhook, you can use a custom function (tool calling) that includes the timezone data as a parameter [(1) ]() . Here's how to set this up: 1. Create a custom function with a parameter for timezone information 2. Configure the function's webhook URL to point to your Make.com webhook endpoint 3. Instruct your agent in the prompt to call this function when needed, passing the timezone data For example, in your custom function configuration, you can include dynamic variables in the webhook URL itself . The agent can then call this function during the conversation, and the timezone information will be sent to Make.com. You can also use the
{{current_time_[timezone]}}
dynamic variable format to get time in specific timezones . For instance,
{{current_time_Australia/Sydney}}
would give you the current time in that timezone . If you want the timezone sent automatically with every webhook call, you can include it in the
retell_llm_dynamic_variables
when setting up your agent, and then reference it in your custom function's parameters [(1) ]() [(2) ]() .
​ To learn more, see the sources I considered: [[1] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) [[2] Inbound call webhook](https://docs.retellai.com/features/inbound-call-webhook) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.