Updated in 4.64Documentation Index
Fetch the complete documentation index at: https://docs.cognigy.com/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Access to Genesys Cloud.
- Activate the Genesys Endpoint on the Cognigy.AI side:
- If you have a SaaS installation, contact Cognigy technical support.
- If you have an on-premises installation, specify the following feature flags:
FEATURE_USE_GENESYS_BOT_CONNECTOR_ENDPOINT_WHITELIST="organization1,organization2". To enable the Genesys Endpoint for all organizations in your installation, use*instead of a list of organizations.FEATURE_ENABLE_AGENT_ASSIST_WORKSPACE_GENESYS_CREDENTIALS_WHITELIST="organization1,organization2". Add this feature flag to use Genesys Notifications APIs with Agent Copilot. To enable this feature for all organizations within the Genesys Endpoint in your installation, use*instead of a list of organizations.
Generic Endpoint Settings
Learn about the generic Endpoint settings available for this Endpoint on the following pages:- Endpoints Overview
- Data Protection & Analytics
- Real-Time Translation Settings
- Transformer Functions
- Copilot
Specific Endpoint Settings
Genesys Bot Connector Setup
Genesys Bot Connector Setup
| Parameter | Description |
|---|---|
| Verify Token | A verification token for connecting the Cognigy Genesys Endpoint to the Genesys Bot Connector. This token needs to be generated on the Cognigy.AI side and can consist of letters, numbers, and punctuation marks. |
How to Set Up
Setup on the Cognigy.AI Side
1. Configure Genesys Endpoint
1. Configure Genesys Endpoint
- In the left-side menu of the Project, go to Deploy > Endpoints.
- On the Endpoints page, click + New Endpoint.
- In the New Endpoint section, do the following:
- Select the Genesys Endpoint type.
- Add a unique name.
- Select a relevant Flow from the list.
- In the Configuration Information section, copy the Endpoint URL and save it for later use in Genesys.
- Activate the Enable Endpoint setting.
- In the Genesys Bot Connector Setup section, in the Verify Token field, create a verification token for connecting the Cognigy Genesys Endpoint to the Genesys Bot Connector. The token can consist of letters, numbers, and punctuation marks. Copy this token for later use in Genesys. Save changes.
Setup on the Genesys Cloud CX Side
1. Create Genesys Bot Connector Integration
1. Create Genesys Bot Connector Integration
- Open the Genesys Cloud interface, click Menu in the upper-left corner and go to IT and Integrations > Integrations.
- Click Add Integration in the upper-right corner.
- On the Genesys Bot Connector card, click Install. Assign a unique name to your integration.
- On the Configuration tab, navigate to the Properties section.
- In the Bot Connector Handle Utterance URI field, enter the Endpoint URL value you saved earlier from the Cognigy.AI setup.
- In the Credentials section, click Configure in the Genesys Bot Connector connection secret card.
- Click + Add Credential Field and enter the following credentials:
- newKey Key — use
verify-tokenas the name. - newKey — enter the token created earlier in the Verify Token field on the Cognigy.AI side.
- newKey Key — use
- Click Confirm, then Save.
- On the Details tab, click Copy Integration ID and save this ID for later use.
2. Add Bot for Bot Connector Integration
2. Add Bot for Bot Connector Integration
- Open the API Explorer interface in the Genesys Developer Tools. Make sure you are logged in by using the Account Selection list in the upper-right corner.
-
In the API Operation Filter, enter
botconnector, then select PUT in the HTTP Verb Filter. -
Click the
PUT /api/v2/integrations/botconnector/{integrationId}operation, then click the Reading Mode toggle to deactivate it. - Fill in the integrationId field under Path Parameters with the integration ID that you copied and saved earlier.
-
In the Request Body editor under Query Parameters, enter the following JSON:
id field must contain a UUID, which you can create using an online UUID generator.- Click Execute Request.
3. Build Inbound Message Flow
3. Build Inbound Message Flow
- Open the Genesys Cloud interface, click Menu in the upper-left corner and go to Orchestration > Architect.
-
Hover over the
icon on the Flows tab and select Inbound Message.
- Click + Add in the upper-left corner. The Create ‘Inbound Message Flow’ dialog box opens. In the Name field, enter a unique name for the inbound message flow.
- From the Division list, select the division in which to place the flow.
- Click Create Flow. The flow’s configuration page opens. To configure a flow, click Edit.
-
Go to the Toolbox section, enter
Call Bot Connectorin the search field and drag the action to the messaging flow editor. -
In the right-side Call Bot Connector panel, fill in the following fields:
- Bot Integration — select the integration you created earlier.
- Bot Name — select the bot you created earlier.
- Bot Version — select the bot version you created earlier.
-
In the Toolbox section, enter
Send Responsein the search field. Then, drag the action to the messaging flow editor and drop it below the Success action. Drag another Send Response action below the Failure action. -
In the Message Body of the Send Response action below Success, enter
success messageand select Literal from the list next to the field. In the Send Response action below Failure, enterfail messageand select Literal from the list next to the field. - Below the Send Response actions, place the Transfer to ACD action to transfer an interaction to a queueing system.
-
In the Queue field of the Transfer to ACD action, select the queue to which you want to transfer the interaction.

- In the upper-left corner, click Save, then Publish.
4. Configure Messenger
4. Configure Messenger
Set up Messenger
- Go to Digital and Telephony > Message > Messenger Configurations and click + New Setup.
- In the Channel Setup step, configure the following:
- Name — enter a unique configuration name reflecting your bot integration.
- Choose a Digital Channel you want to set up — select Messaging. Click Next.
- (Optional) In the Appearance step, configure the appearance of the chat widget. Click Next.
- In the Behavior step, configure the following:
- (Optional) In the Messaging Configuration section, set the behavior of the chat widget.
- In the Language Support section, set how the chat widget handles different languages:
- Select your Supported Languages — select UI languages and customize text labels. Browser language determines the user’s language.
- Select Default Language — select the default language for cases when the browser language isn’t detected or isn’t in the list. Click Next.
- In the Review Step, review your messenger configuration, then click Publish Configuration.
Deploy Messenger
- In the left-side menu, click Messenger Deployments and click + New Deployment.
- In the Name field, enter a unique deployment name that corresponds to your messenger configuration.
- Click the Select your Configuration button, select the message configuration you created, the configuration version, and click Change Assignment.
- In the Restrict domain access section, select Allow all domains or specify trusted domains where the Messenger can run.
- From the Select your Architect Flow list, select a published inbound message flow to trigger the bot behavior or connect users with agents.
- Click Publish Deployment. The Deployment Options section is displayed.
- In the Deploy your snippet section, click Copy to Clipboard to copy the embedding code snippet. You will use this snippet to embed the Messenger in your website. After deploying the snippet, any future changes to the configuration and deployment will be applied automatically.
- To test the AI Agent, visit CodeSandbox and select a default HTML project. Paste the copied code snippet into the
<body>element of the HTML document.
(Optional) Activate Agent Copilot
If you want to use Agent Copilot and Notifications APIs within the Genesys integration, create credentials on the Genesys Cloud CX side and configure the Copilot settings in the Endpoint.1. Create Credentials
1. Create Credentials
Set up Client
- In the left-side menu, select IT and Integrations > OAuth, then click + Add Client.
- On the Add New Client page, configure the following:
- App Name — enter a unique name for the client.
- Grant Types — select Client Credentials. Click Next.
- In the Roles list, activate the corresponding role for the client. Click Next.
- In the Token Duration in seconds field, enter the token expiration time. Click Next.
- Click Generate New Client Secret, then Confirm.
- Copy the Client ID and Client Secret, save them for future use, and click Finish. Confirm that you copied the Client ID and Client Secret in the dialog box.
Authorize Client
- In the left-side menu, select Authorized Applications.
- In the upper-right corner, click + Authorize a Client.
- In the Authorize Client window, enter the Client ID that you copied previously and click Authorize Client.
- (Optional) In the Users that can use this application section, select which user roles can access the application.
- In the Scope section, select the scopes of the application. Click Authorize.
2. Configure Settings for Agent Copilot
2. Configure Settings for Agent Copilot
- In the Genesys Endpoint settings, navigate to the Copilot section.
- Configure Agent Copilot by creating an Agent Copilot config and adding a Flow. For more information, refer to the Agent Copilot documentation.
- Set up Genesys Cloud Credentials:
- Connection Name — create a unique name for your connection.
- oAuth2Url — enter the login URL for Genesys Cloud customers, which varies by region, such as
mypurecloud.defor Germany. You can use the base domain likemypurecloud.comorcac1.pure.cloud, omitting theapps.orlogin.part. For more information on Genesys Cloud regions, refer to AWS regions for deployment. - oAuth2ClientId — enter the Client ID that you generated on the Genesys Cloud CX side.
- oAuth2ClientSecret — enter the Client Secret that you generated on the Genesys Cloud CX side.
- oAuth2Scope — enter
*. This system field is only necessary for authorizing the application.
- Click Create, then Save.