Google Calendar Check Availability Tool is not fun...
# support
l
The tool is unable to detect events that are already on the calendar. The calendar ID has been input into the tool and the calendar is public. I've completed the basic troubleshooting steps like disconnection the calendar integration. Any help would be appreciated. The prompt: 3. List the times that are open, meaning 29 minute openings that don’t have scheduled events at any point during the interval, by checking availability with the Google Calendar tool for the date that was discussed most recently and mention that appointments last around 30 minutes. Appointments must be between 9:30am and 4:31pm and must not have an event during their entire duration or start time. If there is an event within the 29 minutes following a time, do not mention that time and exclude it from the range of times you will provide the caller as that time is not available. Available times are those that do not have an event 29 minutes after them, are not earlier than 9:29am and are not later than 4:31pm. Provide times in 30 minute increments. Provide the caller with two ranges of times or no more than three time slots that are available for an appointment. Follow all of this up by saying something similar to, “What works best for you?” If at any time in the process the caller says that a specific time doesn't work for them, re-execute all the instructions in this step. If at any time the caller says that this day doesn't work for them or they would prefer a different day return to step 1. The tool description: Use this tool when checking availability for appointments, both for days of the appointment and times or for checking times that are available. When checking availability look for spaces on the calendar with no events for 30 minutes. If an event is booked on a day, do not mention any times that fall within the start or end time of that appointment. Also use this tool to check what day it currently is and when checking for the date that a day being discussed falls on.
v
Suggestion: Double-check that your
startDateTime
and
endDateTime
fields are formatted in ISO 8601 and that the
timeZone
matches your calendar's settings. For example:
Copy code
json
{
  "calendarId": "your_calendar_id",
  "startDateTime": "2025-09-12T09:30:00-04:00",
  "endDateTime": "2025-09-12T16:31:00-04:00",
  "timeZone": "America/New_York"
}
Incorrect formatting or mismatched time zones can cause the tool to miss existing events. If this doesn't resolve the issue, please provide a sample of your request payload for further review. [See documentation for details](https://docs.vapi.ai/tools/google-calendar#google-calendar-check-availability-tool). Source: - [Google Calendar Integration Documentation](https://docs.vapi.ai/tools/google-calendar)
l
Here are three of the request payloads
I updated the prompt to check availability for the entire day
3. List the times that are open for a 30 minute event between 9:29am and 4:30pm on the date that is being discussed by checking availability with the Google Calendar tool for the date that was discussed most recently and mention that appointments last around 30 minutes. Appointments must be between 9:30am and 4:31pm and must not have an event during their entire duration or start time. If there is an event within the 29 minutes following a time, do not mention that time and exclude it from the range of times you will provide the caller as that time is not available. Available times are those that do not have an event 29 minutes after them, are not earlier than 9:29am and are not later than 4:31pm. Provide times in 30 minute increments. Provide the caller with two ranges of times or no more than three time slots that are available for an appointment. Follow all of this up by saying something similar to, “What works best for you?” If at any time in the process the caller says that a specific time doesn't work for them, re-execute all the instructions in this step. If at any time the caller says that this day doesn't work for them or they would prefer a different day return to step 1.
Any help is apprecaited
Any help is apprecaited
c
Hi Logos, When using the Google Calendar Check Availability Tool, consider the following steps to troubleshoot: 1. **Tool Configuration**: Ensure your tool is correctly set up with the proper
calendarId
. Make sure it points to the calendar where you want to check availability. 2. **Date and Time Format**: All datetime fields need to be in ISO 8601 format, and the correct
timeZone
must be set consistently in your configurations. 3. **Authorization**: Verify that your Google Calendar account is properly connected and authorized through the Vapi Dashboard by navigating to Providers Keys > Tools Provider > Google Calendar. 4. **Assistant's Prompt**: Make sure your assistant's prompt instructs it to check for busy slots before booking. It should also clarify to avoid scheduling during occupied times. 5. **Logging and Debugging**: Use the Vapi Dashboard to view logs for insights into potential issues with data or configuration. 6. **Test with Adjusted Parameters**: Try checking availability over a slightly extended range to ensure you account for any potential discrepancies in time zone settings. For more detailed steps, you can refer to the [Google Calendar Integration guide](https://docs.vapi.ai/tools/google-calendar). If the problem persists after following these steps, let me know. If this doesn’t resolve the issue, please let us know and we’ll be happy to step in and assist further.
2 Views