google check availability 1 hour off
# support
f
Whenever the agent checks the availability it doesnt mark the requested time as busy. Only if asked 1 hour before. E.g. i ask for an appointment at 3pm and it says its free even though it isnt. But when i ask for 2pm it says it is not free. So 1 hour difference. All the timezones should be correct and in the correct ISO format.
i
do you have the current time in the system prompt? I'm using: Current Time: {{ "now" | date: "%B %d, %Y, %I:%M %p", "Europe/Warsaw" }} Today is: {{ "now" | date: "%A, %B %d, %Y", "Europe/Warsaw" }} just change the time zone to yours
f
yeah i use the same
but for Europe/Berlin
the create event tool works just fine and both have the same parameters
this is the output
Copy code
{
  "busy": [],
  "free": [
    {
      "start": "2025-11-07T15:00:00.000Z",
      "end": "2025-11-07T16:00:00.000Z"
    }
  ]
}
i
Have you tried using make.com to create a custom tools
c
We have run some tests with the google calendar check tool and we are not seeing this behavior on our end. Could you tell us what update channel your org is using? Also please provide a call id and some screenshots of the calendar.
c
The check_availability tool doesn't work properly. I use the same setup just as above. Here you can see I try to make a reservation to 18th of Nov at 10 oclock and I get this response. You can see that I am busy from 11:30-12:00 on that day. Then I try to check to this time: 11:30 The second screen shows that the time is now free. The calendar_tool work fine, it makes the reservation to the proper date and time, only the checker tool doesn't work properly. This is my prompt: ### Calendar Check Current Time: {{ "now" | date: "%B %d, %Y, %I:%M %p", "Europe/Budapest" }} Today is: {{ "now" | date: "%A, %B %d, %Y", "Europe/Budapest" }} When a customer wants to schedule an appointment, use the
google_calendar_check_availability_tool
tool to check for free time on the calendar for the specified date and time range. If the time slot from the response is in the
busy
object, do not say it. Only say the
free
time slots if there are any. Anything that is outside of the 9:00 - 15:00 range is considered not available. All weekend days are 'busy'. Ask the user if any of the time slots from the result work for them. Do not suggest dates or times older than {{ "now" | "Europe/Budapest" }} https://cdn.discordapp.com/attachments/1435965338142511145/1439334494027911320/image.png?ex=691a2434&is=6918d2b4&hm=bc4f0d65ddb108d7e9f97a82f805712d81ac256843ed5737e4baa9de1d4e6160& https://cdn.discordapp.com/attachments/1435965338142511145/1439334494371840222/image.png?ex=691a2435&is=6918d2b5&hm=fc47d645c640b21024c6495c81a570b83afda9a3fcdf52a1bbf7d5a7fd55f93d&
c
I made a prompt for you to try. This converts the timezone of the desired time to match what the availability tool sends. Replace my timezone with yours and the adjust the UTC+/- value. Leave the UTC+0 one. I'm also using gpt-4o as a reference
Copy code
## scheduling appointments
ask the user what day and time they want to schedule an appointment. assume all appointments are 1 hour long and are all in PST timezone (UTC-7). once you get the desired day and time for the appointment, convert the day and time to UTC+0 timezone equivalent, then use the 'google_check' tool to check if the desired day and time is available. if it is not available, apologize then suggest a different time. if it is available, tell the user it is available and ask if they would like to schedule the appointment for this time. if they say yes, use the 'google_schedule' tool to create the event for the day and time in the UTC+0 timezone equivalent. if they say no, then tell them it's okay and you understand their decision.