Still struggling the Google Calendar integration
# support
a
callid: 313dedb9-d500-45bc-aca5-083866eb8dad timestamp: 07:09:39:172 response expected: receive email and calendar booking response received: it used the wrong email, said it had booked the meeting, but no meeting was booked
v
Hi Adam! 👋 Sorry to hear you're having trouble with the Google Calendar integration. I don't have access to the specific logs for your call ID, but I can definitely help with troubleshooting the issues you're experiencing with the wrong email being used and no meeting being booked despite confirmation. Based on the information I've found, here are some potential causes and solutions: ### Email Configuration Issues The wrong email being used could be due to incorrect data transmission between systems. According to information I found, you should: - Double-check the configuration of email settings in VAPI and any integration platforms like Make.com to ensure the correct email address is being used [(source)](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1335308574556946480) - Verify that the correct user information is being passed from VAPI to Google Calendar [(source)](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1335308574556946480) ### Booking Confirmation Issues For the issue where the system says it booked a meeting but didn't actually book it: - Check the logic and mapping of any booking functions (like
makeBookingtoCalendar
) and ensure that successful responses trigger the appropriate actions [(source)](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336719759965687923) - Verify the Server URL configuration in your VAPI dashboard to ensure it's pointing to the correct endpoint [(source)](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336345690393149452) ### General Troubleshooting Steps Some additional steps that might help: - Review logs in VAPI and any integration platforms for error messages related to connectivity or data format problems [(source)](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336345690393149452)
- Test the integration with static data to isolate whether the problem is with dynamic data handling [(source)](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1335308574556946480) - Double-check that the URL configured in VAPI matches the webhook URL provided by any integration platforms [(source)](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1335141023600480318) Would you like me to elaborate on any of these troubleshooting steps or suggest additional approaches? Sources: - [Google Calendar integration troubleshooting](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336345690393149452) - [Common issues with Google Calendar integration](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1335308574556946480) - [Google Calendar integration using wrong email address](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1336719759965687923) - [Google Calendar integration booking failures](https://discord.com/channels/1211482211119796234/1211483291191083018/threads/1335141023600480318)
p
Hey Adam, Can you be more specific about exactly what was the alarm response after the tool call? What did you expect it to do? When I look at the transcript, I can see the tool call was performed, but you have to be more specific so I can filter out easily what exactly went wrong.
a
@Shubham Bajaj THanks I have made some progress.. it's booking calendar events at the times expected. Next problem it's excluding the attendee... ie I want to to include the user calling as the
attendee
I tried adding as a param .. so not sure if that's messed up... but weirdly https://docs.vapi.ai/tools/google-calendar#google-calendar-create-event-tool does not include an
attendee
or array of attendees.. .which is strange as it's a crritical missing component.
btw the bot "Sources" links above don't seem to work for me.
currently the cal to book a meeting is
Copy code
Model called tool: google_calendar_tool({"summary":"Buzzy Expert Consultation","attendees":[{"email":"test@example.com"}],"time_zone":"Australia/Sydney","start_date_time":"2025-04-07T11:00:00+10:00","end_date_time":"2025-04-07T11:15:00+10:00"})
it's not inserting the email as an attendee
p
checking if this is resolved/solved for you?
checking if this is resolved/solved for you?
Thank you for reaching out to us. We've received your message and will get back to you as soon as possible.
Hi, checking if this is resolved/solved for you?
k
@Adam Ginsburg
a
Still unresolved
k
Thank you for your patience, Shubham Bajaj will be with you shortly.
p
Hey Adam, looking at the call messages, I don't see if the wrong email is used and calendar slot is not booked. If you go through the messages, I see that the correct email was used for booking the slot, and even the slot was confirmed by your tool (tool call result).
a
the calendar meeting, in my google calendar, never had
attendees
set
the item gets inserted into the Google calendar succesfull, but there are NO attendees in it. THe example in Vapi docs https://docs.vapi.ai/tools/google-calendar#google-calendar-create-event-tool has NO attendees, which makes no sense... so there is a chance we have syntax wrong... can you please update the example to include attendees or let us know how to achieve this ?
p
When creating a Google Calendar event through Vapi, you need to include an attendees array in your request. Each attendee should be an object with at least an email property, and optionally other properties like optional and responseStatus.
Copy code
const createEventParams = {
  summary: "Meeting Title",
  description: "Meeting description",
  start: {
    dateTime: "2023-10-25T10:00:00-07:00",
    timeZone: "America/Los_Angeles"
  },
  end: {
    dateTime: "2023-10-25T11:00:00-07:00",
    timeZone: "America/Los_Angeles"
  },
  attendees: [
    {email: "attendee1@example.com"},
    {email: "attendee2@example.com", optional: true}
  ]
};
This follows the Google Calendar API format where each attendee needs to be an object containing at least their email address.
k
@Adam Ginsburg
a
thanks .. but we did do that, it did not work. Also the docs/example https://docs.vapi.ai/tools/google-calendar#tool-configurations should be updated please to include the additional params ... thats said it does not work for us.
p
Hey Adam, could you help me with a brief description of what didn't work for you when adding the attendees?