Gorgias
Integrate Agent Connect with the Gorgias CRM.
An integration between Medallia Agent Connect and Gorgias enables you to send feedback requests to customers automatically after your team solves tickets in Gorgias.
The team member that solved the ticket has an approved Agent Connect profile.
The customer's record includes an email address.
A team member is assigned to the case when it is closed.
Before you begin
Before you begin the integration, ensure that you have entered a test email address in Agent Connect and have collected your test and production API credentials. For more information, see Integrations.
Before you begin
Before you begin the integration, ensure that you have entered a test email address on the Integrations page in Agent Connect and have collected your test and production API credentials.
Configure Gorgias
Complete the following steps in Gorgias to integrate tickets with Agent Connect survey requests.
Create a Gorgias API token:
Open the Rest API page (Settings > Rest API), then click Create API Token.
Copy the token and the Base API URL, then send them to the Agent Connect team.
Create a webhook:
Open Settings > Integrations > HTTP, then click Add HTTP Integration.
Configure the following fields, then click Add Integration:
Integration name — Enter a descriptive name, such as "Send Agent Connect Survey".
Triggers — Select "Ticket updated".
URL — Enter
https://api.stellaconnect.net/v1/webhooks/gorgias.HTTP Method — Select "Post".
Request content type — Select "application/json".
Response content type — Select "application/json".
Header key — Select "x-api-key".
Header value — Enter your Agent Connect Test API Key.
Request JSON Body — Enter the following code:
{ "channel": "{{ticket.channel}}", "meta": "{{ticket.meta}}", "ext_interaction_id": "{{ticket.id}}", "customer_custom_id": "{{ticket.customer.id}}", "employee_email": "{{ticket.assignee_user.email}}", "customer_name": "{{ticket.customer.name}}", "status": "{{ticket.status}}", "language": "{{ticket.language}}", "tags": "{{ticket.tags}}", "customer_email": "{{ticket.customer.email}}" }
Create tags:
Open Settings > Tags, then click Create Tag.
Enter "stellaconnect-do-not-send" as the new tag, then click Save.
Move the integration to production
When your testing is complete and everything works as expected, move your integration to production via the steps below:
In Gorgias, open Settings > Integrations > HTTP.
Open the "Send Agent Connect Survey" integration.
In the Header value field, enter your Agent Connect Production API Key, then save the integration.
In Agent Connect, open the Integrations page (Settings > Integrations).
For each channel you integrated, switch that field on, then click Update.
