Genesys Cloud connector
SurveyCX surveys Genesys Cloud customers after the interaction: when the agent's part of a call, chat, message or email ends, the customer is invited by WhatsApp, SMS or email to the hosted web survey, and the response is attributed to the agent and queue. Nothing runs inside the Genesys IVR; the invitation is the survey. The connector uses Genesys Cloud's own Amazon EventBridge integration, so there is no polling, no OAuth client and no code on the Genesys side.
Setup
- In Genesys Cloud, Admin › Integrations › + Add integration, install Amazon EventBridge Source. On the Configuration tab enter the AWS account id and region of your SurveyCX stack and an event source suffix such as
surveycx. Under Topic filtering add v2.detail.events.conversation.{id}.user.end (the agent's part of an interaction ended). Save and set the integration to Active.
- In AWS (EventBridge console, Partner event sources), the source
aws.partner/genesys.com/cloud/<your org id>/surveycx appears within a few minutes. Associate it with an event bus; the bus gets the same name.
- Deploy or update the stack with
GenesysEventBusName=<that bus name>. The stack adds a rule on the bus and a function that turns each event into a SurveyCX contact. Its errors raise the surveycx-genesys-errors alarm.
- In the survey builder, make sure the surveys that should reach Genesys customers allow the SMS, email or WhatsApp channel, and that sending is configured under Settings › Invitations.
What the connector does with an event
From the user.end event: the conversation id becomes the contact id; the media type becomes the channel (voice, email, or chat for chat and messaging); the customer's number comes from ani on inbound calls (dnis on outbound), the email address from addressFrom; the agent is the Genesys user id, the queue the queue id; direction, division and media type travel as contact attributes for targeting (the wrap-up code arrives on a separate after-call-work event and is not waited for). Interactions from an outbound dialler campaign carry the campaign id and are surveyed only by a survey whose target opts in to campaigns; direction (inbound or outbound) is used by the survey's targeting. The contact then goes through the same path as an Amazon Connect contact record: frequency cap, send window, suppression list, invitation. Events that are not user.end, and interactions nobody handled, are ignored.
Names instead of ids
Genesys events carry ids. Under Settings › Genesys Cloud names map queue ids and user ids to names, one per line as id = name; contacts that arrive afterwards show the names on the results page, in alerts and in Arena. Earlier responses keep the ids.
Other Genesys paths
For a survey inside a Genesys Architect flow, call POST /api/ingest/{key}/invitations from a Data Action to get a survey link, or post collected answers to POST /api/ingest/{key}/responses (see the API reference). Both work beside the connector.
Cost
EventBridge charges per event published to a partner bus (about one dollar per million); the function runs once per finished interaction, inside the Lambda free tier for most centres. SurveyCX bills completed responses as always.
Current as of version 0.10.0. See the release notes for what changed since.