⌘I

Create support tickets in Gorgias

Updated July 14, 2023 ·
pluginsformspree-cligorgias
Also available in:

The create support ticket action adds support tickets in Gorgias. Under the hood, this action calls the create ticket API endpoint.

Adding the create support ticket action in the formspree.json file has the same effect as adding the Gorgias plugin in the Formspree dashboard. See the Gorgias plugin help article for more information. 

Get your API Token

You’ll need to add the subdomain of your Gorgias account, the connected email, and the API Key.
To get your API key follow these steps:

1. Log in to your account and in the left bottom corner click the bar with your name, then select your profile

mceclip2.png

2. At the top of the sidebar find Rest API and click it:

mceclip3.png

3. Copy your subdomain (without https and gorgias.com), your username and password.

mceclip4.png

Formspree.json configuration

KeyTypeDescription
app String Must be gorgias
type  String Must be createSupportTicket
apiKey String Your API key (must be a $env variable reference, required)
subdomain String Your Gorgias subdomain (without .gorgias.com or https)
email String Your Gorgias connected email

Example

{
  "forms": {
    "support": {
      "name": "Support Form",
      "actions": [
        {
          "app": "gorgias",
          "type": "createSupportTicket",
          "apiKey": "$GORGIAS_APIKEY",
          "subdomain": "testformspree",
          "email": "test@formspree.io"
        }
      ]
    }
  }
}

Validation rules

The create support ticket action adds the following submission validation rules implicitly:

FieldValidation Rule
emailRequired
emailType is email

Still have questions? or .