Well, right now via API we match the ANI to an open order, that order contains the service address. The service address then provides the offset in a data action. Works for what we are doing today, but done the road if we can't capture the offset we are going to run into this issue unless like you said we capture the absolute date.
Another interesting issue is using the builtin date function allows the caller to say a date that could be well into the future. For instance the caller said Friday April 4th (when they meant Friday April 5th), the system captured the date as Friday April 4th 2025. We truncated the year on the communicate back, then incorrectly scheduled the date. We have some other checks/validations we going to add but interested to hear others thoughts on that.
------------------------------
Rob Bennett
Stanley Steemer International, Inc.
------------------------------
Original Message:
Sent: 03-05-2024 22:59
From: Jacques Tiberghien
Subject: Architect bot flow – UTC offset using builtin:date slot type
Hi Rob and Melissa,
I have the same issue and considering the time the caller called to offset or not the slot only works if his utterance is relative, "tomorrow", "yesterday"... but if the customer said the absolute date, there is no need to offset.
I've been scratching my head to find a clean and transparent solution in term of customer experience but the only way around this is to enable the validation of the slot and suggesting the customer to say the absolute date.
Any idea?
Thanks,
------------------------------
Jacques Tiberghien
------------------------------
Original Message:
Sent: 02-08-2023 14:53
From: Melissa Bailey
Subject: Architect bot flow – UTC offset using builtin:date slot type
Correct
------------------------------
Melissa Bailey
Genesys - Employees
Original Message:
Sent: 02-08-2023 14:39
From: Rob Bennett
Subject: Architect bot flow – UTC offset using builtin:date slot type
Thanks Melissa. We are storing the offset in a variable that can be used in the expressions.
But the bigger issue is this:
Issue I am having is with the builtin date being UTC. If I have a slot request for an appointment and the caller let's say is calling at 9pm ET (UTC -5) on a Tuesday, the genesys builtin system time would be 2am UTC on Wednesday. If the caller requests an appointment slot by saying "tomorrow", the system will return Thursday UTC, when the caller would be expecting Wednesday.
I assume there is nothing I can do besides using expressions to adjust the date.
------------------------------
Rob Bennett
Stanley Steemer International, Inc.
Original Message:
Sent: 02-08-2023 14:32
From: Melissa Bailey
Subject: Architect bot flow – UTC offset using builtin:date slot type
Create a variable to store the time with the offset then use the variable in all your expressions.
------------------------------
Melissa Bailey
Genesys - Employees