> For the complete documentation index, see [llms.txt](https://docs.getmesa.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getmesa.com/connect/gorgias.md).

# Gorgias

### Connection <a href="#connect" id="connect"></a>

When you're setting up your first workflow with Gorgias, you'll need to add your Gorgias subdomain into the text field. For example, if your Gorgias dashboard URL ([after you log-in](https://www.gorgias.com/login)) is <https://subdomain-example.gorgias.com/app> your Gorgias subdomain would be: subdomain-example

<figure><img src="/files/5FSru2eNwGTQ53hmJeXX" alt="Screenshot of the MESA Gorgias connection setup, enter your Gorgias subdomain into the text field. Spotlight the subdomain text field."><figcaption></figcaption></figure>

Once your subdomain is entered, click on Connect with Gorgias to finish the process. You may be asked to log-in into your Gorgias account.

## Configure <a href="#configuring" id="configuring"></a>

### Creating a ticket with an internal note <a href="#internal" id="internal"></a>

[To create a ticket with an internal note](https://updates.gorgias.com/posts/ticket-creation-with-an-internal-note), you will need to follow the below set-up instructions:

1\. Add a Gorgias Create Ticket action into your workflow and [connect Gorgias with MESA if necessary.](#connect)

2\. Scroll down a little until you see the Channel field under the Messages. Select api from the dropdown menu.

<figure><img src="/files/nKXuoGBsDz4hs6qNsCnm" alt="Screenshot of the MESA Gorgias Create Ticket action, Channel field under Messages. Spotlight the Channel dropdown set to api."><figcaption></figcaption></figure>

3\. Below that you should see the From Agent field under External ID. Select Yes from the dropdown menu.

<figure><img src="/files/0ZT79tTvbHLHT9o2RtIv" alt="Screenshot of the MESA Gorgias Create Ticket action, From Agent field under External ID. Spotlight the From Agent dropdown set to Yes."><figcaption></figcaption></figure>

4\. There are 2 additional fields to fill out under Messages.

* **Messages > Sender > Email:** This would be the email address of the person who sent the message. It can be a team user or a customer
* **Messages > Via:** Select internal-note from the dropdown menu

<figure><img src="/files/mPQl9PoDX3NEIrb7iNLp" alt="Screenshot of the MESA Gorgias Create Ticket action, Messages Sender Email field for the person who sent the message. Spotlight the Sender Email field."><figcaption></figcaption></figure>

<figure><img src="/files/ttgP24r71QvrZUmXUOKe" alt="Screenshot of the MESA Gorgias Create Ticket action, Messages Via field. Spotlight the Via dropdown set to internal-note."><figcaption></figcaption></figure>

6\. As an optional set-up, you can enter the following fields by clicking the More options button:

* **Customer > Email:** The email address of the customer that the ticket should be sent to after a reply to the internal note is made.
* **Messages > Body Text:** The full text of the internal note.
* **Messages > Subject:** The subject of the internal note.

<figure><img src="/files/Tq7csf1LTMj90ly94xXE" alt="Screenshot of the MESA Gorgias Create Ticket action More options, Customer Email field for the customer the ticket is sent to. Spotlight the Customer Email field."><figcaption></figcaption></figure>

<figure><img src="/files/M78kUxtGvFlIW5mBSqPS" alt="Screenshot of the MESA Gorgias Create Ticket action More options, Messages Body Text field for the full text of the internal note. Spotlight the Body Text field."><figcaption></figcaption></figure>

<figure><img src="/files/ZqCg6nbPt72x5mBgzgO3" alt="Screenshot of the MESA Gorgias Create Ticket action More options, Messages Subject field for the subject of the internal note. Spotlight the Subject field."><figcaption></figcaption></figure>

7\. After adding and updating fields, click to Save your changes.

### I don't see my Gorgias workflow activating when I update something in Gorgias? <a href="#trigger" id="trigger"></a>

MESA workflows that contain Gorgias [Triggers](/workflow-builder/triggers.md) (such as Customer Created) will run on a polling system. Meaning, on every hour or whatever the selected frequency is selected in your MESA workflow, MESA will look for any recent activity in Gorgias. As a result, you may not see immediate activity in your MESA workflow until the frequency hits.

In Gorgias triggers, you can find the polling system in the Configure menu if you click the More options button to add it. You can keep the default frequency or adjust it.

<figure><img src="/files/KPVY5X02mVTPDdYrpZcH" alt="Screenshot of a MESA Gorgias trigger Configure menu opened with More options, showing the polling frequency setting. Spotlight the frequency selector."><figcaption></figcaption></figure>

Once the frequency hits, MESA will process every single task that has accrued within the previous timeframe.

{% hint style="info" %}
**🗒 Note**: Please note that available frequencies will differ depending on your MESA billing plan.
{% endhint %}
