Voice Agent Marking Days That Are Suppose To Be Un...
# support
a
Hello, everyone, not sure which channel to put this in but this seems like the most appropriate channel. I have a problem with the Google Calendar check availability default tool. On Google Calednar, I have May 13th marked as "unavailable for calls". The agent is suppose to grab the date the customer wishes (in this case, May 13th), check to see if there are any events marked as "unavailable for calls" or anything of the sort, and if so, then to tell the customer that day is unavailable and that they must pick a new day. My problem is that the agent is telling me that May 13th is available when it's suppose to tell me it isn't available. Is this a problem on my side? (Prompt wise) or has this happened to others as well? Prompt:
Copy code
- Check date availability using the "ring3_consulting_check_day_availability_tool":  
     - Set "startDateTime" to ISO 8601 format for the customer's mentioned date.  
     - Set "endDateTime" to ISO 8601 format for the day after the mentioned date.  
     - Wait for the tool response containing a list of events for the date the customer has mentioned.  
     - Analyze each event:  
       - If the event's summary contains "unavailable for discovery calls" (case-insensitive), notify the customer that the date is unavailable and request a new date.  
       - If no event indicates unavailability, confirm the date is available and ask for the customer's preferred call time.
v
It appears that others have experienced similar issues with Vapi's availability checking, where the agent incorrectly marks days as available or unavailable. Unfortunately, the documentation does not provide specific troubleshooting steps or solutions for this problem. Since your prompt logic aligns with the recommended approach, the issue may be with the tool's internal handling of event summaries. I suggest monitoring for updates from Vapi or reaching out to their support channels for further assistance. Source: - [Troubleshooting Vapi availability checking issues](https://discord.com/channels/1211482211119796234/1343886394904547341)
r
By default, the full day events on Google calendar are marked free. You have to specifically go into the event and change it as Busy
a
That worked, thank you.
v
Nicely done!