https://retellai.com/?utm_source=discord&utm_medium=seo logo
how can i get current date and time for the system...
# ❓・ai-evy-support
s
@AI Evy how can i get current date and time for the system for the agent to use in conversation
a
Thanks for tagging me @sognodamotore. I'll look through relevant sources and get back to you shortly.
### Answer You can provide current date and time to your agent using Retell AI's built-in dynamic variables [(1) ]() . The system automatically provides several time-related variables without any configuration required : Primary time variable: -
{{current_time}}
- Current time in America/Los_Angeles timezone Timezone-specific variables: -
{{current_time_[timezone]}}
- Current time in specified timezone - Example:
{{current_time_Australia/Sydney}}
,
{{current_time_America/New_York}}
Calendar variables: -
{{current_calendar}}
- 14-day calendar in America/Los_Angeles -
{{current_calendar_[timezone]}}
- 14-day calendar in specified timezone To use these in your agent, simply add them to your prompts . For example:
Copy code
"The current time is {{current_time}}"
The
{{current_time}}
variable provides a full time and date string in Pacific Standard Time format like "Thursday, March 28, 2024 at 11:46:04 PM PST" . Important note: Make sure to use
{{current_time}}
(not
current_date
) as the correct variable name [(2) ]() . These variables work in prompts, begin messages, tool configurations, and call handling settings [(1) ]() .
​ To learn more, see the sources I considered: [[1] Dynamic Variables](https://docs.retellai.com/build/dynamic-variables) [[2] Discord message from @nazimali_83215 on 2025-03-05](https://discord.com/channels/1186424376300679209/1186462578310910112/1346895139725115402) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy where do i find field1 mapping on the nodes?
a
Thanks for the follow-up, @sognodamotore. I'll get back to you soon.
### Answer I don't have specific information about "field1 mapping" on nodes in the available sources. The conversation flow documentation shows the basic node structure with properties like
id
,
type
,
instruction
, and
edges
, but doesn't reference a "field1 mapping" property [(1) ]() . Could you provide more context about what you're trying to accomplish with field1 mapping? This would help me better understand your use case. For additional support with conversation flow node configuration, you can: - Visit [Contact Sales]() - Visit [) Would you like me to try to provide a general answer based on my knowledge instead?
​ To learn more, see the sources I considered: [[1] Create Conversation Flow](https://docs.retellai.com/api-references/create-conversation-flow) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
a
Thanks for the follow-up, @sognodamotore. I'll get back to you soon.
### Answer I notice you mentioned getting an error and what ChatGPT is telling you, but I don't see the actual error message or ChatGPT's response in your message. Could you please share: 1. The specific error message you're encountering 2. What ChatGPT suggested as a solution This will help me provide more targeted assistance based on the available Retell AI documentation and community discussions. Based on the sources available, I can see there are several types of errors that commonly occur with Retell AI agents, including "Error encountered in LLM call" [(1) ]() and various call transfer issues [(2) ]() . Once you share the specific error details, I'll be able to help troubleshoot using the documented solutions.
​ To learn more, see the sources I considered: [[1] SOLVED: Error encountered in LLM call](https://discord.com/channels/1186424376300679209/1362988373777846412) [[2] Discord message from @kruul4188 on 2025-08-28](https://discord.com/channels/1186424376300679209/1186462578310910112/1410648519987171438) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
s
@AI Evy im getting this error meessage in retell: Transitioning from node node-1756998674024 (name: Extract Variables) to node node-1756999041061 (name: Get Availability) 2025-09-04 18:25:49.361 call_bce93602a39c9e8b79f1e6309f6 info: Calling tool: Get_availability Arguments: {"field1":"2025-09-04"} 2025-09-04 18:25:50.534 call_bce93602a39c9e8b79f1e6309f6 error: Error in executing custom function call: Get_availability Axios Error: error code: ERR_BAD_REQUEST, error message: Request failed with status code 400 response status: 400 response data: [{"status":400,"message":"1"},"\"schedule_id\" must be of type integer. (Value \"list\" provided)"] 2025-09-04 18:25:50.534 call_bce93602a39c9e8b79f1e6309f6 info: Received result for tool: tool_call_fc2cbe Get_availability Result: Axios Error: error code: ERR_BAD_REQUEST, error message: Request failed with status code 400 response status: 400 response data: [{"status":400,"message":"1"},"\"schedule_id\" must be of type integer. (Value \"list\" provided)"] 2025-09-04 18:25:51.497 call_bce93602a39c9e8b79f1e6309f6 info: Transitioning from node node-1756999041061 (name: Get Availability) to node node-1757000138110 (name: Conversation) 2025-09-04 18:26:05.341 call_bce93602a39c9e8b79f1e6309f6 info: E2E latency for this turn: 3156 2025-09-04 18:26:21.737 call_bce93602a39c9e8b79f1e6309f6 info: Ending call: call_bce93602a39c9e8b79f1e6309f6
a
Thanks for the follow-up, @sognodamotore. I'll get back to you soon.
### Answer [(1) ]() Based on your error message, the issue is with the Cal.com integration for the Get Availability function. The error indicates that the
schedule_id
parameter is expecting an integer but receiving "list" as the value [(2) ]() . Looking at your error log, the function is being called with
{"field1":"2025-09-04"}
, but the Cal.com API expects different parameters for checking availability [(1) ]() . For the Check Calendar Availability function to work properly, you need to ensure: 1. **Event Type ID Configuration**: The Event Type ID should be configured as an integer in your Cal.com integration . You can find this by looking at your Cal.com URL - for example, if your URL is ` then
1427703
is your Event Type ID . 2. **API Key Setup**: Make sure your Cal.com API key is properly configured in the Retell dashboard . 3. **Function Parameters**: The function should be receiving the correct parameters, not just a date in
field1
. The error suggests that somewhere in your configuration, the
schedule_id
is being set to "list" instead of the proper integer Event Type ID. Check your Cal.com integration settings in the Retell dashboard to ensure the Event Type ID is correctly entered as a number . Similar booking issues have been reported where incorrect parameter formatting causes 400 errors with Cal.com integrations [(2) ]() .
​ To learn more, see the sources I considered: [[1] Check Calendar Availability](https://docs.retellai.com/build/check-availability) [[2] Booking issue](https://discord.com/channels/1186424376300679209/1373971209498263603) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.