Documentation

Gorgias SDK Implementation Guide

Gorgias SDK Implementation Guide

Step 1 - Update Chat Widget Configuration

Specify which crm SDK platform to connect to in config.

  window.DG_CHAT_WIDGET_CONFIG = {
    crmSDKPlatform: 'gorgias', // Required
  }

crmSDKPlatform - When set to gorgias, the Gorgias SDK script is injected into the customers page.

Step 2 - Setup Gorgias Chat

Within the Gorgias dashboard, navigate to Channels -> Chat -> Add Chat.

Enter a title, select a language and choose the 'Any other website' platform type.

You can optionally connect to a store - See Gorgias docs on connecting a Shopify store.

Select 'Create & Customize'.

Select 'Next' on the following screen.

Select 'Next' on the following screen and 'Continue With Installation' in the popup.

Select 'Install Manually' on the following screen.

On the following screen, close the popup and expand the 'Manual installation' section.

Copy the last part of the script src and store it somewhere safe.

Step 3 - Update Agent Handover Object

In Flow, ensure the Agent Handover activity JSON object has the following properties:

{
  "crmPlatform": "gorgias",
  "integrationId": "*******************",
}

crmPlatform - Set to gorgias.

integrationId - Retrieved in Step 2.