English
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
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 emailreply— Reply to the customeraddNote— Add an internal noteupdate— Open, close or assignaddTags— Add tagsgetTicket— Get a ticket
customerEmail
Customer address
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 320 characters at most
- Example:
{{ email.from.email }} - Shown when:
actionis one ofcreateTicket,reply - Expressions:
{{ }}accepted
customerName
Customer name
- Type: Text (
string) - Required: No
- Default:
""(empty) - 200 characters at most
- Example:
{{ email.from.name }} - Shown when:
actioniscreateTicket - Expressions:
{{ }}accepted
subject
Subject
- Type: Text (
string) - Required: Yes
- Default:
""(empty) - 998 characters at most
- Example:
{{ email.subject }} - Shown when:
actioniscreateTicket - 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:
actionis one ofreply,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:
actionisreply - Expressions:
{{ }}accepted
body
Body
- Type: Long text (
text) - Required: Yes
- Default:
""(empty) - 50000 characters at most
- Example:
{{ email.bodyText }} - Shown when:
actionis one ofcreateTicket,reply,addNote - Expressions:
{{ }}accepted
status
Status
- Type: One choice (
options) - Required: No
- Default:
unchanged - Options:
unchanged— Unchangedopen— Openclosed— Closed
- Shown when:
actionisupdate
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:
actionisupdate
tags
Tags — Comma-separated.
- Type: Text (
string) - Required: No
- Default:
""(empty) - 2000 characters at most
- Shown when:
actionis one ofcreateTicket,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.