This integration is available from Configure > Integrations > Genesys Messaging in Agent Studio. For voice routing into the same Genesys tenant, see the Genesys Cloud voice integration.
Prerequisites
- Genesys Cloud Admin access to create roles, OAuth clients, messaging integrations, queues, and Architect flows.
- Your PolyAI account ID and project ID (e.g.
ACCOUNT-27a33660/PROJECT-c4876e30). - Your PolyAI messaging webhook URL and webhook secret — both are generated in the Agent Studio Genesys setup wizard (see Supply credentials to Agent Studio).
- A place to store the webhook secret token securely. PolyAI stores it in AWS Secrets Manager.
1. Create the PolyAI role and assign permissions
Create a dedicated role so the OAuth client used by PolyAI has exactly the permissions it needs and no more.- Go to Admin > People & Permissions > Roles / Permissions.
- Click Add Role and give it a name (e.g.
PolyAI Integration). - Assign the permissions in the table below, then save.
| Domain | Permission | Purpose |
|---|---|---|
| Agent UI → Conversation Details | All Permissions / View | View the Agent UI Conversation Details panel |
| Analytics → Conversation Detail | All Permissions / View | Query for conversation details |
| Architect → Datatable | Add / Edit / View | Add, edit, and view data tables |
| Conversation → Communication | Disconnect | Disconnect a communication |
| Conversation → Message | All Permissions, Accept, Assign, Create, Monitor, Park, Pull, Receive, View | Full inbound/outbound message handling |
| Messaging → Integration | All Permissions, Add, Delete, Edit, View | Create and manage the messaging provider integration |
| Messaging → Setting | All Permissions, Add, Delete, Edit, View | Create and manage settings associated with an integration |
| Routing → Message | All Permissions, Manage | Manage messaging workflow configurations |
| Routing → Queue | Add, Delete, Edit, Join, View | Create and manage the ACD queue and its membership |
2. Create the OAuth client
PolyAI authenticates to the Genesys Platform API using a Client Credentials OAuth grant scoped to the role created above.- Go to Admin > Integrations > OAuth.
- Click Add Client.
- Enter a Name and Description (e.g.
PolyAI Open Messaging). - Set Grant Type to Client Credentials.
- Under Roles, assign the role created in step 1.
- Leave Token Duration at the default.
- Save, then record the Client ID and Client Secret — you will supply these to Agent Studio in step 8.
3. Create the messaging Platform Configuration
The platform configuration controls messaging behaviour such as typing indicators.- Go to Admin > Message > Platform Configurations (under Digital & Telephony).
- Create a new configuration with typing indicators enabled.
- Save. You will select this configuration when creating the Open Messaging integration in the next step.
4. Create the Open Messaging platform integration
This integration is the channel over which Genesys forwards inbound messages to PolyAI and PolyAI sends replies back.- Go to Admin > Message > Platform Integrations (under Digital & Telephony).
- Create a new Open Messaging integration and give it a name.
-
Set the Outbound Notification Webhook URL to your PolyAI messaging webhook URL. The pattern is:
Replace
<CLUSTER>,<ACCOUNT_ID>,<PROJECT_ID>, and<CLIENT_ENV>(e.g.live) with your values, and adjust the base domain for your environment (devvsus-1/uk-1/euw-1). This URL is shown in the Agent Studio Genesys setup wizard. - Enter the Outbound Notification Webhook Signature Secret Token provided by Agent Studio. Store this secret securely — PolyAI keeps it in AWS Secrets Manager.
- Click Save.
- Select the Platform Configuration created in step 3.
- Select a Content Profile (use the default, or configure one if your deployment needs specific content types).
- Click Save, then record the Integration ID from the URL — you will supply it to Agent Studio.
5. Create the ACD queue
Conversations that hand off from the PolyAI agent to a human are routed to an ACD queue.- Go to Admin > Contact Center > Queues.
- Click New Queue (e.g.
PolyAI Test Queue). - Set the Division (e.g.
Home). - Create the queue and add members — the agents who will receive handed-off conversations.
6. Build the Architect inbound message flow
An Architect inbound message flow receives the conversation and transfers it to the ACD queue.- Go to Admin > Architect and create a new Inbound Message flow (e.g.
PolyAI Handoff Flow). - Edit the flow so that Flow Start → Transfer to ACD.
- In the Transfer to ACD action, set the Queue to the queue created in step 5.
- Save and Publish the flow.
7. Attach the flow via message routing
Routing binds the published flow to the Open Messaging integration address so inbound messages enter the flow.- Go to Admin > Routing > Message Routing (Orchestration).
- Click Attach new addresses.
- Select the published flow from step 6 and the Open Messaging integration from step 4 as the address.
- Attach the address and Save.
Supply credentials to Agent Studio
In the Agent Studio Genesys setup wizard, credentials are entered across two screens.Genesys Cloud credentials
Open Messaging credentials never leave PolyAI infrastructure.Genesys Cloud setup info (generated by Agent Studio)
Agent Studio generates the values you paste back into Genesys in step 4:| Field | Use |
|---|---|
| Webhook Secret | Enter as the Outbound Notification webhook signature secret token in the Open Messaging integration |
| Webhook URL | Set as the Outbound Notification Webhook URL in the Open Messaging integration: https://messaging.<CLUSTER>.poly.ai/webhooks/genesys/<ACCOUNT_ID>/<PROJECT_ID>/<CLIENT_ENV>/events |
Verify
- Open Messaging integration: Send a test message through the messaging channel and confirm Genesys forwards events to the PolyAI webhook URL (check the integration / OAuth client activity).
- Handoff routing: Trigger a handoff and confirm the conversation lands in the queue created in step 5 via the published Architect flow.
- Permissions: If calls into the Platform API fail, re-check that the OAuth client’s role includes the required permissions listed in step 1.
Genesys Admin paths
Quick reference for the Genesys Admin paths used in this guide.| Resource | Genesys Admin path |
|---|---|
| Role & permissions | Admin → People & Permissions → Roles / Permissions |
| OAuth client | Admin → Integrations → OAuth |
| Platform Configuration | Admin → Message → Platform Configurations |
| Open Messaging integration | Admin → Message → Platform Integrations |
| Queue | Admin → Contact Center → Queues |
| Inbound message flow | Admin → Architect → Inbound Message |
| Message routing | Admin → Routing → Message Routing |
Related pages
Genesys Cloud (voice)
BYOC voice setup and SIP routing.
Webchat
Configure and embed the PolyAI webchat widget.
Integrations overview
All Agent Studio integrations.

