Skip to main content
Back to messaging or digital channels Connect your agent to Genesys Cloud as a Bot Connector, so an Architect flow hands each conversation turn to it. You install the Bot Connector integration in Genesys, bind its Stream ID and a shared secret to Artemis, then call the integration from an Architect flow. The setup requires:
  1. Genesys Cloud setup: install the Bot Connector integration and copy its Stream ID.
  2. Artemis channel configuration: create the connection, then copy its Webhook URL.
  3. Bot Connector configuration in Genesys: set the URL and secret, activate the integration, and call it from Architect.
  4. Verify the connection end to end.
After setup, an Architect flow that reaches Call Bot Connector sends the turn to Artemis. The agent answers inside the same HTTP request, and Architect branches on the returned intent. Important considerations
  • The response travels in the same request: Genesys holds one POST open while the agent runs, then reads the reply from that response. There’s no callback or later send API, so the channel stays synchronous and non-streaming.
  • Client Secret isn’t a Genesys OAuth secret: It’s a pre-shared ingress token you generate and enter identically on both sides. An OAuth integration secret fails unless Genesys sends that same value on webhook requests.
  • Bot Connector needs a subscription change: Contact Genesys Cloud Sales before you can install the integration. Genesys allows up to five Bot Connector integrations per organization.
  • Architect intents must already exist: Artemis returns intent names that Architect matches to branches. Artemis doesn’t create or validate them.

Prerequisites

Confirm these before you start.
  • A Genesys Cloud organization with Bot Connector on its subscription, in the region that owns the Architect flow.
  • Genesys Cloud admin access, with permission to install integrations and edit Architect flows.
  • Artemis project access with permission to open Deployments -> Channels, and a deployed agent in the environment you intend to bind.

How Artemis routes Bot Connector requests

Genesys posts to a URL that ends with the Stream ID. Artemis resolves the connection from that path segment and the session from the payload.

Genesys Cloud setup

Do this in Genesys Cloud before you open Artemis. Select Open Genesys Cloud in the setup guide to jump straight there. Genesys documents the same screens in Configure the Genesys Bot Connector integration.
1

Sign in to the right region and organization

Sign in to the organization and regional domain that own the Architect flow. Don’t point a development organization’s integration at production Artemis.
2

Install the Bot Connector integration

  1. Go to Admin -> Integrations -> Integrations. On newer navigation, go to Menu -> IT and Integrations -> Integrations.
  2. Find the Genesys Bot Connector tile and select Install.
  3. On the Details tab, name the integration for the agent and environment.
Don’t install Genesys Digital Bot Connector. It’s a separate integration with its own Architect action. Keep this integration separate from Open Messaging and Audio Connector integrations too.
3

Copy the Stream ID

Copy the Bot Connector Stream ID exactly, with no surrounding whitespace. It becomes the routing identifier in Artemis and the last segment of the webhook URL.
4

Generate a Client Secret

Create a high-entropy random string, and store it in your secret manager. Use a different secret per environment.

Artemis channel configuration

Create the connection before Genesys sends its first request. Artemis must resolve the Stream ID and the encrypted secret before it can authenticate and run a request.
  1. Open Artemis and select the project.
  2. Go to Deployments -> Channels -> Genesys -> + New. The New Genesys Connection dialog opens, with the setup guide on the left and the fields on the right.
  3. Configure the fields:
  4. Select Create.
  5. Open the connection and copy the Webhook URL from the summary panel. Keep the encoded Stream ID at the end. The generic /genesys/hooks path can’t select a connection.

Bot Connector configuration in Genesys

Return to the integration and finish it with the Artemis values, then call it from a flow.
1

Set the Bot Connector URL

On the integration’s Configuration tab, set the Bot Connector URL to the Artemis Webhook URL. Use the public HTTPS runtime origin.
2

Add the shared secret

On the Credentials tab, enter the same Client Secret as the bearer token.Artemis never accepts a token in the query string.
3

Activate the integration

Set the integration status to active. An inactive integration never appears in Architect.
4

Add the Call Bot Connector action

  1. Open the Architect flow that should reach the agent.
  2. Add or select a Call Bot Connector action, and point it at this integration.
  3. Connect the failure path to real handling.
Architect takes the failure path on execution and connectivity errors, and after four consecutive turns return an unchanged intent. See Call Bot Connector action.
5

Validate before you publish

Run Architect validation and test on a non-production interaction. Publish only after you confirm the URL, secret, response timing, and failure branches.

Validation checklist

Work down this list once per connection.

Map Architect outcomes

Artemis returns an intent name with each reply, and Architect branches on it. Configure the mapping on the Configuration tab under Architect outcome mapping.
  1. Turn on Enable terminal intent mapping.
  2. For each outcome, select a Value source and enter the Genesys Architect intent name.
  3. Select Save Changes.
Value source takes a literal intent name or a project variable. Use a project variable when one agent serves several flows with different intent names. Only non-secret project variables qualify. Select Open project variables to create one.
Matching intents and Architect branches must already exist in Genesys Cloud. A typo produces a branch Architect never takes, without an error.

Verify the connection

Test the failure modes as well as the happy path, because Architect branches on the status Artemis returns.
  1. Send inputMessage.type=Text with a unique message and a stable genesysConversationId. Confirm HTTP 200 and one Text reply in replymessages.
  2. Send a second turn with the same genesysConversationId. Confirm it resumes the same genesys:{conversationId} session, and that a different ID starts a new one.
  3. Return an authored button, send its encoded payload in inputMessage.buttonResponse.payload, and confirm the session resumes with the right action value.
  4. Confirm a wrong secret returns 401, an unknown or inactive Stream ID returns 404, and malformed input returns 400.
  5. Confirm the Architect flow handles 503 busy and execution failures without looping.

Request and response contract

Genesys carries the whole turn in one exchange.

Security and operational boundaries

HTTPS and the shared token protect the endpoint.
  • Secret per environment: Use a unique, high-entropy Client Secret for each environment. Store it only in the Genesys integration’s credentials and in Artemis.
  • One authorization header: Prefer Authorization: Bearer. If your ingress uses another supported header, make sure it preserves that header and strips untrusted duplicates.
  • Stream ID is public: Treat it as a routing value. Never put the token in the URL or in logs.
  • Session metadata: Optional sessionMetadata crosses a trust boundary, and Artemis validates it before the agent runs. Send only the expected JSON object shape.
  • Separate environments: Use separate integrations, Stream IDs, secrets, Architect flows or versions, and connections for development and production.

Manage the channel connection

Open a connection from Deployments -> Channels -> Genesys to manage it. The page has a header, three tabs, and a summary panel on the right. Header. Shows the connection name, its environment badge, its status, and when it last changed. The … overflow menu holds the connection-level actions. Summary panel. Stays visible on every tab.
Artemis encrypts the secret after you save it. Leave the field blank to keep the current value, or enter a new one to replace it.Select Save Credentials to apply your changes.

Troubleshoot connection issues

Match the status code first. Most failures trace to the Stream ID, the secret, or the conversation ID.

Genesys reference

Use these pages when you need detail beyond what this article covers.
Related articles: