I'm building a custom script for customer where they can schedule a callback and attached skills to this callback. For Callbacks, the timezone need to be set.
But since their offices are all in France, they would like to avoid that extra click.
Can we pre-set the timezone using inbound attached data ?
I've tried several format for the attached data but it doesn't look like we can do it ...
The format for the outbound attached data, after filling the date/time component is as follow : 2019-12-31T13:59:00+0100
Valéry, when you say "custom script" do you mean an agent script in PureCloud?
If you know it, then you could certainly attach the caller's country or timezone as participant data to the conversation to be used in your script. However, I don't think there is anywhere where you can use that data to "pre-set the timezone". You'll have to have some code somewhere (Javascript on the client, or some service on a server) that would take the time entered by the agent and then factor in the timezone from the participant data.
In the callflow, I tried to preset the participant data like :
"ATTR_HeureRappel": "2019-12-23T14:35:12.744Z",
or
"ATTR_HeureRappel": "2019-12-23T14:42:20+0100",
But the field stay empty when the script show up to the agent.
Are you saying that I should discard this note and just ask the agent to file the time and handle the timezone "manually" in Javascript on the client, or some service on a server, before calling the API ?
it's too bad that we can pre-filled any other text component but not the date/time one