Anthony
01/21/2026, 10:13 PMAI Evy
01/21/2026, 10:13 PMAI Evy
01/21/2026, 10:14 PM{{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.AI Evy
01/21/2026, 10:14 PMAI Evy
01/21/2026, 10:14 PM