https://retellai.com/?utm_source=discord&utm_medium=seo logo
how do i set the proper variables when testing in ...
# ❓・ai-evy-support
a
@AI Evy how do i set the proper variables when testing in conversational flow so that the {{current_time}} is 4am?
a
Thanks for tagging me @Anthony. I'll look through relevant sources and get back to you shortly.
### Answer The
{{current_time}}
variable is a default system variable that Retell automatically provides—it reflects the actual current time and cannot be overridden during testing. [(1) ]() However, you can work around this by creating your own custom dynamic variable (e.g.,
{{my_time}}
) and passing a specific value like "4:00 AM" when testing. You can set default values for dynamic variables at the agent level, which will be used when specific variables aren't included in the call request. For production calls, you would pass your custom time variable via: - **Outbound calls**: Set it in the
retell_llm_dynamic_variables
field when using the Create Phone Call API - **Inbound calls**: Supply it via the Inbound Call Webhook If you need to test time-based logic, one community suggestion is to send your own date/time using dynamic variables rather than relying on
{{current_time}}
. [(2) ]() So instead of using
{{current_time}}
directly for your conditional logic, consider using a custom variable like
{{test_time}}
that you can control during testing.
​ To learn more, see the sources I considered: [[1] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) [[2] Discord message from @gebstrategy on 2025-03-11](https://discord.com/channels/1186424376300679209/1294891368505937952/1349112741129879572) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.