Problem with checking the appointments in google c...
# support
c
I’m using the calendar scheduling and appointment checking tool, but I’m experiencing several issues: When I try to book an appointment, the tool reports that the time slot is available even when it actually isn’t. When rescheduling an appointment, the original appointment is not being deleted. The tool does not write the customer’s information into the notes section of the appointment Hopefully you can help me 🙂 Thanks
v
To ensure customer information is included in the appointment notes, add it to the
description
field when creating the event. For example:
Copy code
json
{
  "summary": "Consultation",
  "startDateTime": "2025-12-15T10:00:00Z",
  "endDateTime": "2025-12-15T10:30:00Z",
  "description": "Customer: John Doe, Email: john@example.com, Phone: +1234567890"
}
This will store the customer details in the event notes for easy reference, as recommended in the documentation. For more details, see the [Google Calendar tool configuration](https://docs.vapi.ai/tools/google-calendar). Source: - [Google Calendar tool configuration](https://docs.vapi.ai/tools/google-calendar)
c
@Vapi Support Bot Ok where do i copy this code to? And how do i fix the problem with checking for appointments and deleting an appointment if resceduled?
v
Thanks for your follow-up! To help you further, could you let me know if you’re using the Vapi Dashboard, an API/SDK, or a custom script to manage your Google Calendar integration? This will help me guide you on where to add the code and how to address your appointment issues. Sources: - [Google Calendar tool configuration](https://docs.vapi.ai/tools/google-calendar) - [Appointment scheduling assistant example](https://docs.vapi.ai/assistants/examples/appointment-scheduling)
c
@Vapi Support Bot i used the tool within vapi. Scedule appointments and check for appiontments
v
To include customer information in your appointment notes, go to your Vapi Dashboard, select your assistant, and edit the Google Calendar Create Event Tool. In the tool's configuration, map the customer details (like name, email, phone) into the
description
field, for example:
Copy code
json
"description": "Customer: {{customer_name}}, Email: {{customer_email}}, Phone: {{customer_phone}}"
This ensures each event includes the customer's info in the notes, as recommended in the documentation. For more details, see the [Google Calendar tool configuration](https://docs.vapi.ai/tools/google-calendar). Source: - [Google Calendar tool configuration](https://docs.vapi.ai/tools/google-calendar)
c
@Vapi Support Bot Thank you very much. And how do i resolve my problem with checking for avaliability of a time slot in my calendar
v
To improve the accuracy of availability checks, ensure you are passing the correct
startDateTime
,
endDateTime
, and
timeZone
in ISO 8601 format when using the tool.
For example:
Copy code
json
{
  "startDateTime": "2025-12-15T10:00:00Z",
  "endDateTime": "2025-12-15T10:30:00Z",
  "timeZone": "UTC"
}
Double-check that the timezone matches your calendar settings, as mismatches can cause false availability results. For more details, see the [Google Calendar tool configuration](https://docs.vapi.ai/assistants/tools/google-calendar). Source: - [Google Calendar tool configuration](https://docs.vapi.ai/assistants/tools/google-calendar)
c
Hi Chris, To address the issues you're experiencing with the Google Calendar integration, please take the following steps: 1. **Availability Check**: - Ensure you are passing correct parameters to the
Check Availability
tool. Double-check the
startDateTime
,
endDateTime
, and
timeZone
in ISO 8601 format. Here's a sample configuration:
Copy code
json
     {
       "startDateTime": "2025-12-15T10:00:00Z",
       "endDateTime": "2025-12-15T10:30:00Z",
       "timeZone": "UTC"
     }
- Verify the calendar setting time zones to ensure consistency. 2. **Rescheduling Appointments**: - Make sure your workflow handles appointment deletion when rescheduling. You may need to first cancel the old appointment using the appropriate tools before creating a new one. 3. **Customer Information in Notes**: - Include customer details in the
description
field when creating events. Modify your tool configuration to capture customer information like this:
Copy code
json
     {
       "summary": "Consultation",
       "startDateTime": "2025-12-15T10:00:00Z",
       "endDateTime": "2025-12-15T10:30:00Z",
       "description": "Customer: John Doe, Email: john@example.com, Phone: +1234567890"
     }
- Adjust your Vapi Dashboard settings to map customer data fields correctly when creating events. For further configuration tips, refer to the [Google Calendar tool documentation](https://docs.vapi.ai/tools/google-calendar). Let me know if you need more help.
c
thank you very much i will try it
Ok so thanks for the answers but i don't get it. Can someone please explain to my how to setup the check avaliability and the book appointments tool. What should i write into the description of the tool so it works correctly. I use an assistant which uses those tools. If you include code like in the answer above in your answer. Please tell me where to paste it and how to edit the variables also in the assistant
s
I am having the same issue... Who can help? 😵‍💫