Checking Google Calendar Availability issue
# support
v
When I try to check availability on my Google Calender, it seems like no matter what I do, the agent thinks its October 23, 2023. I've tried using the check availability tool on Vapi as well as making a make.com automation. What is the problem?
h
The issue happens because your assistant is likely using a hardcoded or missing date context, defaulting to October 23, 2023. Fix it by adding this to your system prompt: Today is {{ "now" | date: "%A, %B %d, %Y", "Your/Timezone" }}. This injects the real current date, so availability checks use the correct year. Also, make sure your
checkAvailability
tool uses the right
startDateTime
,
endDateTime
, and
timeZone
.
c
Thanks! ^^ Closing this ticket.