- WebChat: Real-time text chat with queue-based routing. Agents can handle multiple chats and transfer to other agents or queues without interrupting the customer.
- Web Messaging: Asynchronous/real-time messaging with persistent chat history. Agents can respond across sessions and transfer conversations without losing context.
Current Limitations (Web Messaging)
The following features are not yet supported:- Resuming the same interaction again
- Rich Media Messaging
Configuration
Step 1: Add the Genesys Cloud Login URL
- Log in to your Genesys Cloud account. Note the login URL from the browser address bar (e.g.,
https://login.mypurecloud.com). - Save this URL for later. Alternatively, find your region-specific URL via Genesys Cloud region URLs.
Step 2: Retrieve the Organization ID
- Follow Find your Organization ID to retrieve your org ID.
- Save it for later.
Step 3: Create a Queue
- Navigate to Admin > Contact Center > Queues.
- Click Create Queue. Enter a queue name and select a division.
- Click Save and open the Queue settings screen.
- Assign agents or groups as queue members.
- Configure routing methods and other settings as needed.
- Click Save. Note the queue name.
Step 4: Create an Inbound Message Flow
- Navigate to Admin > Architect.
- Hover over Flows and select Inbound Message Flow.
- Click Add, enter a name and optional description, and select a division.
- Click Create Flow.
- In the flow editor, add a Transfer to ACD action and select the target queue.
- Configure any additional logic or error handling.
- Validate and Publish the flow.
Step 5: Create a Deployment Key
For WebChat
- Navigate to Admin > Contact Center > Widgets.
- Click Create Widget, select Third Party as the widget type, and save.
- In the widget settings, select Route to Flow and choose the Inbound Message flow.
- Copy the generated Deployment Key.
For Web Messaging
- Navigate to Admin > Message > Messenger Configurations and click New Configuration.
- Enter a name and description. Under Labels & Languages Support, select supported languages and set the default.
- In the Apps tab, set Conversation Disconnect to Display conversation status and disconnect session. Click Save.
- Navigate to Admin > Message > Messenger Deployments and click Create New Deployment.
- Enter a name, select your Messenger configuration, and set Supported Content Profile to
WebMessaging Legacy Default. - Set domain restrictions as needed.
- For Select your Architect Flow, choose the inbound message flow you created.
- Click Save to generate the Deployment Key. Copy it.
Step 6: Add the WebSocket URL (Web Messaging only)
Skip this step if you are configuring WebChat.
- Find your region’s WebSocket URL at Genesys WebSocket Region Info.
- Copy the WebSocket URL (e.g.,
wss://streaming.mypurecloud.com/v2/websocket).
Step 7: Enable the Genesys Agent
- Log in to the Kore.ai XO Platform.
- Select the AI Agent to configure.
- Navigate to App Settings > Integrations > Agent Transfer > Chat and click Genesys.
-
On the Configurations tab, enter:
Field Description Genesys Cloud login URL Your Genesys AWS region URL (mandatory). Organization ID Your Genesys organization ID. Deployment ID Your Genesys deployment ID. Queue Name The queue name created in Step 3. Genesys Web socket URL WebSocket URL (Web Messaging only).
-
To make Genesys the default agent, enable Default Agent System for all bot channels.
This option is only available when multiple agents are configured.
- Click Manage to map channels to the Genesys agent. See Adding channels to your app.
- Click Done.
- Click Save to enable the Genesys agent.
- Publish the app. See Publishing App.
Verify the Integration
- Open the AI Agent with Genesys enabled.
-
Create an Agent Transfer Node task (e.g., a
PlatformAgenttask with anAgentTransfernode configured to use Genesys). See Agent Transfer Node.
- Click Talk to Bot and enter Help.
- When the transfer dialog is invoked, the conversation routes to Genesys and the agent receives a notification.
-
The connection is established and the conversation continues.
Additional Capabilities
Metadata / User Information Transfer
Use theGenesysMetaData object with agentUtils.setMetaInfo to pass context to agents during handoffs. This can be called anywhere the platform supports JavaScript.
Sample script (Script node):
Accessing metadata in Genesys:
After transfer, metadata appears in Participant Data. Navigate to Admin > Performance > Workspace > Interactions > [Interaction] > Participant Data.
To map metadata to flow variables before transferring to an agent:
- Add a GetParticipantData action before the Transfer to ACD node in the Architect Message Inbound flow.
- Create flow variables and map the relevant metadata attributes.
- Reference those flow variables in the Transfer to ACD node.
Dynamic Queue Handling
Dynamic queue handling routes interactions to the most appropriate queue at runtime based on conversation context and metadata (customer details, issue type, language, priority). To enable dynamic queue handling:-
Include
QueueNamein the metadata passed during the agent handoff. Set it dynamically based on your routing logic.The queue name in the Entity node accepts underscores only when Auto Correct is turned off. Avoid underscores or disable Auto Correct in the Entity node. -
In the Genesys Architect Inbound Message Flow, add a Get Participant Data action before the Transfer to ACD node to retrieve
QueueNameand assign it to a flow variable.Ensure theattributeNamematches the exact key used in the platform’s metadata. -
In the Transfer to ACD node, set the Queue Name field to Expression and use the
FindQueue()function with the flow variable.
