Learn how to setup your Chatlayer chatbot with Genesys Cloud (formerly Genesys PureCloud) for human handover
In the Genesys Cloud platform, go to Admin > Integrations > OAuth
Add a new OAuth client for Chatlayer.ai to use
Pick an app name and description. Leave the token duration untouched and pick the Client Credentials grant type.
On the roles tab, assign all roles
Copy the newly created client id and client secret to your Genesys Cloud Offloading integration in Chatlayer
Create a new Widget by going to Admin > Contact Center > Widgets > Create Widget
Copy the deployment key to the offloading configuration screen in Chatlayer.
To have your user transferred to a live agent in Genesys Cloud, create an action at the point in the flow where you want your user to be handed over.
Add the action "Send to offload provider" to your bot dialog and configure it with the correct settings for Genesys Cloud.
Select the queue for your chatbot conversations to be offloaded into.
Once a user reaches this part of the conversation, the offload towards Genesys Cloud will be triggered. The bot will automatically be paused when a user reaches this action. When the agent closes the conversation, the bot will be resumed.
When the conversations reaches a human handover dialog for Genesys Cloud, Chatlayer will fill in the following information about your user using variables if they are available in the chat session:
You may want to pass additional information about the user to Genesys, not covered in the above fields. To handle this, you can declare additional session variables under the
genesysCloud.customFieldsnamespace. These will be added as custom fields in Genesys Cloud.
For example, to add the user's location as a custom field, you would adjust your bot's flow to ask the user's location, and store the answer as a variable under