xenial-black
xenial-black5mo ago

Google Calendar - Multiple Calendars Management

I've set up multiple Google Calendars, each intended for a different doctor in a hospital. My goal is to use a separate calendar for booking appointments for each doctor, ensuring they remain independent. However, despite specifying different calendar IDs in the tool section, the system always checks and books appointments in the primary calendar of the connected account. It seems to ignore the specified calendar ID and defaults to the primary calendar every time. Is there a solution to ensure that each booking function correctly uses its assigned calendar ID?
4 Replies
deep-jade
deep-jade5mo ago
Verify that the calendarId is correctly set for each doctor’s calendar in the tool configuration, assign the appropriate tools to the assistant, and test the setup to confirm the correct calendar is being used. Video tutorial https://youtu.be/tpxI2lTnjC8?si=Ab9GHkilS1sQMTkf
Sandeep Kaistha | Flipbytes
YouTube
How to build an AI appointment setter using VAPI and Google Calendar
In this video, I’ll show you how to use VAPI, the cutting-edge AI voice assistant, to create an AI appointment setter to streamline your appointment booking process directly into Google Calendar. I demonstrate a live interaction with an AI voice agent that successfully books a gym tour appointment, all without the need for a receptionist or mi...
wise-white
wise-white4mo ago
Hey @Fouzantanveer I have the same problem as you. Have you been able to resolve it?
Vapi Support Bot
Actionable Step:
Double-check that the calendarId is explicitly set in the tool configuration for each doctor's calendar and that each tool is correctly assigned to the assistant. For example:
{
"type": "google.calendar.event.create",
"calendarId": "doctor1_calendar_id",
...
}
{
"type": "google.calendar.event.create",
"calendarId": "doctor1_calendar_id",
...
}
After updating, test the setup by booking an appointment and verify which calendar receives the event. If the issue persists, consider reaching out to Vapi support or sharing your configuration for further troubleshooting, as the documentation expects the calendarId to be respected if set correctly[^1]. [^1]: Vapi Google Calendar Integration Documentation Source: - Vapi Google Calendar Integration Documentation
⤵️ Mention @Vapi Support Bot for follow-ups 🐥
Sahil
Sahil4mo ago
Hey @nedyalkoboydev @fouzantanveer ! To help track down this issue, could you share: - The call ID - When exactly this happened (the timestamp) - What response you expected to get - What response you actually got instead
This would really help us figure out what went wrong!

Did you find this page helpful?