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

Genesys Cloud Architect files

Ready-made Genesys Cloud files that tell Sayvara when a conversation ends, so you do not build the data action and workflow by hand.

Updated

If your Genesys Cloud connection uses the webhook way of telling Sayvara that a conversation ended, Genesys needs a data action and an Architect workflow. Instead of building them by hand, ask us for the ready-made files for your connection. They are made for your connection's own Webhook URL.

What you get

File What it is Where it goes
sayvara-data-action.json The data action that tells Sayvara a conversation ended Menu > IT and Integrations > Actions > Import
sayvara-post-call-workflow.yaml The Architect workflow that calls the data action The Archy tool
sayvara-conversation-end-trigger.json The trigger that starts the workflow when the customer leaves The Genesys Cloud API
README.txt The import steps, to keep with the files Keep it with the files

The files hold no password or token. You type the token into Genesys Cloud yourself, once.

Before you start

  1. In Sayvara, go to Settings > Contact centre.
  2. Make sure the connection uses Webhook. We check the rest before we send the files.
  3. Have the token Sayvara showed you when you connected. If you no longer have it, select New token in the connection's row.
  4. Ask us for the Architect files and tell us which connection they are for.

Import the files

1. Create the integration

  1. In Genesys Cloud, go to Menu > IT and Integrations > Integrations and add a Web Services Data Actions integration.
  2. Name it exactly Sayvara.
  3. Under Configuration > Credentials, choose User Defined and add one field named token. Paste the Sayvara token as its value.
  4. Activate the integration.

2. Import the data action

  1. Go to Menu > IT and Integrations > Actions and select Import.
  2. Choose sayvara-data-action.json and pick the Sayvara integration.
  3. Save and publish. The action is called Sayvara - conversation ended.

3. Publish the workflow

  1. With the Archy tool, run archy publish --file sayvara-post-call-workflow.yaml.
  2. Open the workflow in Architect to check it, and note its ID.

4. Create the trigger

  1. Open sayvara-conversation-end-trigger.json and replace <WORKFLOW_ID> with the workflow ID.
  2. Send it to POST /api/v2/processautomation/triggers, for example from the Genesys Cloud API Explorer.

5. Test

In Sayvara, select Test in the connection's row. After the next call ends, it shows in the connection's Last 7 days counts. Sayvara still confirms every conversation with Genesys Cloud before it sends a survey.

Good to know

  • The workflow sends only the conversation ID. Sayvara reads the rest from Genesys Cloud.
  • If you issue a new token in Sayvara, update the token field in the Genesys Cloud integration too.
  • If you prefer, Sayvara can read ended conversations itself (the automatic way), and then you need none of these files. See Genesys Cloud.
  • To remove these items from Genesys Cloud when you stop using Sayvara, see Disconnect Genesys Cloud.
  • The Genesys Cloud permissions the importing admin needs are in the Genesys Cloud admin checklist.