joesturdy
08/20/2025, 10:07 AMAI Evy
08/20/2025, 10:07 AMAI Evy
08/20/2025, 10:08 AMcheck_calendar_availability
- Name: reschedule_appointment
- Name: cancel_appointment
3. Select HTTP Method - Choose POST for Make.com webhooks
4. Add endpoint URL - Add the Make.com webhook URL where Retell will send the request
5. Define parameters using JSON schema format :
json
{
"type": "object",
"properties": {
"action": {
"type": "string",
"description": "The calendar action to perform"
},
"appointment_id": {
"type": "string",
"description": "Appointment ID for reschedule/cancel"
},
"new_date": {
"type": "string",
"description": "New date for rescheduling"
}
}
}
Option 2: Single Function
You can create one function that handles all three operations by using a parameter to specify the action type . In Make.com, use conditional logic to route based on the action parameter.
Prompt Instructions:
For single-prompt agents, include clear instructions in your prompt to control function calling [(2) ]() :AI Evy
08/20/2025, 10:08 AM///## Task
1. Ask for user's name.
2. Ask if user needs to reschedule, cancel, or check availability.
- if reschedule, call reschedule_appointment function
- if cancel, call cancel_appointment function
- if check availability, call check_calendar_availability function
The separate functions approach is generally more reliable for function calling and easier to debug in Make.com scenarios [(1) ]() .AI Evy
08/20/2025, 10:08 AMAI Evy
08/20/2025, 10:08 AMjoesturdy
08/20/2025, 10:13 AMAI Evy
08/20/2025, 10:13 AMAI Evy
08/20/2025, 10:13 AM{{availability_slots}} [(1) ]() .
Example Response Structure:
json
{
"properties": {
"availability": {
"available_slots": ["9:00 AM", "2:00 PM", "4:00 PM"],
"date": "2025-08-21"
}
}
}AI Evy
08/20/2025, 10:13 AMAI Evy
08/20/2025, 10:13 AMAI Evy
08/20/2025, 10:13 AMjoesturdy
08/20/2025, 10:34 AMAI Evy
08/20/2025, 10:34 AMAI Evy
08/20/2025, 10:35 AMcheck_calendar_availability (must be unique within that agent)
- **Description**: "Checks availability for appointment slots"
3. **Select HTTP Method**: POST
4. **Add endpoint URL**: Your Make.com webhook URL
5. Define parameters using JSON schema format :
json
{
"type": "object",
"properties": {
"date": {
"type": "string",
"description": "The date to check availability for (YYYY-MM-DD format) "
},
"time_range": {
"type": "string",
"description": "Preferred time range (e.g., 'morning', 'afternoon', 'evening') "
}
},
"required": ["date"]
}
## Function 2: Cancel Appointment
Steps to create:
1. Click "+ Add" in the tools section and select "Custom Function"
2. Configure function details :
- **Tool name**: cancel_appointment
- **Description**: "Cancel an existing appointment"
3. **Select HTTP Method**: POST
4. **Add endpoint URL**: Your Make.com webhook URL
5. Define parameters :
json
{
"type": "object",
"properties": {
"appointment_id": {
"type": "string",
"description": "The unique identifier of the appointment to cancel"
},
"customer_name": {
"type": "string",
"description": "Customer name for verification"
},
"reason": {
"type": "string",
"description": "Reason for cancellation (optional) "
}
},
"required": ["appointment_id", "customer_name"]
}AI Evy
08/20/2025, 10:35 AMreschedule_appointment
- **Description**: "Reschedule an existing appointment to a new date and time"
3. **Select HTTP Method**: POST
4. **Add endpoint URL**: Your Make.com webhook URL
5. Define parameters :
json
{
"type": "object",
"properties": {
"appointment_id": {
"type": "string",
"description": "The unique identifier of the appointment to reschedule"
},
"customer_name": {
"type": "string",
"description": "Customer name for verification"
},
"new_date": {
"type": "string",
"description": "New date for the appointment (YYYY-MM-DD format) "
},
"new_time": {
"type": "string",
"description": "New time for the appointment (HH:MM format) "
}
},
"required": ["appointment_id", "customer_name", "new_date", "new_time"]
}
## Additional Configuration for All Functions
*Set request headers (optional) * :
- Add any authentication headers needed for your Make.com webhook
*Set response variables (optional) * :
Extract values from the API response and save them as dynamic variables for use later in the conversation . For example, you can extract availability results and reference them later using {{available_slots}} .
Configure speech behavior :
- **Speak during execution**: Enable for user-facing actions like checking availability
- **Speak after execution**: Enable to let the agent tell the user the result of the function call
## Update Your Prompt
Include explicit instructions in your prompt for when to invoke each custom function :AI Evy
08/20/2025, 10:35 AMWhen user requests to check availability for a specific date, call the `check_calendar_availability` function.
When user wants to cancel an existing appointment, call the `cancel_appointment` function.
When user wants to reschedule an appointment, call the `reschedule_appointment` function.AI Evy
08/20/2025, 10:35 AMAI Evy
08/20/2025, 10:35 AMjoesturdy
08/20/2025, 11:09 AMAI Evy
08/20/2025, 11:09 AMAI Evy
08/20/2025, 11:10 AMjson
{
"name": "check_calendar_availability",
"call": {...},
"args": {...}
}AI Evy
08/20/2025, 11:10 AMname field contains the function name (check_calendar_availability, cancel_appointment, or reschedule_appointment) , which you'll use for routing in Make.com .
## Make.com Scenario Structure
Here's how your single Make.com scenario would look:
1. Webhook Module (receives all function calls)
- Single webhook URL used for all three Retell functions
- Receives the function name in name field and parameters in args field
2. Router Module
- Route 1: Filter name = "check_calendar_availability"
- Route 2: Filter name = "cancel_appointment"
- Route 3: Filter name = "reschedule_appointment"
3. Function-Specific Modules (one branch per route)
- **Availability Route**: Connect to calendar API → Format available slots → Return JSON response
- **Cancel Route**: Connect to calendar API → Cancel appointment → Return confirmation message
- **Reschedule Route**: Connect to calendar API → Update appointment → Return confirmation
4. Response Modules (end of each route)
- Each route ends with a webhook response module
- Return appropriate JSON/text response back to Retell
## Response Handling
Each route should return a response that Retell can process. The response can be in various formats and will be converted to string before sending to the LLM for further processing . The function result is capped at 15000 characters to prevent overloading the LLM context window .
This approach gives you the reliability of separate functions in Retell while maintaining a single, organized scenario in Make.com that routes based on the function name sent in the request body .AI Evy
08/20/2025, 11:10 AMAI Evy
08/20/2025, 11:10 AMjoesturdy
08/20/2025, 11:30 AMAI Evy
08/20/2025, 11:30 AMAI Evy
08/20/2025, 11:30 AMcheck_calendar_availability, cancel_appointment, reschedule_appointment) , use the exact same endpoint URL in the "Add endpoint URL" field . Each function keeps its unique name and parameter schema as defined earlier.
## Make.com AI Prompt
Here's the perfect prompt to give to Make.com's AI to create your scenario:AI Evy
08/20/2025, 11:30 AMCreate a Make.com scenario that handles multiple Retell AI custom function calls through a single webhook endpoint. The scenario should:
1. Start with a Webhook module that receives HTTP POST requests from Retell AI
2. The incoming webhook data structure includes:
- "name" field containing the function name
- "args" field containing the function parameters
- "call" field containing call metadata
3. Add a Router module with 3 routes based on the "name" field:
- Route 1: Filter where name equals "check_calendar_availability"
- Route 2: Filter where name equals "cancel_appointment"
- Route 3: Filter where name equals "reschedule_appointment"
4. For the availability route:
- Connect to calendar system to check available slots
- Format response as JSON with available time slots
- End with Webhook Response module returning the availability data
5. For the cancel route:
- Connect to calendar system to cancel the appointment using appointment_id from args
- End with Webhook Response module returning cancellation confirmation
6. For the reschedule route:
- Connect to calendar system to update appointment with new date/time from args
- End with Webhook Response module returning reschedule confirmation
Each route must end with a Webhook Response module that sends data back to Retell AI. The response should be in JSON format and contain the relevant information for the AI agent to communicate to the user.
Set up error handling for each route to return appropriate error messages if the calendar operations fail.
This approach maintains the reliability of separate functions in Retell while using a single organized Make.com scenario that routes based on the function name sent in the request .AI Evy
08/20/2025, 11:30 AMAI Evy
08/20/2025, 11:30 AMjoesturdy
08/20/2025, 11:42 AMAI Evy
08/20/2025, 11:42 AMAI Evy
08/20/2025, 11:42 AMAI Evy
08/20/2025, 11:42 AMCreate a Make.com scenario that handles multiple Retell AI custom function calls for Google Calendar operations through a single webhook endpoint. The scenario should:
1. Start with a Webhook module that receives HTTP POST requests from Retell AI
2. The incoming webhook data structure includes:
- "name" field containing the function name
- "args" field containing the function parameters
- "call" field containing call metadata
3. Add a Router module with 3 routes based on the "name" field:
- Route 1: Filter where name equals "check_calendar_availability"
- Route 2: Filter where name equals "cancel_appointment"
- Route 3: Filter where name equals "reschedule_appointment"
4. For the availability route:
- Use Google Calendar "Search Events" module to check for existing appointments
- Use Google Calendar "List Events" module to find available time slots
- Format response as JSON with available time slots for the requested date
- End with Webhook Response module returning the availability data
5. For the cancel route:
- Use Google Calendar "Get an Event" module to find the appointment using appointment_id from args
- Use Google Calendar "Delete an Event" module to cancel the appointment
- End with Webhook Response module returning cancellation confirmation message
6. For the reschedule route:
- Use Google Calendar "Get an Event" module to find the existing appointment
- Use Google Calendar "Update an Event" module to change the date/time using new_date and new_time from args
- End with Webhook Response module returning reschedule confirmation
7. Authentication setup:
- Configure Google Calendar connection with OAuth 2.0
- Ensure proper scopes for calendar read/write access
Each route must end with a Webhook Response module that sends JSON data back to Retell AI. Include error handling for each route to retAI Evy
08/20/2025, 11:42 AMurn appropriate error messages if Google Calendar operations fail.
The response format should be structured JSON that the Retell AI agent can easily parse and communicate to the user.AI Evy
08/20/2025, 11:42 AMAI Evy
08/20/2025, 11:42 AMjoesturdy
08/20/2025, 12:06 PMAI Evy
08/20/2025, 12:06 PMAI Evy
08/20/2025, 12:06 PMAI Evy
08/20/2025, 12:06 PMAI Evy
08/20/2025, 12:06 PMjoesturdy
08/20/2025, 12:07 PMAI Evy
08/20/2025, 12:07 PMAI Evy
08/20/2025, 12:07 PMjson
{
"name": "function_name",
"call": {...},
"args": {...}
}
However, the documentation doesn't specify how external variables like event IDs from the initial agent trigger are made available to subsequent custom function calls in separate Make.com scenarios.
For this specific integration question about accessing event IDs across different Make.com scenarios when working with Retell AI agents, I'd recommend:
Check out these potentially useful sources:
- [LLM WebSocket]()
Would you like me to try to answer generally based on my knowledge instead?AI Evy
08/20/2025, 12:07 PMAI Evy
08/20/2025, 12:07 PMjoesturdy
08/20/2025, 12:11 PMAI Evy
08/20/2025, 12:11 PMAI Evy
08/20/2025, 12:11 PMretell_llm_dynamic_variables field [(2) ]() . For inbound calls, the inbound call webhook can be used to set dynamic variables and override agent settings [(3) ]() .
However, the documentation doesn't specifically address how agents can return or send back the original variables that were provided to them via webhooks in subsequent function calls or responses.
For this specific question about variable persistence and return functionality in webhook-triggered scenarios, I'd recommend:
Check out these potentially useful sources:
- [Inbound call webhook]()
- [Dynamic Variables]()
- [Retell AI Webhooks | AI Voice Agents With Live Data | Retell AI]()
Would you like me to try to answer generally based on my knowledge instead?AI Evy
08/20/2025, 12:11 PMAI Evy
08/20/2025, 12:11 PMjoesturdy
08/20/2025, 12:14 PMAI Evy
08/20/2025, 12:14 PMAI Evy
08/20/2025, 12:14 PMjson
{
"type": "object",
"properties": {
"event_id": {
"type": "string",
"description": "The Google Calendar event ID for this appointment"
},
"action": {
"type": "string",
"description": "The action to perform (check, cancel, reschedule) "
}
},
"required": ["event_id"]
}
Then in your prompt, instruct the agent to use the event ID variable:
When calling calendar functions, always include the event ID: {{event_id}}
This way, the same event ID that triggered the initial webhook can be used in your separate Make.com scenario that handles the custom functions.AI Evy
08/20/2025, 12:14 PMAI Evy
08/20/2025, 12:14 PMjoesturdy
08/20/2025, 12:18 PMAI Evy
08/20/2025, 12:18 PMAI Evy
08/20/2025, 12:18 PMcheck_calendar_availability
- **Description**: "Checks availability for appointment slots using event ID context"
3. **Select HTTP Method**: POST
4. **Add endpoint URL**: Your Make.com webhook URL
5. Define parameters using JSON schema format :
json
{
"type": "object",
"properties": {
"event_id": {
"type": "string",
"description": "The Google Calendar event ID for context"
},
"date": {
"type": "string",
"description": "The date to check availability for (YYYY-MM-DD format) "
},
"time_range": {
"type": "string",
"description": "Preferred time range (e.g., 'morning', 'afternoon', 'evening') "
}
},
"required": ["event_id", "date"]
}
## Function 2: Cancel Appointment (Updated)
Steps to create:
1. Click "+ Add" in the tools section and select "Custom Function"
2. Configure function details :
- **Tool name**: cancel_appointment
- **Description**: "Cancel an existing appointment using event ID"
3. **Select HTTP Method**: POST
4. **Add endpoint URL**: Your Make.com webhook URL
5. Define parameters :AI Evy
08/20/2025, 12:18 PMjson
{
"type": "object",
"properties": {
"event_id": {
"type": "string",
"description": "The Google Calendar event ID of the appointment to cancel"
},
"customer_name": {
"type": "string",
"description": "Customer name for verification"
},
"reason": {
"type": "string",
"description": "Reason for cancellation (optional) "
}
},
"required": ["event_id", "customer_name"]
}
## Function 3: Reschedule Appointment (Updated)
Steps to create:
1. Click "+ Add" in the tools section and select "Custom Function"
2. Configure function details :
- **Tool name**: reschedule_appointment
- **Description**: "Reschedule an existing appointment using event ID"
3. **Select HTTP Method**: POST
4. **Add endpoint URL**: Your Make.com webhook URL
5. Define parameters :
json
{
"type": "object",
"properties": {
"event_id": {
"type": "string",
"description": "The Google Calendar event ID of the appointment to reschedule"
},
"customer_name": {
"type": "string",
"description": "Customer name for verification"
},
"new_date": {
"type": "string",
"description": "New date for the appointment (YYYY-MM-DD format) "
},
"new_time": {
"type": "string",
"description": "New time for the appointment (HH:MM format) "
}
},
"required": ["event_id", "customer_name", "new_date", "new_time"]
}
## Updated Prompt Instructions
Include these instructions in your agent prompt to ensure the event ID is always passed :AI Evy
08/20/2025, 12:18 PMWhen calling any calendar function, always include the event ID using the dynamic variable {{event_id}}.
When user requests to check availability, call the `check_calendar_availability` function with the event ID.
When user wants to cancel an existing appointment, call the `cancel_appointment` function with the event ID.
When user wants to reschedule an appointment, call the `reschedule_appointment` function with the event ID.
This ensures that the event ID passed to your agent via webhook will be included in all function calls to your Make.com scenario, allowing you to perform the appropriate Google Calendar operations using the same event context.AI Evy
08/20/2025, 12:18 PMAI Evy
08/20/2025, 12:18 PMjoesturdy
08/20/2025, 12:30 PMAI Evy
08/20/2025, 12:30 PMAI Evy
08/20/2025, 12:30 PMcheck_calendar_availability
- **Description**: "Checks availability for appointment slots"
- **HTTP Method**: POST
- **Endpoint URL**: Your Make.com webhook URL
Parameters:
json
{
"type": "object",
"properties": {
"event_id": {
"type": "string",
"description": "The Google Calendar event ID for context"
},
"date": {
"type": "string",
"description": "The date to check availability for (YYYY-MM-DD format) "
},
"duration": {
"type": "number",
"description": "Duration needed in minutes (e.g., 30, 60) "
}
},
"required": ["event_id", "date"]
}
## Function 2: Cancel Appointment (Streamlined)
Function Setup:
- **Tool name**: cancel_appointment
- **Description**: "Cancel an existing appointment using event ID"
- **HTTP Method**: POST
- **Endpoint URL**: Your Make.com webhook URL
Parameters:
json
{
"type": "object",
"properties": {
"event_id": {
"type": "string",
"description": "The Google Calendar event ID of the appointment to cancel"
}
},
"required": ["event_id"]
}
## Function 3: Reschedule Appointment (Streamlined)
Function Setup:
- **Tool name**: reschedule_appointment
- **Description**: "Reschedule an existing appointment using event ID"
- **HTTP Method**: POST
- **Endpoint URL**: Your Make.com webhook URL
Parameters:AI Evy
08/20/2025, 12:30 PMjson
{
"type": "object",
"properties": {
"event_id": {
"type": "string",
"description": "The Google Calendar event ID of the appointment to reschedule"
},
"new_date": {
"type": "string",
"description": "New date for the appointment (YYYY-MM-DD format) "
},
"new_time": {
"type": "string",
"description": "New time for the appointment (HH:MM format) "
}
},
"required": ["event_id", "new_date", "new_time"]
}
This streamlined approach gives your Make.com workflow exactly what it needs - the event ID to identify the specific Google Calendar event, plus only the essential parameters for each operation [(3) ]() .AI Evy
08/20/2025, 12:30 PMAI Evy
08/20/2025, 12:30 PMjoesturdy
08/20/2025, 12:35 PMAI Evy
08/20/2025, 12:35 PMAI Evy
08/20/2025, 12:36 PMcheck_calendar_availability
- **Description**: "Checks availability for appointment slots"
- **HTTP Method**: POST
- **Endpoint URL**: Your Make.com webhook URL
Parameters:
json
{
"type": "object",
"properties": {
"event_id": {
"type": "string",
"description": "The Google Calendar event ID for context"
},
"date": {
"type": "string",
"description": "The date to check availability for (YYYY-MM-DD format) "
}
},
"required": ["event_id", "date"]
}
## Function 2: Cancel Appointment (Final)
Function Setup:
- **Tool name**: cancel_appointment
- **Description**: "Cancel an existing appointment using event ID"
- **HTTP Method**: POST
- **Endpoint URL**: Your Make.com webhook URL
Parameters:
json
{
"type": "object",
"properties": {
"event_id": {
"type": "string",
"description": "The Google Calendar event ID of the appointment to cancel"
}
},
"required": ["event_id"]
}
## Function 3: Reschedule Appointment (Final)
Function Setup:
- **Tool name**: reschedule_appointment
- **Description**: "Reschedule an existing appointment using event ID"
- **HTTP Method**: POST
- **Endpoint URL**: Your Make.com webhook URL
Parameters:AI Evy
08/20/2025, 12:36 PMjson
{
"type": "object",
"properties": {
"event_id": {
"type": "string",
"description": "The Google Calendar event ID of the appointment to reschedule"
},
"new_date": {
"type": "string",
"description": "New date for the appointment (YYYY-MM-DD format) "
},
"new_time": {
"type": "string",
"description": "New time for the appointment (HH:MM format) "
}
},
"required": ["event_id", "new_date", "new_time"]
}
This streamlined approach ensures your Make.com workflow receives only the essential information needed - the event ID to identify the specific appointment, and the new scheduling details when needed, while preserving the original meeting duration from the initial booking [(3) ]() .AI Evy
08/20/2025, 12:36 PMAI Evy
08/20/2025, 12:36 PMjoesturdy
08/20/2025, 12:45 PMAI Evy
08/20/2025, 12:45 PMAI Evy
08/20/2025, 12:45 PMeventID and name and are referenced in prompts using {{eventID}} and {{name}} [(1) ]()
2. Function Parameters are defined in your JSON schema and can have different names like event_id [(2) ]()
How to connect them:
In your agent prompt, you instruct the AI to use the dynamic variables when calling functions:
When calling calendar functions, always use:
- event_id: {{eventID}}
- customer_name: {{name}}
Your Make.com scenario will receive:
When Retell calls your custom function, the request body structure will be :
json
{
"name": "cancel_appointment",
"call": {...},
"args": {
"event_id": "the_actual_event_id_value",
"new_date": "2025-01-15",
"new_time": "14:00"
}
}
So your Make.com scenario should look for the parameter names you defined in your function schema (event_id, new_date, new_time) in the args object, not the original dynamic variable names (eventID, name) .
The agent automatically maps {{eventID}} to the event_id parameter when making the function call based on your prompt instructions.AI Evy
08/20/2025, 12:45 PMAI Evy
08/20/2025, 12:45 PMjoesturdy
08/20/2025, 12:46 PMjoesturdy
08/20/2025, 12:47 PMAI Evy
08/20/2025, 12:47 PMAI Evy
08/20/2025, 12:47 PMeventID and name) , you won't need to add mapping instructions in the prompt. Here are the updated functions with matching names:
## Function 1: Check Calendar Availability (Matching Variables)
Function Setup: [(1) ]() [(2) ]()
- **Tool name**: check_calendar_availability
- **Description**: "Checks availability for appointment slots"
- **HTTP Method**: POST
- **Endpoint URL**: Your Make.com webhook URL
Parameters:
json
{
"type": "object",
"properties": {
"eventID": {
"type": "string",
"description": "The Google Calendar event ID for context"
},
"date": {
"type": "string",
"description": "The date to check availability for (YYYY-MM-DD format) "
}
},
"required": ["eventID", "date"]
}
[(1) ]() , [(2) ]()
## Function 2: Cancel Appointment (Matching Variables)
Function Setup:
- **Tool name**: cancel_appointment
- **Description**: "Cancel an existing appointment using event ID"
- **HTTP Method**: POST
- **Endpoint URL**: Your Make.com webhook URL
Parameters:
json
{
"type": "object",
"properties": {
"eventID": {
"type": "string",
"description": "The Google Calendar event ID of the appointment to cancel"
}
},
"required": ["eventID"]
}AI Evy
08/20/2025, 12:47 PMreschedule_appointment
- **Description**: "Reschedule an existing appointment using event ID"
- **HTTP Method**: POST
- **Endpoint URL**: Your Make.com webhook URL
Parameters:
json
{
"type": "object",
"properties": {
"eventID": {
"type": "string",
"description": "The Google Calendar event ID of the appointment to reschedule"
},
"new_date": {
"type": "string",
"description": "New date for the appointment (YYYY-MM-DD format) "
},
"new_time": {
"type": "string",
"description": "New time for the appointment (HH:MM format) "
}
},
"required": ["eventID", "new_date", "new_time"]
}
[(1) ]() , [(2) ]()
Now your Make.com scenario will receive the eventID parameter directly matching your dynamic variable name, and the agent can automatically use {{eventID}} and {{name}} without needing explicit mapping instructions in the prompt [(3) ]() .AI Evy
08/20/2025, 12:47 PMAI Evy
08/20/2025, 12:47 PMjoesturdy
08/20/2025, 12:51 PMAI Evy
08/20/2025, 12:51 PMAI Evy
08/20/2025, 12:51 PMcheck_calendar_availability
- **Description**: "Checks availability for meeting slots"
- **HTTP Method**: POST
- **Endpoint URL**: Your Make.com webhook URL
Parameters:
json
{
"type": "object",
"properties": {
"eventID": {
"type": "string",
"description": "The Google Calendar event ID for context"
},
"date": {
"type": "string",
"description": "The date to check availability for (YYYY-MM-DD format) "
}
},
"required": ["eventID", "date"]
}
[(1) ]() , [(2) ]()
## Function 2: Cancel Meeting (Updated Terminology)
Function Setup:
- **Tool name**: cancel_meeting
- **Description**: "Cancel an existing meeting using event ID"
- **HTTP Method**: POST
- **Endpoint URL**: Your Make.com webhook URL
Parameters:
json
{
"type": "object",
"properties": {
"eventID": {
"type": "string",
"description": "The Google Calendar event ID of the meeting to cancel"
}
},
"required": ["eventID"]
}AI Evy
08/20/2025, 12:51 PMreschedule_meeting
- **Description**: "Reschedule an existing meeting using event ID"
- **HTTP Method**: POST
- **Endpoint URL**: Your Make.com webhook URL
Parameters:
json
{
"type": "object",
"properties": {
"eventID": {
"type": "string",
"description": "The Google Calendar event ID of the meeting to reschedule"
},
"new_date": {
"type": "string",
"description": "New date for the meeting (YYYY-MM-DD format) "
},
"new_time": {
"type": "string",
"description": "New time for the meeting (HH:MM format) "
}
},
"required": ["eventID", "new_date", "new_time"]
}
[(1) ]() , [(2) ]()
Now all your functions use "meeting" terminology and match your dynamic variable names (eventID) for seamless integration with your Make.com scenarios [(1) ]() , [(2) ]() .AI Evy
08/20/2025, 12:51 PMAI Evy
08/20/2025, 12:51 PMjoesturdy
08/20/2025, 12:51 PMAI Evy
08/20/2025, 12:51 PMAI Evy
08/20/2025, 12:52 PMcheck_calendar_availability
- **Description**: "Checks availability for meeting slots in UK time"
- **HTTP Method**: POST
- **Endpoint URL**: Your Make.com webhook URL
Parameters:
json
{
"type": "object",
"properties": {
"eventID": {
"type": "string",
"description": "The Google Calendar event ID for context"
},
"date": {
"type": "string",
"description": "The date to check availability for in UK time (YYYY-MM-DD format) "
}
},
"required": ["eventID", "date"]
}
[(1) ]() , [(2) ]()
## Function 2: Cancel Meeting (UK Time)
Function Setup:
- **Tool name**: cancel_meeting
- **Description**: "Cancel an existing meeting using event ID in UK time"
- **HTTP Method**: POST
- **Endpoint URL**: Your Make.com webhook URL
Parameters:
json
{
"type": "object",
"properties": {
"eventID": {
"type": "string",
"description": "The Google Calendar event ID of the meeting to cancel"
}
},
"required": ["eventID"]
}
[(1) ]() , [(2) ]()
## Function 3: Reschedule Meeting (UK Time)
Function Setup:
- **Tool name**: reschedule_meeting
- **Description**: "Reschedule an existing meeting using event ID in UK time"
- **HTTP Method**: POST
- **Endpoint URL**: Your Make.com webhook URL
Parameters:AI Evy
08/20/2025, 12:52 PMAI Evy
08/20/2025, 12:52 PMjson
{
"type": "object",
"properties": {
"eventID": {
"type": "string",
"description": "The Google Calendar event ID of the meeting to reschedule"
},
"new_date": {
"type": "string",
"description": "New date for the meeting in UK time (YYYY-MM-DD format) "
},
"new_time": {
"type": "string",
"description": "New time for the meeting in UK time (HH:MM format, 24-hour) "
}
},
"required": ["eventID", "new_date", "new_time"]
}
[(1) ]() , [(2) ]()
Now all your functions specify UK time in the descriptions, ensuring your Make.com scenarios will handle the time zone correctly when processing the meeting operations [(1) ]() , [(2) ]() .AI Evy
08/20/2025, 12:52 PMjoesturdy
08/20/2025, 12:53 PMAI Evy
08/20/2025, 12:53 PMAI Evy
08/20/2025, 12:53 PMcheck_calendar_availability
- **Description**: "Checks availability for meeting slots in UK time"
- **HTTP Method**: POST
- **Endpoint URL**: Your Make.com webhook URL
Parameters:
json
{
"type": "object",
"properties": {
"eventID": {
"type": "string",
"description": "The Google Calendar event ID for context"
},
"date": {
"type": "string",
"description": "The date to check availability for in UK time (DD-MM-YYYY format) "
}
},
"required": ["eventID", "date"]
}
[(1) ]() , [(2) ]()
## Function 2: Cancel Meeting (UK Format)
Function Setup:
- **Tool name**: cancel_meeting
- **Description**: "Cancel an existing meeting using event ID in UK time"
- **HTTP Method**: POST
- **Endpoint URL**: Your Make.com webhook URL
Parameters:
json
{
"type": "object",
"properties": {
"eventID": {
"type": "string",
"description": "The Google Calendar event ID of the meeting to cancel"
}
},
"required": ["eventID"]
}AI Evy
08/20/2025, 12:53 PMreschedule_meeting
- **Description**: "Reschedule an existing meeting using event ID in UK time"
- **HTTP Method**: POST
- **Endpoint URL**: Your Make.com webhook URL
Parameters:
json
{
"type": "object",
"properties": {
"eventID": {
"type": "string",
"description": "The Google Calendar event ID of the meeting to reschedule"
},
"new_date": {
"type": "string",
"description": "New date for the meeting in UK time (DD-MM-YYYY format) "
},
"new_time": {
"type": "string",
"description": "New time for the meeting in UK time (HH:MM format, 24-hour) "
}
},
"required": ["eventID", "new_date", "new_time"]
}
[(1) ]() , [(2) ]()
The DD-MM-YYYY format is perfectly fine to use - just make sure your Make.com scenario is set up to parse dates in this format when processing the function calls [(1) ]() , [(2) ]() .AI Evy
08/20/2025, 12:54 PMAI Evy
08/20/2025, 12:54 PMAI Evy
08/20/2025, 1:02 PMjoesturdy
08/20/2025, 1:02 PMAI Evy
08/20/2025, 1:02 PMname (text)
- call (collection)
- args (collection)
- eventID (text)
- date (text)
- new_date (text)
- new_time (text)
### Step 2: Add Router to Handle All Three Functions
1. Add Router Module after webhook
2. **Create 3 Routes**:
- Route 1: check_calendar_availability
- Route 2: cancel_meeting
- Route 3: reschedule_meeting
### Step 3: Configure Route Filters
Route 1 Filter (Check Availability) :
- Condition: {{1.name}} Text operator "Equal to" check_calendar_availability
Route 2 Filter (Cancel Meeting) :
- Condition: {{1.name}} Text operator "Equal to" cancel_meeting
Route 3 Filter (Reschedule Meeting) :
- Condition: {{1.name}} Text operator "Equal to" reschedule_meeting
### Step 4: Google Calendar Modules for Each Route
Route 1 - Check Availability:
1. Google Calendar > Search Events
- Calendar ID: primary (or your specific calendar)
- Time Min: {{1.args.date}}T00:00:00+00:00
- Time Max: {{1.args.date}}T23:59:59+00:00
- Single Events: true
2. HTTP > Make a Request (Return to Retell)
- URL: `
- Method: POST
- Headers: Content-Type: application/json
- Body Type: Raw
- Body:
json
{
"available_slots": "{{join(2.items.summary; ', ') }}",
"date_checked": "{{1.args.date}}",
"total_events": "{{length(2.items) }}"
}AI Evy
08/20/2025, 1:02 PMjson
{
"status": "error",
"message": "{{2.message}}",
"function": "{{1.name}}"
}
### Step 6: Webhook URL Configuration
Use the SAME webhook URL from Step 1 in ALL three Retell AI functions:
- check_calendar_availability endpoint URL
- cancel_meeting endpoint URL
- reschedule_meeting endpoint URL
This single scenario handles all three functions by using the name field to route to the appropriate Google Calendar action and returns structured responses back to Retell AI for seamless real-time conversation flow [(3) ]() , [(1) ]() , [(2) ]() .AI Evy
08/20/2025, 1:02 PMprimary
- Event ID: {{1.args.eventID}}
2. HTTP > Make a Request (Return to Retell)
- URL: `
- Method: POST
- Headers: Content-Type: application/json
- Body Type: Raw
- Body:
json
{
"status": "cancelled",
"event_id": "{{1.args.eventID}}",
"message": "Meeting successfully cancelled"
}
[(1) ]() , [(2) ]()
Route 3 - Reschedule Meeting:
1. Google Calendar > Update an Event
- Calendar ID: primary
- Event ID: {{1.args.eventID}}
- Start Date/Time: {{1.args.new_date}}T{{1.args.new_time}}:00+00:00
- End Date/Time: {{addHours(parseDate(1.args.new_date + "T" + 1.args.new_time + ":00+00:00"; "DD-MM-YYYYTHH:mm:ssZ") ; 1) }}
2. HTTP > Make a Request (Return to Retell)
- URL: `
- Method: POST
- Headers: Content-Type: application/json
- Body Type: Raw
- Body:
json
{
"status": "rescheduled",
"event_id": "{{1.args.eventID}}",
"new_date": "{{1.args.new_date}}",
"new_time": "{{1.args.new_time}}",
"message": "Meeting successfully rescheduled"
}
[(1) ]() , [(2) ]()
### Step 5: Error Handling (Add to Each Route)
1. Add Error Handler to each Google Calendar module
2. HTTP > Make a Request (Error Response)
- Body:AI Evy
08/20/2025, 1:02 PMAI Evy
08/20/2025, 1:02 PMjoesturdy
08/20/2025, 1:07 PMAI Evy
08/20/2025, 1:07 PMAI Evy
08/20/2025, 1:08 PMprimary with your specific calendar:
- Calendar ID: Askar Research (or the exact calendar ID from Google)
### Step 2: Webhook Response Structure
Instead of making HTTP requests back to Retell AI, your Make.com scenario should simply return the response directly. Here's the corrected approach:
Route 1 - Check Availability Response:
json
{
"available_slots": "{{join(2.items.summary; ', ') }}",
"date_checked": "{{1.args.date}}",
"calendar": "Askar Research",
"total_events": "{{length(2.items) }}"
}
Route 2 - Cancel Meeting Response:
json
{
"status": "cancelled",
"event_id": "{{1.args.eventID}}",
"calendar": "Askar Research",
"message": "Meeting successfully cancelled from Askar Research calendar"
}
Route 3 - Reschedule Meeting Response:
json
{
"status": "rescheduled",
"event_id": "{{1.args.eventID}}",
"new_date": "{{1.args.new_date}}",
"new_time": "{{1.args.new_time}}",
"calendar": "Askar Research",
"message": "Meeting successfully rescheduled in Askar Research calendar"
}AI Evy
08/20/2025, 1:08 PMAI Evy
08/20/2025, 1:08 PMjoesturdy
08/20/2025, 1:09 PMAI Evy
08/20/2025, 1:09 PMAI Evy
08/20/2025, 1:09 PMname (text)
- call (collection)
- args (collection)
- eventID (text)
- date (text)
- new_date (text)
- new_time (text)
### Step 2: Add Router to Handle All Three Functions
1. Add Router Module after webhook
2. **Create 3 Routes**:
- Route 1: check_calendar_availability
- Route 2: cancel_meeting
- Route 3: reschedule_meeting
### Step 3: Configure Route Filters
Route 1 Filter (Check Availability) :
- Condition: {{1.name}} Text operator "Equal to" check_calendar_availability
Route 2 Filter (Cancel Meeting) :
- Condition: {{1.name}} Text operator "Equal to" cancel_meeting
Route 3 Filter (Reschedule Meeting) :
- Condition: {{1.name}} Text operator "Equal to" reschedule_meeting
### Step 4: Google Calendar Modules for Each Route
Route 1 - Check Availability:
1. Google Calendar > Search Events
- Calendar ID: Askar Research (or the exact Google Calendar ID)
- Time Min: {{1.args.date}}T00:00:00+00:00
- Time Max: {{1.args.date}}T23:59:59+00:00
- Single Events: true
2. Webhook Response (Direct JSON return) :
json
{
"available_slots": "{{join(2.items.summary; ', ') }}",
"date_checked": "{{1.args.date}}",
"calendar": "Askar Research",
"total_events": "{{length(2.items) }}",
"message": "Availability checked for Askar Research calendar"
}AI Evy
08/20/2025, 1:09 PMAskar Research
- Event ID: {{1.args.eventID}}
2. Webhook Response (Direct JSON return) :
json
{
"status": "cancelled",
"event_id": "{{1.args.eventID}}",
"calendar": "Askar Research",
"message": "Meeting successfully cancelled from Askar Research calendar"
}
Route 3 - Reschedule Meeting:
1. Google Calendar > Update an Event
- Calendar ID: Askar Research
- Event ID: {{1.args.eventID}}
- Start Date/Time: {{1.args.new_date}}T{{1.args.new_time}}:00+00:00
- End Date/Time: {{addHours(parseDate(1.args.new_date + "T" + 1.args.new_time + ":00+00:00"; "DD-MM-YYYYTHH:mm:ssZ") ; 1) }}
2. Webhook Response (Direct JSON return) :
json
{
"status": "rescheduled",
"event_id": "{{1.args.eventID}}",
"new_date": "{{1.args.new_date}}",
"new_time": "{{1.args.new_time}}",
"calendar": "Askar Research",
"message": "Meeting successfully rescheduled in Askar Research calendar"
}
### Step 5: Error Handling (Add to Each Route)
1. Add Error Handler to each Google Calendar module
2. Error Response (Direct JSON return) :
json
{
"status": "error",
"message": "{{2.message}}",
"function": "{{1.name}}",
"calendar": "Askar Research"
}AI Evy
08/20/2025, 1:09 PMAI Evy
08/20/2025, 1:09 PMAI Evy
08/20/2025, 1:09 PMjoesturdy
08/20/2025, 1:25 PMAI Evy
08/20/2025, 1:25 PMAI Evy
08/20/2025, 1:26 PMAvailable slots for {{1.args.date}} in Askar Research calendar: {{join(2.items.summary; ', ') }}. Total events found: {{length(2.items) }}
Route 2 - Cancel Meeting Response:
Meeting {{1.args.eventID}} successfully cancelled from Askar Research calendar
Route 3 - Reschedule Meeting Response:
Meeting {{1.args.eventID}} successfully rescheduled to {{1.args.new_date}} at {{1.args.new_time}} in Askar Research calendar
Error Response:
Error processing {{1.name}} request: {{2.message}}
The documentation confirms that responses can be in string, buffer, JSON object, or blob format, and all formats will be converted to string before sending to the LLM for further processing . Text responses are often easier for the AI agent to understand and relay to callers naturally.AI Evy
08/20/2025, 1:26 PMAI Evy
08/20/2025, 1:26 PMjoesturdy
08/20/2025, 1:56 PMAI Evy
08/20/2025, 1:56 PMAI Evy
08/20/2025, 1:57 PMMeeting successfully cancelled from your Askar Research calendar. You'll receive a confirmation shortly.
Reschedule Meeting Route:
Simple text response:
Your meeting has been rescheduled to [new_date] at [new_time]. Calendar updated successfully.
## Benefits of Using ChatGPT Module for Availability
The check availability function benefits most from natural language processing because:
- It needs to interpret multiple time slots
- Should provide context about availability patterns
- Can offer suggestions based on the results
- Makes the conversation flow more naturally
The cancel and reschedule functions are more straightforward confirmations that work well as simple text responses [(1) ]() [(2) ]() .
Unfortunately, I don't have the specific technical implementation details for custom function webhook responses in the available sources. For the exact webhook response format and ChatGPT module integration steps, you might want to check the complete custom function documentation.AI Evy
08/20/2025, 1:57 PMAI Evy
08/20/2025, 1:57 PMjoesturdy
08/20/2025, 1:59 PMjoesturdy
08/20/2025, 2:00 PMAI Evy
08/20/2025, 2:00 PMAI Evy
08/20/2025, 2:00 PMFree slots on {{1.args.date}}: {{join(2.items.start.dateTime; ', ') }} - Available times found in Askar Research calendar
The Retell AI agent will automatically interpret this data and communicate it naturally to the caller. Adding a ChatGPT module would create unnecessary complexity and potentially introduce latency into your webhook response .
The documentation shows that function results are "capped at 15000 characters to prevent overloading LLM context window," so even raw calendar data will be processed efficiently by the system .AI Evy
08/20/2025, 2:00 PMAI Evy
08/20/2025, 2:00 PMjoesturdy
08/20/2025, 2:01 PMAI Evy
08/20/2025, 2:01 PMAI Evy
08/20/2025, 2:02 PMFree/busy times for {{1.args.date}} in Askar Research calendar: {{join(2.items.summary; ' | ') }}. Total events: {{length(2.items) }}
## Route 2 - Cancel Meeting Response Body:
Meeting {{1.args.eventID}} has been successfully cancelled from Askar Research calendar
## Route 3 - Reschedule Meeting Response Body:
Meeting {{1.args.eventID}} rescheduled to {{1.args.new_date}} at {{1.args.new_time}} in Askar Research calendar
These simple text responses will be automatically processed by Retell AI's LLM, which converts all response formats to string before processing [(1) ]() . The LLM can then naturally communicate this information to the caller during the conversation .
For error handling, add this response body to each route's error handler:
Unable to process {{1.name}} request for Askar Research calendar. Please try again.
The responses are structured to provide clear, actionable information that the AI agent can easily relay to callers in natural conversation flow [(2) ]() .AI Evy
08/20/2025, 2:02 PMAI Evy
08/20/2025, 2:02 PMjoesturdy
08/21/2025, 6:20 PMAI Evy
08/21/2025, 6:20 PMAI Evy
08/21/2025, 6:20 PMeventID under args for passing the event ID to your webhook functions.
According to the custom function documentation, when defining parameters for your custom functions, the structure follows this format where function arguments are passed under args [(1) ]() :
json
{
"type": "object",
"properties": {
"eventID": {
"type": "string",
"description": "The Google Calendar event ID for context"
}
},
"required": ["eventID"]
}
In your Make.com webhook, you would access this as {{1.args.eventID}} as shown in your previous configurations .
The retell_llm_dynamic_variables are typically used for dynamic variables that are set at the agent or call level, such as customer information that gets injected into prompts [(2) ]() . The args section is specifically for function parameters that get passed when the LLM calls your custom function [(1) ]() .
So for your calendar functions, stick with accessing the event ID using {{1.args.eventID}} in your Make.com scenario .AI Evy
08/21/2025, 6:20 PMAI Evy
08/21/2025, 6:20 PMjoesturdy
08/21/2025, 6:21 PMAI Evy
08/21/2025, 6:21 PMAI Evy
08/21/2025, 6:22 PMargs which contains "the arguments for the custom function, as a JSON object" [(1) ]() [(2) ]() .
So if your reminder agent needs to reference the original event ID when calling the check availability function, you would need to:
1. Define the eventID parameter in your check availability function schema:
json
{
"type": "object",
"properties": {
"eventID": {
"type": "string",
"description": "The original event ID from the reminder"
},
"date": {
"type": "string",
"description": "Date to check availability for"
}
},
"required": ["eventID", "date"]
}
[(1) ]()
2. Access it in Make.com using {{1.args.eventID}} in your webhook scenario [(1) ]() [(2) ]() .
The key point is that the event ID needs to be explicitly passed as a function argument when the LLM calls your custom function - it won't automatically carry over from the initial trigger unless it's part of the function call parameters .AI Evy
08/21/2025, 6:22 PMAI Evy
08/21/2025, 6:22 PMjoesturdy
08/21/2025, 7:20 PMAI Evy
08/21/2025, 7:20 PMAI Evy
08/21/2025, 7:21 PMjson
{
"type": "object",
"properties": {
"eventID": {
"type": "string",
"description": "The original event ID from the reminder"
},
"date": {
"type": "string",
"description": "Date to check availability for (YYYY-MM-DD format) "
},
"time_min": {
"type": "string",
"description": "Minimum time to check (HH:MM format, e.g., '09:00') "
},
"time_max": {
"type": "string",
"description": "Maximum time to check (HH:MM format, e.g., '17:00') "
}
},
"required": ["eventID", "date", "time_min", "time_max"]
}
## Updated Reschedule Function Parameters:
json
{
"type": "object",
"properties": {
"eventID": {
"type": "string",
"description": "The Google Calendar event ID to reschedule"
},
"new_datetime": {
"type": "string",
"description": "New date and time in ISO format (YYYY-MM-DDTHH:MM:SS, e.g., '2025-03-15T14:30:00') "
}
},
"required": ["eventID", "new_datetime"]
}
## Updated Make.com Configuration:
Route 1 - Check Availability Google Calendar Module:
- Calendar ID: Askar Research
- Time Min: {{1.args.date}}T{{1.args.time_min}}:00+00:00
- Time Max: {{1.args.date}}T{{1.args.time_max}}:00+00:00
- Single Events: true
Route 3 - Reschedule Meeting Google Calendar Module:
- Calendar ID: Askar Research
- Event ID: {{1.args.eventID}}
- Start Date/Time: {{1.args.new_datetime}}+00:00
- End Date/Time: {{addHours(parseDate(1.args.new_datetime + "+00:00"; "YYYY-MM-DDTHH:mm:ssZ") ; 1) }}
## Updated Webhook Response Bodies:
Check Availability Response:AI Evy
08/21/2025, 7:21 PMAvailable slots between {{1.args.time_min}} and {{1.args.time_max}} on {{1.args.date}} in Askar Research calendar: {{join(2.items.summary; ' | ') }}. Total events: {{length(2.items) }}
Reschedule Response:
Meeting {{1.args.eventID}} rescheduled to {{1.args.new_datetime}} in Askar Research calendar
This structure allows your Google Calendar module to properly filter availability within your specified time range and handles the reschedule function with a single datetime parameter .AI Evy
08/21/2025, 7:21 PMAI Evy
08/21/2025, 7:21 PMjoesturdy
08/21/2025, 7:26 PMAI Evy
08/21/2025, 7:26 PMAI Evy
08/21/2025, 7:26 PMjson
{
"type": "object",
"properties": {
"eventID": {
"type": "string",
"description": "The original event ID from the reminder"
},
"date": {
"type": "string",
"description": "Date to check availability for (YYYY-MM-DD format) "
},
"time_min": {
"type": "string",
"description": "Minimum time to check (HH:MM format, e.g., '09:00') "
},
"time_max": {
"type": "string",
"description": "Maximum time to check (HH:MM format, e.g., '17:00') "
}
},
"required": [
"eventID",
"date",
"time_min",
"time_max"
]
}
[(1) ]()
## Updated Reschedule Function Parameters:
json
{
"type": "object",
"properties": {
"eventID": {
"type": "string",
"description": "The Google Calendar event ID to reschedule"
},
"new_datetime": {
"type": "string",
"description": "New date and time in ISO format (YYYY-MM-DDTHH:MM:SS, e.g., '2025-03-15T14:30:00') "
}
},
"required": [
"eventID",
"new_datetime"
]
}
## Cancel Meeting Function Parameters (for completeness) :
json
{
"type": "object",
"properties": {
"eventID": {
"type": "string",
"description": "The Google Calendar event ID to cancel"
}
},
"required": [
"eventID"
]
}AI Evy
08/21/2025, 7:26 PM"type": "object", to the top level of the JSON schema . The schemas above follow the correct format with proper JSON structure and required fields array formatting.AI Evy
08/21/2025, 7:26 PMAI Evy
08/21/2025, 7:26 PMjoesturdy
08/21/2025, 7:33 PMAI Evy
08/21/2025, 7:33 PMAI Evy
08/21/2025, 7:33 PMjson
{
"type": "object",
"properties": {
"eventID": {
"type": "string",
"description": "The original event ID from the reminder"
},
"date_time_min": {
"type": "string",
"description": "Minimum date and time to check (YYYY-MM-DDTHH:MM:SS format, e.g., '2025-03-15T09:00:00') "
},
"date_time_max": {
"type": "string",
"description": "Maximum date and time to check (YYYY-MM-DDTHH:MM:SS format, e.g., '2025-03-15T17:00:00') "
}
},
"required": [
"eventID",
"date_time_min",
"date_time_max"
]
}
## Updated Make.com Configuration:
Route 1 - Check Availability Google Calendar Module:
- Calendar ID: Askar Research
- Time Min: {{1.args.date_time_min}}+00:00
- Time Max: {{1.args.date_time_max}}+00:00
- Single Events: true
## Updated Webhook Response Body:
Available slots between {{1.args.date_time_min}} and {{1.args.date_time_max}} in Askar Research calendar: {{join(2.items.summary; ' | ') }}. Total events: {{length(2.items) }}
This structure combines the date and time into single parameters that can be directly used by Google Calendar's get busy/free times module .AI Evy
08/21/2025, 7:33 PMAI Evy
08/21/2025, 7:33 PMjoesturdy
08/21/2025, 7:56 PMAI Evy
08/21/2025, 7:56 PMAI Evy
08/21/2025, 7:56 PM{{current_time}} dynamic variable to provide time and date context to your agent [(1) ]() .
According to a Discord discussion, the function {{current_time}} is an inbuilt feature for the LLM to know the current time and date . You can also specify timezone formats like {{current_time_America/Bogota}} for specific timezones .
However, there are some considerations:
- The {{current_time}} variable works well, but sometimes the agent may mention that it's converting the time, which can be addressed through additional prompting
- Some users have reported issues with timezone-specific formats not working as expected
For your calendar integration functions, the agent will have access to current time context, which helps it understand scheduling requests and make appropriate function calls with proper date/time parameters.AI Evy
08/21/2025, 7:56 PMAI Evy
08/21/2025, 7:56 PMjoesturdy
08/21/2025, 8:00 PMAI Evy
08/21/2025, 8:00 PMAI Evy
08/21/2025, 8:00 PM{{current_time}} dynamic variable covers both current time and day, and it's completely built-in - you don't need to pass it from any Make.com automation [(1) ]() .
According to the official documentation, Retell AI provides several default system dynamic variables that are automatically available :
- {{current_time}} - current time in America/Los_Angeles timezone with format like "Monday, March 24, 2025 at 02:53:01 PM PDT" [(1) ]() [(2) ]()
- {{current_time_[timezone]}} - current time in specified timezone, for example: {{current_time_Australia/Sydney}}, {{current_time_America/New_York}}
The documentation also shows there's a {{current_calendar}} variable that provides a 14-day calendar view in America/Los_Angeles timezone [(1) ]() , and timezone-specific calendar variables like {{current_calendar_[timezone]}} .
These are all built-in system variables that Retell AI automatically provides - no external automation required . You can use them directly in your prompts, begin messages, tool descriptions, or any other place where dynamic variables are supported .
For your calendar scheduling agent, you can simply reference {{current_time}} in your prompt to give the agent context about the current date and time without any additional setup .AI Evy
08/21/2025, 8:00 PMAI Evy
08/21/2025, 8:00 PMjoesturdy
08/21/2025, 8:01 PMAI Evy
08/21/2025, 8:01 PMAI Evy
08/21/2025, 8:02 PM{{current_time}} variable will not automatically be UK time just because you signed up to Retell AI in the UK. You need to specify the timezone [(1) ]() .
According to the documentation, the default {{current_time}} variable provides current time in America/Los_Angeles timezone . To get UK time, you need to use the timezone-specific format:
{{current_time_Europe/London}}
The documentation shows you can specify any timezone using the format {{current_time_[timezone]}} . For example:
- {{current_time_Australia/Sydney}}
- {{current_time_America/New_York}}
- {{current_time_Europe/London}}
This will give you the current time in the specified timezone with a format like "Thursday, March 28, 2024 at 11:46:04 PM GMT" .
You can use this timezone-specific dynamic variable in your prompts, begin messages, tool descriptions, or any other place where dynamic variables are supported .AI Evy
08/21/2025, 8:02 PMAI Evy
08/21/2025, 8:02 PMAI Evy
08/21/2025, 9:41 PMjoesturdy
08/21/2025, 9:41 PMAI Evy
08/21/2025, 9:41 PMjson
{
"type": "object",
"properties": {
"eventID": {
"type": "string",
"description": "The Google Calendar event ID to reschedule"
},
"new_datetime": {
"type": "string",
"description": "New date and time in ISO format (YYYY-MM-DDTHH:MM:SS, e.g., '2025-03-15T14:30:00') "
},
"end_date": {
"type": "string",
"description": "End date for the rescheduled event (YYYY-MM-DD format, e.g., '2025-03-15') "
}
},
"required": [
"eventID",
"new_datetime",
"end_date"
]
}
[(1) ]() , [(2) ]()
## Updated Make.com Configuration for Reschedule:
Route 3 - Reschedule Meeting Google Calendar Module:
- Calendar ID: Askar Research
- Event ID: {{1.args.eventID}}
- Start Date/Time: {{1.args.new_datetime}}+00:00
- End Date: {{1.args.end_date}}
## Updated Webhook Response Body:
Meeting {{1.args.eventID}} rescheduled to {{1.args.new_datetime}} ending on {{1.args.end_date}} in Askar Research calendar
This structure allows you to receive the end_date parameter in Make.com as {{1.args.end_date}} to resolve your error. The function parameters are defined using JSON schema format as documented in the custom function guides [(1) ]() [(2) ]() .AI Evy
08/21/2025, 9:41 PMAI Evy
08/21/2025, 9:41 PM