Skip to content

Gorgias ​

Creates a Gorgias ticket from an email, replies to the customer, adds an internal note, tags, opens, closes or assigns.

The Gorgias node turns an email into a support ticket, then handles it: reply to the customer, internal note, tags, open, close, assign.

It works with a Gorgias connection. See Gorgias.

At a glance ​

  • Type: gorgias.api · version 1
  • Category: Data
  • Kind: Step — one stage of a run
  • Effect: Writes outside (external_write) — writes outside Loop & Roll; described instead of performed during a test run
  • Needs a carrier email: No
  • Connection: Gorgias
  • Inputs: main
  • Outputs: main
The ports of “Gorgias”: what comes in on the left, what goes out on the rightInput: main. Outputs: main. An error output appears when its failure setting is “Follow the Error output”. It needs a Gorgias connection.Gorgiasgorgias.apimainmainerror · only with “Follow the Error output”Connection: Gorgias
The ports of “Gorgias”: what comes in on the left, what goes out on the right

Connection ​

This node needs a Gorgias connection.

Parameters ​

connection ​

Gorgias connection — The Gorgias connection to use. Create it once in Connections; its key never appears in the workflow.

  • Type: Connection (credential)
  • Required: Yes
  • Default: "" (empty)

action ​

Action

  • Type: One choice (options)
  • Required: Yes
  • Default: createTicket
  • Options:
    • createTicket — Create a ticket from an email
    • reply — Reply to the customer
    • addNote — Add an internal note
    • update — Open, close or assign
    • addTags — Add tags
    • getTicket — Get a ticket

customerEmail ​

Customer address

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 320 characters at most
  • Example: {{ email.from.email }}
  • Shown when: action is one of createTicket, reply
  • Expressions: {{ }} accepted

customerName ​

Customer name

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 200 characters at most
  • Example: {{ email.from.name }}
  • Shown when: action is createTicket
  • Expressions: {{ }} accepted

subject ​

Subject

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 998 characters at most
  • Example: {{ email.subject }}
  • Shown when: action is createTicket
  • Expressions: {{ }} accepted

ticketId ​

Ticket — The Gorgias ticket number.

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 30 characters at most
  • Example: {{ data.gorgias.ticketId }}
  • Shown when: action is one of reply, addNote, update, addTags, getTicket
  • Expressions: {{ }} accepted

supportAddress ​

Sending address (support) — A support address already connected to Gorgias, the reply is sent from it.

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 320 characters at most
  • Example: support@shop.com
  • Shown when: action is reply
  • Expressions: {{ }} accepted

body ​

Body

  • Type: Long text (text)
  • Required: Yes
  • Default: "" (empty)
  • 50000 characters at most
  • Example: {{ email.bodyText }}
  • Shown when: action is one of createTicket, reply, addNote
  • Expressions: {{ }} accepted

status ​

Status

  • Type: One choice (options)
  • Required: No
  • Default: unchanged
  • Options:
    • unchanged — Unchanged
    • open — Open
    • closed — Closed
  • Shown when: action is update

assignee ​

Assigned agent — Empty: unchanged.

  • Type: Remote resource (resourceLocator)
  • Required: No
  • Ways to choose: pick from a list, type an ID (gorgias.user)
  • Listed with the connection in: connection
  • Shown when: action is update

tags ​

Tags — Comma-separated.

  • Type: Text (string)
  • Required: No
  • Default: "" (empty)
  • 2000 characters at most
  • Shown when: action is one of createTicket, addTags
  • Expressions: {{ }} accepted

Outputs ​

  • main — Taken once the call to Gorgias succeeds. An error response from Gorgias fails the step instead.

Data produced ​

What this node adds to the run data, and how to read it in an expression. <step> stands for the step key: the node name turned into an identifier (see Data and expressions).

  • {{ data.<step>.ticketId }} — string. Create, get: the ticket number.
  • {{ data.<step>.ticket }} — { id, subject, status, customerEmail, tags, createdAt }. The ticket.
  • {{ data.<step>.simulated }} — boolean. true when the write was described instead of performed (test run).
  • {{ data.<step>.summary }} — string. The one-line summary in the member’s language.

Loop & Roll — the workflow builder for email.