Hi Benjamin,
You could make an API call via a custom action or lambda function to create and send an email. We generally use AWS SES for this, but there are several options. After the email is created, send back a message to the chat and disconnect.
The other thing we've done in the past, is use a wrapper around chat with basic json or js object configured schedules. After hours we would show a callback form instead of starting a chat and post that to AWS API gateway and a Lambda function that calls the PureCloud API and creates a callback. You could just as easily create an email. With the wrapper, the chat or callback form opens with the same theme and provides a consistent experience. Also, since we never start a chat, it never shows up in Genesys Cloud as a chat.
You could take that one step further and check and compare schedules via an API call if you didn't want to have to hard code them in js.
Thanks,
Daniel McLeod
------------------------------
Daniel McLeod
Qsect LLC
------------------------------
Original Message:
Sent: 04-30-2020 09:57
From: Benjamin Cale
Subject: off-hours chats
Hi all. Anyone know offhand how to make any web chats received when our schedule is off-hours (closed) route to an email channel instead? I tried to set up the flow to check a schedule, then route accordingly, but it doesn't seem to work off-hours.
#ArchitectureandDesign
------------------------------
Benjamin Cale
APICS, Inc. dba ASCM
------------------------------