Date and Time with Google Calendar

(Antonio) #1

Good morning,
I use Flow XO from Italy and I created a bot that manage appointments for video-calls with users. For this purpose my bot:

1) asks user to indicate the date and time for the vide-call;
2) shows user the date and time entered and asks for confirmation;
3) add an event in a Google calendar for that date-time;
4) ends the conversation reminding the user of the appointment for that date-time.

Everything works correctly, except that, at the end of the flow, I find on calendar the event entered one hour LATER (if the user has chosen 10:00 am, the event will start at 11:00 am)
I tried setting the offset, (- 1h) [https://support.flowxo.com/article/9-dates-times] …
but it doesn’t work because when the bot ends the conversation it comes reminded to the user the appointment one hour BEFORE (if user haS chosen 10:00 am, the bot will remind him the appointment for 09:00 am).

Is there a way to correct this?

(Daniel Beckett) #2

Hi Antonio,

Google takes the time as a UTC value and then offsets it based on your Google account timezone. You could change your timezone to work with UTC as a solution?

(Antonio) #3

Ok.
I did it and it works!
Thanks for your suggestion.