newdawnagencies_09124
10/29/2025, 3:24 PMAI Evy
10/29/2025, 3:24 PMAI Evy
10/29/2025, 3:24 PMcall_analyzed webhooks:
Understanding Webhook Timing
Retell sends three separate webhook events during/after a call: call_started, call_ended, and call_analyzed [(1) ]() . The call_analyzed event is triggered when call analysis is complete and includes the full call data including the call_analysis object . This webhook comes last, after the call ends [(2) ]() .
Common Filter Issues
The most common issue is using a case-sensitive filter condition . When filtering for the call_analyzed event type, you need to use a case-insensitive text operator .
In Make.com specifically, you should:
1. Use the "Text operator: Equal to (case insensitive) " condition for your filter
2. Ensure your scenario is "on" (activated) , not just using "run once"
3. The call_analyzed webhook won't appear in the editor in real time - check your webhook history instead
Webhook Behavior
- Webhooks are triggered in order but are non-blocking [(1) ]()
- If call_started fails, call_ended and call_analyzed will still trigger
- The webhook has a 10-second timeout and will retry up to 3 times if no success status (2xx) is received
- Calls that don't connect (like dial_failed, dial_no_answer, dial_busy) won't trigger call_started but will still trigger call_ended and call_analyzed
Try adjusting your filter to use case-insensitive matching - this resolved the issue for others experiencing the same problem [(2) ]() .AI Evy
10/29/2025, 3:24 PMAI Evy
10/29/2025, 3:24 PMnewdawnagencies_09124
10/29/2025, 3:31 PMAI Evy
10/29/2025, 3:31 PMAI Evy
10/29/2025, 3:31 PMcall_started, call_ended, and call_analyzed) [(3) ]() [(1) ]() , clicking "Run once" will capture whichever webhook arrives first - typically call_started [(1) ]() [(2) ]() .
The Solution
Instead of using "Run once":
1. Turn your scenario "on" (activate it) [(2) ]()
2. Make a test call to your agent
3. Use "Run again using Existing Data" until it hits call_analyzed [(1) ]()
4. Check your webhook history (not the editor) to see the call_analyzed event [(2) ]()
Important Notes
- You won't see call_analyzed in the editor in real-time
- The filter condition should use "Text operator: Equal to (case insensitive) "
- The scenario needs to remain "on" to receive all three webhook events
- Disable "Immediately as data arrives" if you're testing with existing data [(1) ]()
The key isAI Evy
10/29/2025, 3:31 PMAI Evy
10/29/2025, 3:31 PMAI Evy
10/29/2025, 3:31 PMnewdawnagencies_09124
10/29/2025, 3:34 PMnewdawnagencies_09124
10/29/2025, 3:34 PMAI Evy
10/29/2025, 3:34 PMAI Evy
10/29/2025, 3:35 PMcall_started, call_ended, and call_analyzed [(1) ]() . The call_analyzed event is triggered when call analysis is complete and includes the full call_analysis object .
Check the Webhook Payload Structure
The webhook payload should look like this :
json
{
"event": "call_analyzed",
"call": {
"call_type": "phone_call",
"call_id": "...",
"call_analysis": {
// analysis data here
}
}
}
Make.com-Specific Troubleshooting
Since the filter option keeps disappearing, try these steps:
1. Don't use "Run once" - This only captures one webhook event. Instead, turn your scenario fully "on"
2. Make a test call to generate all three webhook events
3. Check your webhook history in Make.com (not the editor) to verify call_analyzed events are arriving
4. Use case-insensitive text matching when filtering on the event field
Alternative Approach
If the filter continues to disappear, consider using Make.com's Router module instead:
- Route based on the event field in the webhook payload
- Create separate paths for call_started, call_ended, and call_analyzed
- Send only the call_analyzed path to Google Sheets
The webhook has a 10-second timeout and will retry up to 3 times if no success status (2xx) is received . Make sure your Make.com scenario is responding quickly enough.
If you're still experiencing issues after trying these steps, I'd recommend checking Make.com's webhook logs to see exactly what data structure is being received.AI Evy
10/29/2025, 3:35 PMAI Evy
10/29/2025, 3:35 PMnewdawnagencies_09124
10/29/2025, 3:36 PMAI Evy
10/29/2025, 3:36 PMAI Evy
10/29/2025, 3:36 PMcall_analyzed event you need.
For specific Make.com interface questions, I recommend consulting Make.com's documentation or support, as my expertise is focused on Retell AI functionality.
If you have questions about the Retell AI webhook configuration itself or the webhook payload structure, I'd be happy to help with those.AI Evy
10/29/2025, 3:36 PMAI Evy
10/29/2025, 3:36 PMnewdawnagencies_09124
10/29/2025, 6:02 PMAI Evy
10/29/2025, 6:02 PMAI Evy
10/29/2025, 6:02 PMcall_started, call_ended, and call_analyzed [(1) ]() . The call_analyzed event is triggered when call analysis is complete and includes the full call data including the call_analysis object .
Regarding Make.com activation:
The "Run once" button you're seeing is for testing purposes only. To have your scenario continuously listen for webhooks (which is what you need to capture all three webhook events from Retell) , you'll need to find the scheduling/activation settings in Make.com. This is typically:
- A scheduling option in your scenario settings
- An "ON" toggle that may be in a different location than the main editor
- A "Schedule" or "Activate" option in the scenario menu
Since this is specific to Make.com's interface and not Retell AI functionality, I recommend:
1. Checking Make.com's documentation for "activating scenarios" or "scheduling scenarios"
2. Contacting Make.com support for interface-specific guidance
3. Looking in your scenario settings menu (often accessed via a gear icon or settings button)
For your Retell AI webhook integration, once your Make.com scenario is properly activated, it should receive all three webhook events , and you'll be able to filter for call_analyzed to send only that data to your Google Sheet.
If you have questions about the Retell AI webhook payload structure or configuration, I'm happy to help with those aspects.AI Evy
10/29/2025, 6:02 PMAI Evy
10/29/2025, 6:02 PMnewdawnagencies_09124
10/29/2025, 6:04 PMnewdawnagencies_09124
10/29/2025, 6:05 PMAI Evy
10/29/2025, 6:05 PMAI Evy
10/29/2025, 6:05 PMcall_started, call_ended, and call_analyzed [(1) ]() . The call_analyzed event is triggered when call analysis is complete and includes the call_analysis object .
The webhook payload structure looks like this :
json
{
"event": "call_analyzed",
"call": {
"call_id": "...",
"call_analysis": {
"call_summary": "...",
"in_voicemail": false,
"user_sentiment": "Positive",
"call_successful": true,
"custom_analysis_data": {}
}
}
}AI Evy
10/29/2025, 6:05 PMcall_analyzed [(2) ]() . Using a case-sensitive filter causes the filter to fail even when the event type matches .
Testing Your Filter Setup
Now that your scheduling is on, here's how to test properly [(2) ]() [(3) ]() :
1. Make a test call to your Retell agent
2. Wait for the call to complete - the call_analyzed webhook comes last, after the call ends [(2) ]()
3. Check your webhook history in Make.com (not the live editor) - you won't see call_analyzed in real-time in the editor
4. Use "Run again using Existing Data" in Make.com to cycle through the stored webhook events until you hit the call_analyzed event [(3) ]()
Why Your Filter Keeps Reverting
When you click "Run once" in Make.com, it only captures one webhook event - typically call_started since it arrives first [(2) ]() . This is why your filter options keep reverting. With scheduling on, your scenario will now receive all three webhook events .
Verifying Filter Success
After making a test call, check that:
- Your webhook history shows all three events (call_started, call_ended, call_analyzed)
- The filter only allows the call_analyzed event through to Google Sheets
- The custom_analysis_data field is populated in the data sent to your sheet [(3AI Evy
10/29/2025, 6:05 PMAI Evy
10/29/2025, 6:05 PMnewdawnagencies_09124
10/29/2025, 6:08 PMAI Evy
10/29/2025, 6:08 PMAI Evy
10/29/2025, 6:08 PMcall_analyzed webhook is sent last, after the call ends
3. Wait a few moments for the analysis to complete
Check Your Results
- Go to your webhook history in Make.com (not the live editor)
- You should see three separate webhook executions: call_started, call_ended, and call_analyzed
- Only the call_analyzed event should pass through your filter to Google Sheets
Important: Verify Your Filter Operator
The most critical issue others faced was using a case-sensitive filter. Make sure you're using the "Text operator: Equal to (case insensitive) " option in Make.com . This was the solution that resolved the filter reverting issue for other users .
If Data Still Gets Stuck
If your filter still isn't working after the test call:
- Double-check that the filter operator is set to case-insensitive
- Verify the webhook payload shows "event": "call_analyzed" in your webhook history [(2) ]()
- Use "Run again using Existing Data" in Make.com to cycle through the stored webhook events until you find the call_analyzed one [(1) ]()
The key is that with scheduling on, your scenario will now continuously receive all three webhook events , and your filter should consistently catch only the call_analyzed events.AI Evy
10/29/2025, 6:08 PMAI Evy
10/29/2025, 6:08 PMnewdawnagencies_09124
10/29/2025, 6:09 PMnewdawnagencies_09124
10/29/2025, 6:09 PMAI Evy
10/29/2025, 6:09 PMAI Evy
10/29/2025, 6:10 PMcall_analyzed webhook last, after the call ends [(2) ]() [(1) ]()
3. Check your webhook history in Make.com (not the live editor) [(1) ]()
Why not "Run once"?
"Run once" only captures one webhook event - typically call_started since it arrives first. This is why your filter kept reverting. Retell sends three separate webhook events per call: call_started, call_ended, and call_analyzed. [(2) ]() [(1) ]()
With scheduling on, your scenario will continuously receive all three webhook events automatically. [(1) ]() After your test call completes, you can use "Run again using Existing Data" in Make.com to cycle through the stored webhook events until you see the call_analyzed event. [(3) ]()
The webhook has a 10-second timeout and will retry up to 3 times if no success status (2xx) is received. [(2) ]()AI Evy
10/29/2025, 6:10 PMAI Evy
10/29/2025, 6:10 PMnewdawnagencies_09124
10/29/2025, 6:12 PMnewdawnagencies_09124
10/29/2025, 6:13 PMAI Evy
10/29/2025, 6:13 PMAI Evy
10/29/2025, 6:13 PMcall_started, call_ended, and call_analyzed. [(2) ]()
What happens with scheduling on:
- Your Make.com scenario continuously listens for webhooks [(1) ]()
- All three webhook events are automatically received [(2) ]()
- Your filter will process each event and only pass call_analyzed to Google Sheets
To test your setup:
1. Make a test call to your Retell agent
2. Let the call complete fully
3. Check your webhook history in Make.com to verify all three events arrived [(1) ]()
The call_analyzed event is triggered when call analysis is complete and includes the full call data including the call_analysis object. [(2) ]() This webhook comes last, after the call ends. [(1) ]()
Pressing "Run once" would only capture a single webhook event (typically call_started since it arrives first) , which is why your filter kept reverting.AI Evy
10/29/2025, 6:13 PMAI Evy
10/29/2025, 6:13 PMnewdawnagencies_09124
10/29/2025, 6:14 PMAI Evy
10/29/2025, 6:14 PMAI Evy
10/29/2025, 6:14 PMcall_started, call_ended, and call_analyzed. The payload structure looks like this:
json
{
"event": "call_analyzed",
"call": {
"call_type": "phone_call",
"call_id": "...",
"call_analysis": {
// analysis data here
}
}
}AI Evy
10/29/2025, 6:14 PMAI Evy
10/29/2025, 6:14 PMAI Evy
10/29/2025, 6:14 PMnewdawnagencies_09124
10/29/2025, 6:20 PMAI Evy
10/29/2025, 6:20 PMAI Evy
10/29/2025, 6:20 PMcall_started event came through successfully.
What's happening:
Your webhook is working, but you're only seeing call_started because that's the first webhook event Retell sends. Retell sends three separate webhook events per call in this order:
1. call_started - when the call begins
2. call_ended - when the call completes
3. call_analyzed - when analysis is complete (this is the one you want)
The issue:
Your filter is correctly configured to only pass call_analyzed events to Google Sheets, which means the call_started event you're seeing in your history was correctly blocked by your filter. This is actually working as intended.
To verify everything is working:
1. Complete a full test call - let it run and end naturally
2. Wait 30-60 seconds after the call ends for the analysis to complete
3. Check your webhook history again - you should now see three separate bundles:
- Bundle 1: event: call_started
- Bundle 2: event: call_ended
- Bundle 3: event: call_analyzed
4. Only Bundle 3 (call_analyzed) should pass through your filter to Google Sheets
The webhook has a 10-second timeout and will retry up to 3 times if no success status (2xx) is received. Your scenario is receiving webhooks correctly - you just need to complete a full call to see all three events arrive.AI Evy
10/29/2025, 6:20 PMAI Evy
10/29/2025, 6:20 PMnewdawnagencies_09124
10/29/2025, 6:23 PMAI Evy
10/29/2025, 6:23 PMAI Evy
10/29/2025, 6:23 PMcall_started events, there are a few things to verify on the Retell AI side:
Check if the call actually completed
When a call did not connect (like calls with dial_failed, dial_no_answer, dial_busy disconnection reason) , it will not have its call_started webhook triggered. However, it will still have its call_ended and call_analyzed webhook triggered.
Verify your webhook is configured correctly
The webhook will POST the payload to your endpoint. The webhook has a timeout of 10 seconds. If within 10 seconds no success status (2xx) is received, the webhook will be retried, up to 3 times.
Important webhook ordering behavior
The webhook will be triggered in order, but is not blocking. For example, if the webhook for call_started is not successful, Retell can still trigger call_ended webhook.
Verify the call completed successfully
Make sure:
- The test call actually connected and completed (not dial_failed, dial_no_answer, or dial_busy)
- You waited 30-60 seconds after the call ended for the analysis to complete
- Your Make.com scenario is returning a 2xx success status within 10 seconds
Check for webhook payload size issues
In some cases with longer calls, the call_analyzed webhook can fail if the request payload is too large. One user experienced an error: "Request failed with status code 413" with the message "request entity too large". This happened because their server rejected the request due to size.
If your calls are longer than 5 minutes, you may need to increase your server's request size limit to receive the call_analyzed webhook.
Next steps:
1. Make another test call and let it complete fully
2. Check your Make.com webhook logs to see if call_ended and call_analyzed events are arriving but failing
3. Verify your Make.com scenario is responding with 2xx statAI Evy
10/29/2025, 6:23 PMAI Evy
10/29/2025, 6:24 PMAI Evy
10/29/2025, 6:24 PMnewdawnagencies_09124
10/29/2025, 7:08 PMAI Evy
10/29/2025, 7:08 PMAI Evy
10/29/2025, 7:08 PM{{current_time}} - current time in America/Los_Angeles (e.g., "Monday, March 24, 2025 at 02:53:01 PM PDT")
- {{current_time_[timezone]}} - current time in a given timezone (e.g., {{current_time_Australia/Sydney}}, {{current_time_America/New_York}})
Best Practice from Community:
One user successfully resolved timezone issues by explicitly instructing the agent to convert times in their prompt: [(2) ]()
## Step-by-Step Instructions
3. **Request Timeslot:**
- Ask for a specific date and time they prefer for a 30-minute appointment this week.
4. **Check Availability:**
- **Convert today's date: `{{current_time}}` to Central Time (America/Chicago, CST/CDT) before making the request to ensure the requested time is not in the past.**
- **Check availability in Central Time (CST/CDT) ** by calling function `check_availability_cal_3`.AI Evy
10/29/2025, 7:08 PM{{current_time_[timezone]}} dynamic variable with your specific timezone [(3) ]() [(1) ]()
- Explicitly instruct the agent in your prompt to convert times to the correct timezone before making function calls [(2) ]()
- Include timezone conversion instructions in state-specific prompts where time-sensitive operations occur
If you're still experiencing issues after implementing these solutions, the problem may be with how your custom webhook/tool is returning the time data rather than with Retell AI's time handling.
**AI Evy
10/29/2025, 7:08 PMAI Evy
10/29/2025, 7:08 PMnewdawnagencies_09124
10/29/2025, 7:14 PMAI Evy
10/29/2025, 7:14 PMAI Evy
10/29/2025, 7:14 PMstart_timestamp column are not random - they're Unix timestamps in milliseconds. [(1) ]()
What is start_timestamp?
start_timestamp is the begin timestamp (milliseconds since epoch) of the call. It's available after the call starts.
For example, a value like 1703302407333 represents milliseconds since January 1, 1970 (Unix epoch) .
How to Convert to Readable Date/Time in Google Sheets:
You need to convert the Unix timestamp (milliseconds) to a readable date/time format in Google Sheets. Use this formula:
=((A2/1000) /86400) +DATE(1970,1,1)
Where A2 is the cell containing your start_timestamp value.
Step-by-step:
1. Divide by 1000 to convert milliseconds to seconds
2. Divide by 86400 to convert seconds to days
3. Add to DATE(1970,1,1) to get the actual date/time
Format the result:
- Right-click the cell → Format → Number → Date time
Alternative: Convert in Make.com Before Sending to Google Sheets
You can also format the timestamp in Make.com before it reaches Google Sheets using the formatDate() function to convert the Unix timestamp to your preferred format.
Why Retell Uses Unix Timestamps:
Unix timestamps are standard in APIs because they're timezone-agnostic and precise. The start_timestamp field captures the exact moment the call began in a universally understood format.AI Evy
10/29/2025, 7:14 PMAI Evy
10/29/2025, 7:14 PMnewdawnagencies_09124
10/29/2025, 7:16 PMAI Evy
10/29/2025, 7:16 PMAI Evy
10/29/2025, 7:17 PMformatDate() function or timestamp conversion methods in the provided sources. However, I can explain the general approach based on what's available.
The Concept:
In Make.com, you'll need to add a module between your Retell webhook and Google Sheets to transform the start_timestamp value before it reaches your sheet.
General Steps:
1. Add a "Set Variable" or "Text Parser" module between your webhook and Google Sheets module
2. Use Make.com's built-in functions to convert the Unix timestamp (milliseconds) to a readable date format
3. Map the converted value to your Google Sheets column instead of the raw start_timestamp
What You're Converting:
The start_timestamp from Retell AI is the begin timestamp in milliseconds since epoch, available after the call starts [(1) ]() .
Make.com Approach:
Look for Make.com's date/time formatting functions in their function list. You'll typically need to:
- Divide the timestamp by 1000 (convert milliseconds to seconds)
- Apply a date formatting function to convert to your preferred format
Since the specific Make.com implementation details aren't in the Retell AI documentation, I recommend checking Make.com's documentation for their formatDate() function or reaching out to their support for the exact syntax.
Alternative:
If Make.com's date conversion proves difficult, the Google Sheets formula approach I mentioned earlier is reliable and doesn't require additional Make.com configuration.
For Make.com-specific questions about timestamp conversion, you may want to contact Make.com support or check their function documentation directly.AI Evy
10/29/2025, 7:27 PMAI Evy
10/29/2025, 7:27 PMnewdawnagencies_09124
10/30/2025, 5:06 PMAI Evy
10/30/2025, 5:06 PMAI Evy
10/30/2025, 5:06 PM1427703
2. **API Key**: Confirm your Cal.com API Key is correct - you can find this in Settings → Developer → API Keys in your Cal.com dashboard
3. **Tool Description**: Make sure your tool description clearly explains when to book (example: "Book the appointment for 30-minute consultation calls")
4. **Timezone**: If you added an optional timezone in the function configuration, verify it's correct
Check Your Prompt:
Your prompt should explicitly tell the agent when to invoke the booking function. For example:
When user selected a slot, please book the appointment by calling the `book_appointment` function.AI Evy
10/30/2025, 5:06 PM{"error":"Error calling Cal Event Type API: Axios Error: error code: ECONNABORTED, error message: timeout of 10000ms exceeded"} [(4) ]()
- **"Slot not available" errors**: The agent may incorrectly report slots as unavailable even when they exist [(3) ]()
Troubleshooting Steps:
1. **Test Prompt Consistency**: Use the LLM playground to test if your agent consistently recognizes booking scenarios
2. **Check the call logs**: Review the call ID in your Retell dashboard to see the exact error message
3. **Verify slot availability**: Make sure the requested time slot is actually available in your Cal.com calendar
If the issue persists after verifying these settings, check your call logs for specific error messages that can help identify whether it's a Cal.com API issue, a prompt recognition issue, or a configuration problem.AI Evy
10/30/2025, 5:06 PMAI Evy
10/30/2025, 5:06 PMnewdawnagencies_09124
10/30/2025, 5:09 PMAI Evy
10/30/2025, 5:09 PMAI Evy
10/30/2025, 5:09 PMcheck_availability to get available slots
2. Let the user select from the available slots
3. Only then call book_appointment with a confirmed available time
Date/Time Issues: [(1) ]()
One community member resolved similar booking errors by ensuring their agent had the current date and time. Make sure you're using Retell's dynamic variables:
- `{{current_time}}AI Evy
10/30/2025, 5:09 PM{{current_time_[timezone]}} for your specific timezone (e.g., {{current_time_America/New_York}})
The error is coming from Cal.com's API, not Retell AI - the booking request is reaching Cal.com successfully, but Cal.com is rejecting it due to availability conflicts.AI Evy
10/30/2025, 5:09 PMAI Evy
10/30/2025, 5:09 PMnewdawnagencies_09124
10/30/2025, 5:30 PMAI Evy
10/30/2025, 5:30 PMAI Evy
10/30/2025, 5:31 PMcheck_availability function [(1) ]()
2. **In Cal.com**: Verify your Cal.com account timezone settings match what you've configured in Retell [(2) ]()
Common Timezone Issues: [(3) ]()
Community members have reported that the check availability function can show incorrect start and end times when timezone settings aren't properly synchronized . One user noted: "start_time and end_time are not correct. It was 1hr period but now they are same. So they are always not available."
Troubleshooting Steps:
1. **Check your function configuration**: Verify both the API Key and Event Type ID are correct, and confirm the timezone setting [(1) ]() [(2) ]()
2. **Verify Event Type ID**: The Event Type ID is the number in your Cal.com URL (e.g., in ` the ID is 1427703) [(1) ]()
3. **Check for whitespace in API key**: One community member resolved a similar 403 error by ensuring there was no whitespace in their Cal.com API key from copy-pasting [(4) ](AI Evy
10/30/2025, 5:31 PMWhen user stated a time range, please check the calendar availability by calling the `check_calendar_availability` function and let user know whether that range work or not.
The mismatch between what Cal.com shows as available (9-5) and what the check availability function returns suggests the times are being converted incorrectly due to timezone differences. Ensure both platforms are using the same timezone reference.
---
**AI Evy
10/30/2025, 5:31 PMAI Evy
10/30/2025, 5:31 PMnewdawnagencies_09124
10/30/2025, 5:34 PMnewdawnagencies_09124
10/30/2025, 5:35 PMAI Evy
10/30/2025, 5:35 PMAI Evy
10/30/2025, 5:36 PM{{current_time}} for current time
- {{current_time_[timezone]}} for your specific timezone
2. API Request Structure Issues [(2) ]() [(3) ]()
The Cal.com booking API is very particular about the request structure. Users have reported that detailed prompting is required to get the API structure correct, specifically for the location field [(2) ]() .
One user resolved similar 400 errors by explicitly telling the agent to pass location.type and location.integration in the correct format .
3. Cal.com API Validation Errors [(3) ]()
From the error structure you're seeing, CaAI Evy
10/30/2025, 5:36 PMlocation field and date/time format
4. **Test with a different time slot**: Try booking at a completely different time to rule out a specific time conflict
The error is coming from Cal.com's API validation, not Retell AI - your booking request is reaching Cal.com, but Cal.com is rejecting it due to either a formatting issue or an actual availability conflict that isn't being detected by the check availability function.
---AI Evy
10/30/2025, 5:36 PMAI Evy
10/30/2025, 5:36 PMnewdawnagencies_09124
10/30/2025, 7:23 PMAI Evy
10/30/2025, 7:23 PMAI Evy
10/30/2025, 7:24 PM1427703)
- **API Key**: Rotate your Cal.com API key and update it in Retell - this has resolved similar persistent errors for other users [(4) ]()
- **Check for whitespace**: Ensure there's no whitespace in your API key from copy-pasting [(3) ]()
2. Examine the Exact Booking Request
Look at your call logs and identify:
- The exact date/time format being sent to Cal.com
- The location field structure in the booking request
- Any other parameters being passed
3. Common Root Causes from Community [(2) ]() [(3) ]()
The persistent "User either already has booking at this time or is not available" error with a working availability check typically means:
- **Date/time calculation issue**: The agent may be calculating the date correctly but sending it to Cal.com in a format that Cal.com interprets differently (e.g., timezone offset issues) [(2) ]()
- **Location field structure**: Users haveAI Evy
10/30/2025, 7:24 PMWhen user selected a slot, please book the appointment by calling the `book_appointment` function.
Next Steps:
1. Share the exact booking request parameters from your call logs (the actual JSON being sent to Cal.com)
2. Try rotating your Cal.com API key
3. Test booking a slot that's several days in the future (not today) to rule out minimum notice issues
The fact that availability checking works but booking fails suggests the issue is in how the booking request is being formatted or a Cal.com account-level restriction that's not visible in availability checks [(2) ]() [(3) ]() .AI Evy
10/30/2025, 7:24 PMlocation set correctly, explicitly telling the agent to pass location.type and location.integration [(3) ]()
4. Verify No Actual Conflicts
Even though you believe you're available:
- Check your Cal.com calendar directly at the exact time being requested
- Look for any connected calendar events (Google Calendar, Outlook, etc.) that might be blocking
- Verify no buffer times or minimum notice periods are preventing the booking
5. Update Your Agent Prompt [(1) ]()
Your prompt should explicitly instruct when to book:AI Evy
10/30/2025, 7:24 PMAI Evy
10/30/2025, 7:24 PMnewdawnagencies_09124
10/30/2025, 7:32 PMAI Evy
10/30/2025, 7:32 PMAI Evy
10/30/2025, 7:32 PMWhen checking availability or booking appointments:
- Convert today's date from {{current_time_[your_timezone]}} to [your timezone] before making the request
- Ensure the requested time is not in the past
- Check availability in [your timezone] by calling the functionAI Evy
10/30/2025, 7:32 PM{{current_time_[your_timezone]}} [(2) ]()
2. Set the timezone field in both your check_availability and book_appointment function configurations [(1) ]()
3. Add explicit timezone conversion instructions in your prompt [(3) ]()
4. Test by asking the agent what time it is - it should now match your actual time
This timezone mismatch is a well-documented issue in the community and fixing it should resolve your persistent booking failures. [(1) ]() [(2) ]()
---
**AI Evy
10/30/2025, 7:32 PMcheck_availability and book_appointment functions in Retell AI, you must set the optional timezone field to ensure the AI uses the correct timezone for date calculations.
2. Use Dynamic Time Variables in Your Prompt [(2) ]()
Add the correct timezone-specific dynamic variable to your agent's prompt:
# Context
current_time: {{current_time_[timezone]}}
Replace [timezone] with your actual timezone, for example:
- {{current_time_America/New_York}} for Eastern Time
- {{current_time_America/Chicago}} for Central Time
- {{current_time_America/Los_Angeles}} for Pacific Time
- {{current_time_Australia/Sydney}} for Sydney
3. Add Explicit Timezone Conversion Instructions [(3) ]()
In your prompt, explicitly instruct the agent to convert times before making booking requests:AI Evy
10/30/2025, 7:32 PMAI Evy
10/30/2025, 7:32 PMnewdawnagencies_09124
10/30/2025, 7:41 PMAI Evy
10/30/2025, 7:41 PMAI Evy
10/30/2025, 7:41 PMjson
"default_dynamic_variables": {
"customer_name": "John Doe",
"company_name": "Retell Inc"
}
2. Collect Information During the Call
In your conversation flow, create a node that collects the client's information before the booking node. Your prompt should explicitly instruct the agent to gather this data:
Ask the customer for their full name and business name before proceeding to book the appointment.
[(3) ]()
3. Store Collected Information in Dynamic Variables
Once collected, these values can be referenced using the {{variable_name}} syntax throughout your flow. [(1) ]() [(2) ]()
4. Update Your Booking Node Prompt
In your booking function node, reference the dynamic variables explicitly:
When booking the appointment, use the customer's full name from {{customer_name}} and their business name from {{company_name}}.
[(3) ]()
Tool Calling Instructions
Make sure your prompt clearly defines when to use the booking function and what information to include:AI Evy
10/30/2025, 7:42 PMWhen user selected a slot, please book the appointment by calling the `book_appointment` function with:
- Customer name: {{customer_name}}
- Business name: {{company_name}}
- Selected date and time
Verify Information Before Booking
Add a confirmation step in your conversation flow to ensure all required information is collected:
Before booking, confirm with the customer:
"Just to confirm, I have your name as {{customer_name}} and your business as {{company_name}}. Is this correct?"
The dynamic variables system ensures that information collected during the conversation is properly passed to your Cal.com booking request, so the full name and business name will appear in the booked appointment. [(1) ]() [(2) ]()
**AI Evy
10/30/2025, 7:42 PMAI Evy
10/30/2025, 7:42 PMnewdawnagencies_09124
10/30/2025, 7:53 PMAI Evy
10/30/2025, 7:53 PMAI Evy
10/30/2025, 7:53 PM"responses - {email}email_validation_error" - Cal.com is rejecting your booking because the email address being sent is invalid or missing. [(1) ]()
Root Cause:
Cal.com requires a valid email address for bookings. Based on community experiences, there are two common scenarios:
1. Email is required by your Cal.com event type - some event types require email validation
2. The email format being sent is incorrect - the agent may be sending a malformed email address
How to Fix This:
1. Check Your Cal.com Event Type Settings
Log into Cal.com and verify:
- Whether email is marked as required for your event type
- If email validation is enabled
- What booking fields are configured
2. Ensure Your Agent Collects a Valid Email
Update your conversation flow to explicitly collect and validate the email address before booking:
Before booking the appointment:
1. Ask the customer for their email address
2. Confirm the email address is valid (contains @ and a domain)
3. Store it in {{customer_email}} dynamic variable
3. Update Your Booking Node Prompt
Reference the email dynamic variable in your booking function:
When booking the appointment, use:
- Customer name: {{customer_name}}
- Business name: {{company_name}}
- Email: {{customer_email}}
- Selected date and timeAI Evy
10/30/2025, 7:53 PMAI Evy
10/30/2025, 7:53 PMAI Evy
10/30/2025, 7:53 PMnewdawnagencies_09124
10/30/2025, 8:05 PMAI Evy
10/30/2025, 8:05 PMAI Evy
10/30/2025, 8:05 PMAI Evy
10/30/2025, 8:05 PMAI Evy
10/30/2025, 8:05 PMnewdawnagencies_09124
10/30/2025, 8:14 PMAI Evy
10/30/2025, 8:14 PMAI Evy
10/30/2025, 8:14 PMAI Evy
10/30/2025, 8:14 PMAI Evy
10/30/2025, 8:14 PMAI Evy
10/30/2025, 8:14 PMnewdawnagencies_09124
10/30/2025, 8:16 PMnewdawnagencies_09124
10/30/2025, 8:17 PMAI Evy
10/30/2025, 8:17 PMAI Evy
10/30/2025, 8:17 PMAI Evy
10/30/2025, 8:17 PMbash
curl -X POST <https://api.retellai.com/call/register> \
-H "Authorization: Bearer YOUR_RETELL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"agent_id": "AGENT_ID_HERE",
"from_number": "+12137771234",
"to_number": "+12137771235",
"direction": "inbound"
}'
### Step 2: Dial the SIP URI [(2) ]()
Once you receive the call_id from the registration, construct the SIP URI:
SIP URI format: sip:{call_id}@sip.retellai.com
Configure your dialer to route calls to this SIP endpoint.
## Important Notes
- The Retell SIP server URI is: sip:sip.retellai.com
- IP block for United States traffic: 143.223.88.0/21, 161.115.160.0/19
- Supported transport methods: UDP, TCP, TLS
- For UDP: sip:sip.retellai.com;transport=udp
- For TCP: sip:sip.retellai.com;transport=tcp
- For TLS: sip:5t4n6j0wnrl.sip.livekit.cloud;transport=tls
## Common Issues [(1) ]()
1. Outbound calls not working: Check your Termination SIP URI for spaces and ensure you're using a localized URI
2. Authentication issues: Verify username and credentials match exactly what's shown in Twilio (not the friendly name)
Once configured, imported numbers will appear in your Retell dashboard, and you can make and receive calls just like Retell-purchased numbers.
---
**AI Evy
10/30/2025, 8:17 PM143.223.88.0/21, 161.115.160.0/19) [(2) ]()
- Creating credentials with username and password [(1) ]()
3. Configure Origination settings (for inbound calls) :
- Set the origination SIP URI to: sip:sip.retellai.com [(2) ]() [(1) ]()
### Step 2: Configure Your Phone Numbers [(1) ]()
1. Purchase numbers or move existing numbers to your elastic SIP trunk
2. Ensure numbers are properly linked to the trunk you created
### Step 3: Import Numbers to Retell
1. In the Retell dashboard, select the option to connect your number through SIP trunking [(3) ]()
2. Enter the complete phone number with the plus symbol and country code
3. Paste the termination SIP URI from Step 1
4. If you set up credential-based authentication, provide the username and password [(1) ](AI Evy
10/30/2025, 8:17 PMAI Evy
10/30/2025, 8:17 PMnewdawnagencies_09124
10/31/2025, 2:46 PMAI Evy
10/31/2025, 2:46 PMAI Evy
10/31/2025, 2:47 PMAI Evy
10/31/2025, 2:47 PMAI Evy
10/31/2025, 2:47 PMnewdawnagencies_09124
10/31/2025, 3:00 PMAI Evy
10/31/2025, 3:00 PMAI Evy
10/31/2025, 3:01 PM{{variable_name}} syntax to inject personalized data into your agent's responses [(1) ]() . When you configure default dynamic variables at the agent level, these values serve as a fallback and will only be used when specific variables aren't included in the call request .
Configuration Example: [(2) ]() [(3) ]()
json
"default_dynamic_variables": {
"company_name": "Retell Inc",
"support_hours": "9 AM - 5 PM"
}AI Evy
10/31/2025, 3:01 PM{{company_name}} in the retell_llm_dynamic_variables field, the agent will automatically use "Retell Inc" as defined in your default settings [(1) ]() [(2) ]() .
Important Notes:
- Default variables are only used when the specific variable is not provided in the call request [(1) ]()
- All values must be strings - numbers, booleans, or other data types are not supported
- Spaces around variable names are trimmed when evaluating the variable
This feature was recently enhanced - you can now add default values to variables used in functions, queries, or descriptions, not just in the main prompt [(4) ]() .
---AI Evy
10/31/2025, 3:01 PMAI Evy
10/31/2025, 3:01 PMnewdawnagencies_09124
10/31/2025, 3:24 PMAI Evy
10/31/2025, 3:24 PMAI Evy
10/31/2025, 3:25 PM{{variable_name}} syntax [(1) ]() .
For Inbound Calls (Call Forwarding Scenario) :
Since you're using call forwarding from an external dialer, you'll need to supply dynamic variables through the Inbound Call Webhook . When the call reaches your Retell number, the webhook can inject the client name and other data into the conversation.
Implementation Steps:
1. Set up your first node with a dynamic variable:
In your first conversation node's instruction/prompt, use:
Hey, is this {{client_name}}?
2. Configure the Inbound Call Webhook to pass the client name:
When your external dialer forwards calls to your Retell number, the webhook needs to return the dynamic variables in the response. The client name should be passed in the retell_llm_dynamic_variables field .
3. Set Default Dynamic Variables (Optional Fallback) : [(2) ]() , [(3) ]()
In your conversation flow global settings, you can configure default dynamic variables as a fallback:
json
"default_dynamic_variables": {
"client_name": "valued customer"
}AI Evy
10/31/2025, 3:25 PMAI Evy
10/31/2025, 3:26 PMAI Evy
10/31/2025, 3:26 PMnewdawnagencies_09124
10/31/2025, 3:27 PMnewdawnagencies_09124
10/31/2025, 3:28 PMAI Evy
10/31/2025, 3:28 PMAI Evy
10/31/2025, 3:28 PM{{client_name}} and it will be populated with the value from your webhook response .
---AI Evy
10/31/2025, 3:28 PMjson
{
"inbound_agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
"inbound_webhook_url": "<https://example.com/inbound-webhook%22>
}
When updating an existing phone number [(2) ]() :
json
{
"inbound_agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD",
"inbound_webhook_url": "<https://example.com/inbound-webhook%22>
}
Step 2: Create Your Webhook Endpoint
Your webhook endpoint needs to receive the inbound call data from Retell and return a response with dynamic variables [(1) ]() . The webhook allows you to override agent ID, set dynamic variables, and configure other fields specific to that call [(2) ]() [(3) ]() .
Step 3: Return Dynamic Variables in the Response
When your external dialer forwards a call to your Retell number, your webhook should return the client information in this format [(1) ]() :
json
{
"call_inbound": {
"dynamic_variables": {
"client_name": "John Smith"
}
}
}AI Evy
10/31/2025, 3:29 PMAI Evy
10/31/2025, 3:30 PMnewdawnagencies_09124
10/31/2025, 6:52 PMAI Evy
10/31/2025, 6:52 PMAI Evy
10/31/2025, 6:53 PM"Attendee must have at least one contact method (email or phone number) " - Cal.com is rejecting your booking because the attendee information being sent is missing both email and phone number [(1) ]() .
Root Cause:
Cal.com requires at least one contact method (email OR phone number) for bookings. Based on community experiences, this is a common issue with the Cal.com booking integration [(2) ]() [(3) ]() [(1) ]() .
How to Fix This:
1. Ensure Your Agent Collects Required Contact Information
Update your conversation flow to explicitly collect either an email address or phone number before attempting to book:
Before booking the appointment:
1. Ask the customer for their email address OR phone number
2. Validate the format is correct
3. Store it in a dynamic variable like {{customer_email}} or {{customer_phone}}AI Evy
10/31/2025, 6:53 PM{{customer_email}} with a valid email address
- OR {{customer_phone}} with a valid phone number
Troubleshooting Steps:
1. Check your call logs to see what attendee data (if any) is being sent to Cal.com
2. Verify your conversation flow collects at least one contact method before the booking node
3. Test by manually providing a valid email address in your dynamic variables
4. Review your Cal.com event type settings to ensure they don't have conflicting requirements
The booking request is reaching Cal.com successfully, but Cal.com is rejecting it due to missing attendee contact information .
---AI Evy
10/31/2025, 6:53 PMAI Evy
10/31/2025, 6:53 PMnewdawnagencies_09124
10/31/2025, 6:59 PMAI Evy
10/31/2025, 6:59 PMAI Evy
10/31/2025, 7:00 PMjson
"boosted_keywords": ["two one three seven", "one zero one zero"]AI Evy
10/31/2025, 7:00 PMvocab_specialization parameter. This only applies to English agents .
Important Note:
Transcription quality depends on the AI models used, which balance accuracy and processing speed [(1) ]() . Perfect transcription isn't always achievable, which is why the LLM context and echo verification techniques are critical for hanAI Evy
10/31/2025, 7:00 PMAI Evy
10/31/2025, 7:00 PMnewdawnagencies_09124
10/31/2025, 7:01 PMAI Evy
10/31/2025, 7:01 PMAI Evy
10/31/2025, 7:01 PMjson
"boosted_keywords": ["zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"]
[(2) ]() , [(3) ]() , [(4) ]()
However, boosted keywords alone won't convert words to digits—they only help the transcriber recognize spoken digits more accurately [(1) ]() .
2. Enable Speech Normalization [(2) ]() [(3) ]() [(4) ]()
Set normalize_for_speech to true in your agent configuration. This converts spoken forms to their written equivalents:
json
"normalize_for_speech": trueAI Evy
10/31/2025, 7:01 PMjson
"stt_mode": "accurate"AI Evy
10/31/2025, 7:01 PMAI Evy
10/31/2025, 7:01 PMAI Evy
10/31/2025, 7:01 PMnewdawnagencies_09124
10/31/2025, 7:07 PMAI Evy
10/31/2025, 7:07 PMAI Evy
10/31/2025, 7:07 PM"responses - {email}email_validation_error" indicates that Cal.com is rejecting your booking request because the email address being sent is invalid or improperly formatted [(1) ]() .
Root Cause:
Cal.com is receiving an email address that fails its validation checks. This could be because:
- The email format is incorrect (missing @, invalid domain, etc.)
- The email field contains non-email text
- The email is empty or null
How to Fix This:
1. Validate Email Format in Your Conversation Flow
Before the booking node, add validation logic to ensure the email address is properly formatted. Your agent should:
- Ask the customer for their email address
- Verify it matches email format (contains @, has domain)
- Have the agent repeat it back for confirmation
- Store it in a dynamic variable like {{customer_email}}
2. Check Your Cal.com Event Type Settings
Based on community experiences with similar Cal.com errors, verify:
- Whether email validation is enabled in your Cal.com event type
- If email is marked as required (if so, ensure your agent always collects it)
- The email field configuration in your Cal.com booking form
3. Review What's Being Sent to Cal.com
Check your call logs to see exactly what email value is being passed to the booking API. The error suggests the email field is either:
- Empty
- Containing invalid characters
- Not in proper email format
4. Community-Reported Cal.com Issues
Similar booking errors have been reported where Cal.com's validation rejects improperly formatted data. One user experienced issues where Cal.com required specific fields that weren't being sent correctly from Retell .
5. Alternative: Use Phone Number Instead [(2) ]() [(1)AI Evy
10/31/2025, 7:07 PMAI Evy
10/31/2025, 7:07 PMAI Evy
10/31/2025, 7:07 PMnewdawnagencies_09124
10/31/2025, 7:16 PMAI Evy
10/31/2025, 7:16 PMAI Evy
10/31/2025, 7:16 PM"User either already has booking at this time or is not available" indicates that Cal.com is rejecting your booking request because of a scheduling conflict—either a booking already exists at that time slot or the calendar shows unavailability [(1) ]() [(2) ]() .
Root Causes:
1. Date/Time Format Issues [(1) ]()
Based on community experiences, one common cause is incorrect date parsing. When users say phrases like "two weeks from now Monday 9:00 AM", the agent may miscalculate the actual date, leading to booking attempts at times that are already occupied or outside available hours .
2. Current Date/Time Not Provided to Agent
A critical fix reported by the community: ensure your agent knows the current date and time. Without this context, the agent cannot accurately calculate relative dates like "next Monday" or "two weeks from now" .
3. Calendar Availability Mismatch [(2) ]()
The availability check may be passing, but the actual booking attempt fails because:
- The time slot was just booked by someone else
- Your Cal.com calendar has a conflict you're not seeing
- The event type has specific availability rules that aren't being met
How to Fix This:
1. Provide Current Date/Time to Your Agent [(1) ]()
Add the current date and time to your agent's prompt or dynamic variables:
Current date and time: {{current_datetime}}AI Evy
10/31/2025, 7:16 PMAI Evy
10/31/2025, 7:16 PMlocation.type and location.integration .
4. Verify Timezone Configuration [(3) ]() [(5) ]()
Ensure your booking function has the correct timezone set:
json
{
"type": "book_appointment_cal",
"name": "book_appointment",
"description": "Book an annual check up.",
"cal_api_key": "cal_live_xxxxxxxxxxxx",
"event_type_id": 60444,
"timezone": "America/Los_Angeles"
}AI Evy
10/31/2025, 7:16 PMAI Evy
10/31/2025, 7:16 PMnewdawnagencies_09124
10/31/2025, 7:26 PMAI Evy
10/31/2025, 7:26 PMAI Evy
10/31/2025, 7:26 PM{{current_time}} - Current time in America/Los_Angeles timezone
- {{current_time_[timezone]}} - Current time in any specified timezone (e.g., {{current_time_America/New_York}})
- {{current_calendar}} - 14-day calendar in America/Los_Angeles
- {{current_calendar_[timezone]}} - 14-day calendar in specified timezone
Example Implementation:
In your agent's prompt, add :
Current date and time: {{current_time}}
When scheduling appointments, use this current time as your reference point.
Or for a specific timezone :
Current date and time: {{current_time_America/New_York}}
Important Notes:
- These are system default variables that don't require any configuration in your webhook
- They work for both inbound and outbound calls
- Spaces around the variable name are trimmed when evaluating
- These variables are available after the call starts
Known Issue:
There have been community reports of the {{current_time}} variable occasionally showing incorrect dates (e.g., showing March 14th instead of March 5th) [(2) ]() . If this happens, try refreshing or restarting your agent .
The system default time variables should work automatically once you add them to your agent's prompt - no webhook setup needed [(1) ]() [(3) ]() .
---AI Evy
10/31/2025, 7:26 PMAI Evy
10/31/2025, 7:26 PMblekkk_
11/03/2025, 5:23 AMnewdawnagencies_09124
11/07/2025, 2:31 PM