Dpuble booking Using calendar create event and ava...
# support
n
One customer calls and creates an appointment for 7 AM Monday; then a second customer calls and creates an appointment for 7 AM Monday. I get two or more customers scheduled at the same time, which is impossible for my business to handle two at once. I want the program to not create an appointment if the slot is already taken. I have tried fixing prompts and fixing descriptions of tools, but the problem persists.
c
Hi nocktix, To prevent double bookings with the Google Calendar Create Event and Check Availability tools, here are some steps you should consider: 1. **Ensure Accurate Time Zone Settings**: Confirm that the time zones are correctly set in both your tool configurations and any time inputs provided to prevent availability mismatches. 2. **Review Tool Descriptions**: Check that the descriptions for the Check Availability tool explicitly instruct the assistant to check for busy periods before scheduling, as detailed in the Google Calendar Integration steps [here](https://docs.vapi.ai/tools/google-calendar). 3. **Sequence Logic in Prompts**: Make sure your assistant's system prompt has clear, sequential instructions to check availability before creating an event [example usage](https://docs.vapi.ai/tools/google-calendar). 4. **Debugging and Testing**: Check the Vapi Dashboard logs to ensure the tools are being used as intended and to catch any errors or misconfigurations. Testing with controlled data can also help isolate the issue. If issues persist, consider troubleshooting steps like reauthorizing your Google Calendar within the Vapi system or running test calls to confirm correct behavior. This approach should help eliminate double bookings as it requires the assistant to check availability carefully before scheduling any new appointments.
n
Sometimes double books sometimes it doesnt . I cant find the problem. Could you provide a sample of a quick fix like a template for prompt, and for tools. I will highly appreciate it .
c
Could you please provide a call id for one of the times it double books? We will review the logs and make some suggestions specific to your call
3 Views