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

Genesys Cloud

Send a survey when a Genesys Cloud call, chat or message ends, and write the customer's score back onto the conversation.

Updated

What it does

Sayvara learns that a conversation ended in Genesys Cloud in one of two ways. You choose the way when you connect:

  • Automatic: Sayvara checks Genesys every minute for conversations that ended. Nothing to build in Genesys.
  • Webhook: a Genesys Architect workflow tells Sayvara each time a conversation ends.

Then:

  • Sayvara confirms the conversation with Genesys Cloud, and your survey rules pick the survey and send it.
  • When the customer answers, Sayvara writes the score back onto the conversation in Genesys Cloud: as an external tag, as participant attributes, or not at all. You choose.

It works for calls, callbacks, chats, messages and email conversations.

What you need first

  • In Sayvara: the owner or admin role, and a plan that includes integrations.
  • In Genesys Cloud: an administrator who creates the role and the OAuth client for Sayvara. Give them the Genesys Cloud admin checklist.
  • Your Genesys Cloud region is optional. Sayvara can find it for you.

Connect in Sayvara

  1. Go to Settings > Contact centre and select Connect Genesys Cloud.
  2. Fill in the form, in this order:
Field What to enter
OAuth client ID The client ID from your Genesys Cloud admin. 8 characters or more.
OAuth client secret The client secret from your Genesys Cloud admin. 8 characters or more. It is stored encrypted and never shown again.
Name A name for this connection. It starts as Contact centre.
Region Find it for me (recommended), or your region code.
How Sayvara learns that a conversation ended Automatic: Sayvara checks Genesys every minute (recommended), or Webhook: a Genesys Architect workflow tells Sayvara.
Score write-back External tag (the default), Participant attribute or Off.
  1. Select Connect Genesys Cloud. Sayvara checks the client with Genesys Cloud before it saves the connection.

With Find it for me, Sayvara tries the client in each region it supports until one accepts it. The region codes are listed in the admin checklist.

After you connect

  • Automatic: there is nothing more to do. Surveys start after the next conversation ends.
  • Webhook: the Webhook details window shows a Webhook URL and a Token. Copy both now. The token is shown only now. Your Genesys Cloud admin needs them for the data action and the workflow: see Genesys Cloud Architect files.

Test the connection

In the connection's row, select Test. Sayvara checks the permissions it can check without a real conversation:

Check When it runs
organisation Always. It needs a working OAuth client.
conversation details (Analytics) Always
queues (Routing) Always
users (Directory) With phone interviews through Genesys
wrap-up codes (Routing) With phone interviews through Genesys
callbacks (Conversation) With phone interviews through Genesys

You see The connection works and every permission is in place., or Connected, but the OAuth client is missing a role for: followed by the checks that failed. When the OAuth client itself fails, you see Genesys Cloud did not answer as expected (…) instead, with a reason from the table under Troubleshooting. Add the missing permission or division to the role, 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. A score written back shows in the Last 7 days counts.

Handover between the two admins

From the Genesys Cloud admin to whoever connects in Sayvara:

Item Note
OAuth client ID From the OAuth client
OAuth client secret Genesys shows it only once, when the client is saved
Region Optional. Sayvara can find it.
Write-back choice External tag, participant attribute or off

From Sayvara back to the Genesys Cloud admin, for the webhook way only:

Item Note
Webhook URL Shown once, in the Webhook details window
Token Shown once. A new token replaces the old one at once.

You do not enter the Genesys organisation ID. Sayvara reads it from Genesys when you connect.

Score write-back

Option What Sayvara writes
External tag A tag such as sayvara:nps=9/10 on the conversation. You can search for it in Genesys Cloud.
Participant attribute On the customer participant: sayvara_score (the score), sayvara_score_metric (for example nps) and sayvara_score_max (the top of the scale).
Off Nothing.

Data shared

Direction What
Genesys Cloud to Sayvara Per ended conversation: its ID, media type, start and end time, duration, agent, queue, wrap-up code, whether it was transferred, and the customer's phone number or email address
Sayvara to Genesys Cloud The score, its metric and its scale, on the conversation

No recordings, transcripts or chat text are read. The client secret and the token are stored encrypted.

Pause, new token, disconnect

  • Pause stops new surveys from this connection. Resume starts them again.
  • New token gives a new webhook token. The old one stops at once, so update the Genesys integration right after.
  • Disconnect removes the connection and deletes both stored secrets. Your Genesys Cloud admin then removes the Sayvara items in Genesys: see Disconnect Genesys Cloud.

The Last 7 days column shows how many conversations were received, sent to surveys and scored back.

Troubleshooting

Message or reason What to do
Genesys Cloud refused the client ID or secret. Copy the client ID and secret again. Check that the grant type is Client Credentials.
Genesys Cloud could not be reached. Try again. Check the Region, or choose Find it for me. Try again in a few minutes.
This Genesys Cloud organisation is already connected. Use the existing connection, or disconnect it first.
Your plan does not include contact-centre integrations. Ask us about a plan with integrations.
Genesys Cloud did not answer as expected (auth_failed). or Last check failed (auth_failed) Genesys refused the client or a permission: the secret is wrong, the OAuth client was changed or deleted, or the role lost a permission. Select Test to see which check fails.
Connected, but the OAuth client is missing a role for: … Add the permission or division for each check named. Compare the role with the admin checklist.
rate_limited Sayvara used up this connection's call budget (120 calls a minute by default), or Genesys asked it to wait. Sayvara tries again by itself.
unavailable Genesys did not answer. Sayvara tries again by itself.
The data action gets 401 with BAD_SIGNATURE The token is wrong or was replaced. Copy the current token, or select New token.
The data action gets 400 with Expected { conversationId, ... } The body has no conversationId. Fix the data action's request template.
The data action gets 429 Too many events in a minute, or too many failed calls (for example a wrong token) from one address. Wait for the time in the Retry-After header, and fix the token if it is wrong.

FAQ

Do customers get a survey for every conversation? No. Your survey rules decide who gets one, and when.

Which way should I choose? Automatic in most cases: it needs only the OAuth client. Choose Webhook when your Genesys Cloud admin prefers Genesys to tell Sayvara about each conversation.

Is the customer's phone number kept? Only as long as the survey step needs it. It is removed from the conversation log afterwards.