Zapier

Updated 1 month ago by Tamara Zaric

Zapier is an easy way for non-technical users to create integrations between web applications. No coding required! You can use Zapier to create a ticket in Gorgias when an action or an event happens on another application.

Setup instructions

Here's how to integrate your Zapier account with Gorgias:

  1. In your Gorgias account, click on IntegrationsHTTP IntegrationAdd HTTP Integration
  2. Click POST, then use the webhook URL from Zapier. You can pass arguments from Gorgias to Zapier using headers
    (see also "How to create a ticket with a Zap" below)
  3. Select a trigger of your choice

Nice job! When the integration is triggered, your zap will run.

Create a ticket in Gorgias with a Zap

If you want your Zap to open tickets in your Gorgias dashboard, then please follow these steps:

  1. In your Gorgias account, go to Settings
  2. Click on Rest API, and copy the base API URL, the username and the password
  3. Log in to your Zapier account
  4. Create a Zap with a trigger of your choice, the zap will run when that event happens
  5. The following window will open up in order for you to add an action to your Zap:
  6. Type 'webhook' into the search bar and select 'Webhooks by Zapier'
  7. When the window below opens, please select 'Custom Request'
  8. Now let's build your request! Here's our example below:
    1. Method: POST
    2. URL: {{your base api url from step 2}}tickets 
    3. Data Pass-Through? False
    4. Data: copy and paste the code below (please just keep in mind that you should update it with your details)
      {
      "channel": "email",
      "via": "api",
      "messages": [
      {
      "channel": "email",
      "via": "api",
      "source": {
      "type": "email",
      "from": {
      "name": "Romain Lapeyre",
      "address": "romain@gmail.com"
      },
      "to": [
      {
      "name": "Gorgias support",
      "address": "support@gorgias.com"
      }
      ]
      },
      "subject": "Reset password",
      "body_text": "Can you help me reset my password?",
      "body_html": "Can you help me reset my password?",
      "from_agent": false
      }
      ]
      }
    5. Unflatten: No
    6. Basic Auth: {{username from step 2}} | {{password from step 2}}
    7. Headers: Content-Typeapplication/json
  9. In the end it should look something like this:
  10. Click Continue
  11. Click Create and continue and Zapier will try to create a Gorgias ticket
  12. Click Finish, name your Zap, and activate it

And you're all set!

Send statistics to your email

Do you want weekly/daily/monthly statistics emailed to you automatically? There is a Zap for that! Have a look at this example:

  1. Here's an overview of the structure of this Zap:

  1. For the trigger event you are free to choose the one that fits your workflow best:

  1. Here you will want to pick the time range for the stats that you want delivered to your mailbox:

  1. You will then want to pick the correct format for your time zone as well:

  1. Here you can choose the format in which your data will be displayed:

  1. Lastly, here you can configure the look of the email, recipients, etc:

Ready to go!


What do you think? Yay or Nay?