https://retellai.com/?utm_source=discord&utm_medium=seo logo
<@1145576664366055464> Im having problems with cal...
# ❓・ai-evy-support
a
@AI Evy Im having problems with call.com integration. It happens really often, when i try to book, for example, a meeting a 5pm, meeting lengths is one hour. Even tho i have every slot available, tool result is: tool_call_id: tool_call_99d1db {"availability_for_selected_time":"No available slots for specified time range, but there are available slots on time range that's nearby.","availability_nearby":[{"date":"Tuesday, 2025 July 7/15/2025 Coordinated Universal Time","availability_range":["From 2:10 PM to 5:00 PM","From 6:00 PM to 8:00 PM"]},{"date":"Wednesday, 2025 July 7/16/2025 Coordinated Universal Time","availability_range":["From 8:00 AM to 6:00 PM"]}]}. What key be the problem and how to fix this. If more information needed, ask for it
a
Thanks for tagging me @arseniivasylchenko. I'll look through relevant sources and get back to you shortly.
### Answer Based on the error you're encountering and the available information, there are several potential causes for this Cal.com integration issue: Common Cal.com Integration Problems: 1. Timezone Configuration Issues - The availability response shows "Coordinated Universal Time" which suggests a timezone mismatch between your Cal.com settings and the booking request [(1) ]() . 2. Required Field Mismatch - One user resolved a similar issue by discovering they had added a mandatory/required field in Cal.com but didn't update their variables to reflect that change . 3. Event Type Configuration - The Check Calendar Availability function may be incorrectly configured, as mentioned in a similar case where the agent offered unavailable times [(2) ]() . Troubleshooting Steps: 1. Verify Timezone Settings - Check that your Cal.com event type timezone matches your expected booking timezone [(1) ]() . 2. Check Required Fields - Ensure all mandatory fields in your Cal.com event type are properly configured in your Retell AI agent variables . 3. Review Event Type Settings - Confirm your Event Type ID and API Key are correctly configured in the Cal.com integration [(2) ]() . 4. Consider Creating a New Event Type - One user resolved their issue by creating a new event with the same settings when the original wouldn't work [(1) ]() . The fact that you're getting "From 2:10 PM to 5:00 PM" availability but can't book at 5:00 PM for a 1-hour meeting suggests the system may be accounting for buffer ti
me or there's a configuration mismatch. Could you provide: - Your Cal.com event type settings (duration, buffer times, timezone) - Your Retell AI Cal.com function configuration - Whether you've recently added any required fields to your Cal.com event type
​ To learn more, see the sources I considered: [[1] Cal.com Integration](https://discord.com/channels/1186424376300679209/1323582325879214131) [[2] Retell -> Cal.com Integration Problem](https://discord.com/channels/1186424376300679209/1343641187185328252) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
a
@AI Evy Cal.com event type settings: duration: 90min, no buffer time, the time zone is set as Europe/Madrid everywhere. Rettel ai cal function: description: When users ask for availability, check the calendar and provide available slots. api: cal_live_d96444e75baea20d8fe155c7e1e58e13 event type: 2785165 timezone: Europe/Madrid required field is only email. I tried to book again for different time and day i faced the same problem. Each slot is available but the integrations says it is not: tool_call_id: tool_call_09ed3e {"availability_for_selected_time":"No available slots for specified time range, but there are available slots on time range that's nearby.","availability_nearby":[{"date":"Tuesday, 2025 July 7/15/2025 Central European Summer Time","availability_range":["From 6:00 PM to 10:00 PM"]},{"date":"Wednesday, 2025 July 7/16/2025 Central European Summer Time","availability_range":["From 10:00 AM to 6:00 PM","From 7:00 PM to 10:00 PM"]},{"date":"Thursday, 2025 July 7/17/2025 Central European Summer Time","availability_range":["From 10:00 AM to 7:00 PM"]}]}
a
Thanks for the follow-up, @arseniivasylchenko. I'll get back to you soon.
### Answer Based on your configuration, the issue appears to be related to timezone handling and the specific time slot calculation for your 90-minute appointments [(1) ]() . Here are the key troubleshooting steps: Timezone Configuration Issues: Ensure your timezone settings are consistent across all platforms [(2) ]() . The fact that your availability response now shows "Central European Summer Time" suggests the timezone is being recognized, but there may still be conversion issues between Retell AI and Cal.com [(3) ]() . 90-Minute Duration Consideration: Your event type is set for 90 minutes, which means when you try to book at 5:00 PM, the system needs a full 90-minute slot available until 6:30 PM [(4) ]() . Looking at your availability response showing "From 6:00 PM to 10:00 PM", this suggests the 5:00 PM slot may not have the full 90 minutes available before the next unavailable period. Common Cal.com Integration Problems: Users have reported that the Cal.com integration can have issues with timezone conversion and datetime parsing [(3) ]() . Some have found that "Cal.com was a nightmare to set up" and have resorted to creating custom functions using the Cal.com API directly [(5) ]() . Recommended Solutions: 1. Verify Time Zone Settings: Make sure your Cal.com account timezone matches your event type timezone and your Retell AI function timezone [(2) ](
99170424) 2. Check Cal.com Dashboard: Manually verify in your Cal.com dashboard that the exact time slots you're trying to book are actually available for 90-minute appointments [(6) ]() 3. Consider Custom Function: If the native integration continues to fail, you might need to create a custom function using the Cal.com API directly, as other users have done when facing similar issues [(5) ]() 4. Test with Different Time Slots: Try booking appointments that fall well within the available ranges (e.g., 10:30 AM on Wednesday) to see if the issue is specific to edge cases [(4) ]() The integration should work with your current settings, but timezone conversion issues and duration calculations appear to be common problems with the Cal.com integration [(3) ]() .
​ To learn more, see the sources I considered: [[1] Automate Scheduling with AI Appointment Booking | Retell AI](https://www.retellai.com/features/book-appointments) [[2] Discord message from @sanava.ai on 2024-11-06](https://discord.com/channels/1186424376300679209/1294891368505937952/1303839533699170424) [[3] Cal.com errors](https://discord.com/channels/1186424376300679209/1240007710179852461) [[4] Book Calendar](https://docs.retellai.com/build/book-calendar) [[5] Discord message from @jayzpio on 2025-01-31](https://discord.com/channels/1186424376300679209/1294891368505937952/1334946836120604692) [[6] Check Calendar Availability](https://docs.retellai.com/build/check-availability) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
a
@AI Evy Time zone is set as Europe/Madrid everywhere. Each slot is available
a
Thanks for the follow-up, @arseniivasylchenko. I'll get back to you soon.
### Answer Based on your configuration details, the issue appears to be related to how the Cal.com integration handles slot availability checking versus actual booking for 90-minute appointments [(1) ]() . Key Issues Identified: 1. Duration Calculation Problem - With a 90-minute appointment duration, the system needs to ensure there's a full 90-minute window available . Even though slots appear available, the integration may be calculating buffer time or encountering edge cases where the full duration isn't available. 2. Timezone Handling - While you have Europe/Madrid set everywhere, Cal.com's API can have timezone conversion issues [(2) ]() . The fact that your response shows "Central European Summer Time" suggests timezone recognition, but there may still be conversion problems between systems. 3. API Version Differences - There are known issues with Cal.com's v2 API providing outputs in UTC only, which can cause timezone-related booking problems . Troubleshooting Steps: 1. Verify Full Duration Availability - Check that the time slots you're trying to book have the complete 90-minute window available without any conflicts [(1) ]() . 2. Test with Cal.com API Directly - Try using the Cal.com API playground to verify slot availability using the same parameters [(2) ]() . 3. Check Event Type Configuration - Ensure your Event Type ID (2785165) is correctly configured and that the event settings in Cal.com match your Retell AI function settings [(1) ]() . 4. Consider Custom Function - If the native integration cont
inues to fail, you may need to create a custom function using Cal.com's API directly [(3) ]() . The native Cal.com integration should handle timezone-aware bookings when properly configured [(4) ]() , but the 90-minute duration combined with timezone conversion may be causing calculation issues.
​ To learn more, see the sources I considered: [[1] Book Calendar](https://docs.retellai.com/build/book-calendar) [[2] Discord message from @sanava.ai on 2024-11-06](https://discord.com/channels/1186424376300679209/1294891368505937952/1303839533699170424) [[3] Discord message from @sanava.ai on 2024-11-06](https://discord.com/channels/1186424376300679209/1294891368505937952/1303839190676537379) [[4] Automate Scheduling with AI Appointment Booking | Retell AI](https://www.retellai.com/features/book-appointments) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
a
@AI Evy So, I have only one calendar connected. And the carwash has four places where a human can clean their car. But because I have only one calendar connected if the user books an appointment on, e.g. Friday 5pm, the slot on calendar will be already booked, and the cal.com will say that no this time is not aviliable, even tho that this time is not aviliable only for one, place where we can wash someones car. So we have three more places where the user can book their appointmnet on at 5pm Friday. What can i do?
a
Thanks for the follow-up, @arseniivasylchenko. I'll get back to you soon.
### Answer You have a resource capacity issue that requires handling multiple parallel bookings for the same time slot. Based on the available information, here are your options: Cal.com Round Robin Solution: Cal.com offers a round robin feature that can distribute appointments across multiple resources [(1) ]() . This allows you to set up multiple calendars for each car wash bay and automatically rotate bookings between them [(2) ]() . Multiple Calendar Setup: You can create separate calendars in Cal.com for each of your four car wash bays and configure the system to check availability across all of them . One user mentioned: "Set up 3 distinct calendars in cal.com for the closers and get all availability in make.com" . Custom Function Approach: Since the native Cal.com integration may not handle multiple resources optimally, you might need to create a custom function that can manage capacity across multiple slots [(3) ]() . This would involve using the Cal.com API directly to check availability and book appointments across your four bays. Alternative Calendar Systems: For businesses with multiple resources, some users have found success with other calendar systems. One user noted that for medical practices with multiple doctors, they integrate directly with specialized systems rather than using Cal.com [(4) ](

▾

) . Recommended Solution: The most straightforward approach would be to use Cal.com's round robin feature to distribute appointments across four separate event types or calendars, each representing one car wash bay [(1) ](
t-tools) . This way, when someone books Friday 5pm, it only blocks one bay, leaving the other three available for additional bookings. If the native integration doesn't support this level of resource management, you may need to implement a custom function using the Cal.com API to handle multiple resource booking [(3) ]() .
​ To learn more, see the sources I considered: [[1] AI Scheduling Assistant with Cal.com | Retell AI](https://www.retellai.com/blog/cal-coms-preset-tools) [[2] Discord message from @nir.simionovich on 2025-03-23](https://discord.com/channels/1186424376300679209/1294891368505937952/1353376154073170025) [[3] Discord message from @jayzpio on 2025-01-31](https://discord.com/channels/1186424376300679209/1294891368505937952/1334946836120604692) [[4] Part 1: BuildYour First Retell Voice Al Agent That Sells Cars](

https://www.youtube.com/watch?v=p0DusrDjfjA▾

) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.
a
@AI Evy Can you give me a direct instruction on the recommended solution
a
Thanks for the follow-up, @arseniivasylchenko. I'll get back to you soon.
### Answer Based on the available documentation, I can provide guidance on setting up multiple calendars for your car wash business, but the specific round robin functionality isn't detailed in the current sources. Step-by-Step Setup for Multiple Car Wash Bays: 1. Create Multiple Cal.com Event Types - In your Cal.com dashboard, navigate to "Event Types" section [(1) ]() - Create 4 separate event types, one for each car wash bay (e.g., "Bay 1", "Bay 2", "Bay 3", "Bay 4") - Configure each with the same duration (90 minutes) and timezone (Europe/Madrid) 2. Get Event Type IDs for Each Bay - For each event type, look at the URL in your browser - The event type ID is the number in the URL - Example: ` - Save all 4 Event Type IDs 3. Set Up Multiple Functions in Retell AI - Create 4 separate "Check Calendar Availability" functions in Retell AI - Create 4 separate "Book Calendar" functions in Retell AI [(2) ]() - Each function should use the same API key but different Event Type IDs [(1) ]() [(2) ]() 4. Configure Each Function - Tool name: Make unique for each bay (e.g., "check_bay1_availability") [(1) ]() - API Key: Your Cal.com API key - Event Type ID: The specific ID for each bay - Timezone: Europe/Madrid However, the documentation doesn't provide specific instructions for implementing true round robin logic within Retell AI. The sources mention that Cal.com has round robin features [(3) ]() , but this appears to be a
paid Cal.com feature. For a more robust solution handling multiple resources, you may need to create a custom function that can check availability across all four bays and intelligently book the first available slot. Alternative Approach: Consider creating a custom function using Cal.com's API directly to handle the multi-resource booking logic, as other users have done when the native integration doesn't meet their specific needs .
​ To learn more, see the sources I considered: [[1] Check Calendar Availability](https://docs.retellai.com/build/check-availability) [[2] Book Calendar](https://docs.retellai.com/build/book-calendar) [[3] Discord message from @zackattack1036 on 2025-03-21](https://discord.com/channels/1186424376300679209/1294891368505937952/1352455223939039263) ​
Feel free to tag @AI Evy with additional questions. I also appreciate feedback, it helps me improve.