Gorgias is connected with an API key from Settings → Integrations → Custom Integrations and an HTTP integration in Gorgias. The key applies to one shop.
With Gorgias, your team sees the returns and claims of your customer in the sidebar of the ticket. Gorgias fetches them from Returnflows and shows them in a widget.
Connect Gorgias
To set up Gorgias, follow the steps below.
In Returnflows, add an API key with the name Gorgias, and copy it. Learn more in Custom Integrations and API.
In Gorgias, open Settings and select HTTP integration.
Select the Manage tab, then Add HTTP integration.
Enter Returnflows as Integration name.
Enter
https://api.returnflows.com/integrations/gorgias/widget?email={{ticket.customer.email}}as URL, and choose GET as HTTP Method.Add a header with the name
Authorization. As its value, enter the word Bearer, a space and your API key.Choose Ticket created and Ticket updated under Triggers, and select Add integration.
Add the widget
In Gorgias, open a ticket from a customer who has a return or a claim.
Select the nut icon in the ticket sidebar, then Custom integrations.
Drag the section with the data from Returnflows into the sidebar, and save.
In the widget settings in Gorgias, you also choose which fields the widget shows.
If nothing is shown in the widget, then add a tag to the ticket and refresh the page.
What the widget shows
We find the returns and claims by the email of the customer on the ticket. A return shows its status, the return action, the amounts and the dates. The return package is shown under Shipments, with the carrier, the package number, its status and the tracking link.
A return or a claim that your customer started but never completed isn't shown. The widget shows up to 50 returns and 50 claims.
Good to know
The API key you enter in Gorgias works for the whole API, not only for the widget. Use a key of its own for Gorgias.
If you delete the API key in Returnflows, then the widget stops working. Add a new key, and enter it in the header of the HTTP integration in Gorgias.

