Help centre
العربية Back to sayvara.com

Genesys Cloud admin checklist

What a Genesys Cloud admin sets up for Sayvara - the role, the OAuth client, the region, and the extras for the webhook way and phone interviews.

Updated

Who does this

A Genesys Cloud administrator, in your Genesys Cloud organisation. They need the rights to create roles and OAuth clients. For the webhook way, they also import a data action and publish an Architect workflow.

When they are done, they hand the client ID and secret to whoever connects in Sayvara. See Genesys Cloud.

Create the role

Create a role named Sayvara. Give it the permissions below, and nothing more. Genesys shows each permission in the role editor as domain, entity and action: routing:queue:view is Routing > Queue > View.

Always:

Permission Why Sayvara needs it
analytics:conversationDetail:view Find conversations that ended, and read each one's agent, queue, wrap-up code and the customer's phone number or email address
routing:queue:view Find the Sayvara CATI queue for phone interviews. Test checks it.

For the score write-back you choose:

Write-back Permission
External tag conversation:externalTag:edit
Participant attribute The Genesys API definition lists no role permission for writing participant attributes. The OAuth client works with the conversations scope. Whether Genesys accepts the write after a conversation has ended has not been checked.
Off None

For phone interviews through Genesys only (see Calling with Genesys):

Permission Why Sayvara needs it
directory:user:view Find the caller's Genesys user by their email address
routing:wrapupCode:view Read the wrap-up code names, to suggest the call result
conversation:callback:create Place the call as a callback in the Sayvara CATI queue
conversation:communication:view Read the state of a call that is still running
conversation:communication:disconnect Withdraw a callback that still waits in the queue when the call may no longer go ahead, for example when the person asked not to be called

Divisions

A role given to an OAuth client starts with the Home division only. Add every division that holds the queues and conversations Sayvara should see. A check that fails in Test can mean a missing permission or a missing division.

Create the OAuth client

Follow Genesys's article Create an OAuth client.

  1. Go to Menu > IT and Integrations > OAuth and select Add client.
  2. Name it Sayvara. Choose the grant type Client Credentials.
  3. On the Roles tab, assign the Sayvara role and its divisions (see above). You can assign only roles that your own profile has.
  4. Token Duration can stay as it is. Sayvara asks for a new token a minute before the old one ends.
  5. Save. Copy the Client ID and the Client Secret now: Genesys shows the secret only once.

Find your region

The region is optional: in Sayvara, Find it for me tries each region below. To choose it yourself, match the address you sign in to Genesys Cloud with. Genesys lists its regions in AWS regions for Genesys Cloud deployment and their addresses in Required Genesys Cloud domains.

Region code in Sayvara Sign-in address
me-central-1 login.mec1.pure.cloud
eu-central-1 login.mypurecloud.de
eu-central-2 login.euc2.pure.cloud
eu-west-1 login.mypurecloud.ie
eu-west-2 login.euw2.pure.cloud
ap-south-1 login.aps1.pure.cloud
ap-northeast-1 login.mypurecloud.jp
ap-northeast-2 login.apne2.pure.cloud
ap-southeast-2 login.mypurecloud.com.au
us-east-1 login.mypurecloud.com
us-west-2 login.usw2.pure.cloud
ca-central-1 login.cac1.pure.cloud
sa-east-1 login.sae1.pure.cloud

Sayvara sends requests only to the login. and api. addresses of these regions.

Data action and workflow

For the webhook way only. With the automatic way, skip this step.

Sayvara gives you ready-made files for this: see Genesys Cloud Architect files. In short:

  • an integration named Sayvara, of the type Web Services Data Actions, with a User Defined credential field named token
  • the data action Sayvara - conversation ended
  • the Architect workflow sayvara-post-call-workflow.yaml, which takes the conversation ID as Flow.conversationId
  • a Process Automation trigger on the topic v2.detail.events.conversation.{id}.customer.end, created with POST /api/v2/processautomation/triggers

The admin who imports them needs these rights on their own Genesys user. The Sayvara role does not need them.

Permission For
integrations:integration:* The Sayvara integration
integrations:action:* The data action
architect:flow:add, architect:flow:edit, architect:flow:view, architect:flow:publish The workflow
processautomation:trigger:add, processautomation:trigger:view, processautomation:trigger:edit, processautomation:trigger:delete The trigger

Wrap-up codes

For phone interviews through Genesys, create the seven wrap-up codes listed in Calling with Genesys, and add them to the Sayvara CATI queue.

Phone-interview queue

For phone interviews through Genesys, create a queue named exactly Sayvara CATI. Capitals do not matter. Sayvara places each call as a callback in this queue.

Check it

In Sayvara, go to Settings > Contact centre and select Test in the connection's row. If you see Connected, but the OAuth client is missing a role for:, add the permission or the division for each check named, then select Test again.

A passing users (Directory) check does not prove directory:user:view. Test does not check conversation:communication:view, conversation:communication:disconnect or the write-back permission. The first call or score shows whether they are in place.