Skip to content

Zendesk ​

Creates a Zendesk ticket from an email with its attachments, replies or adds an internal note, changes status, priority, group or agent, finds a requester.

The Zendesk node turns an email into a customer-service ticket — with its attachments, a priority, a group and an agent — then moves it forward: reply to the customer, internal note, status change. It works with a Zendesk connection.

At a glance ​

  • Type: zendesk.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: Zendesk
  • Inputs: main
  • Outputs: main
The ports of “Zendesk”: 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 Zendesk connection.Zendeskzendesk.apimainmainerror · only with “Follow the Error output”Connection: Zendesk
The ports of “Zendesk”: what comes in on the left, what goes out on the right

Connection ​

This node needs a Zendesk connection.

Parameters ​

connection ​

Zendesk connection — The Zendesk 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
    • comment — Reply or add a note
    • update — Change status, priority or agent
    • getTicket — Get a ticket
    • findUser — Find a requester by email

email ​

Requester address

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

name ​

Requester 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)
  • 255 characters at most
  • Example: {{ email.subject }}
  • Shown when: action is createTicket
  • Expressions: {{ }} accepted

ticketId ​

Ticket — The Zendesk ticket number.

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

body ​

Body — The ticket’s first message, the reply or the note (HTML accepted). Accepts {{ }} expressions.

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

public ​

Visible to the requester — Unchecked: an internal note, visible to agents only.

  • Type: Yes / no (boolean)
  • Required: No
  • Default: false
  • Shown when: action is comment

status ​

Status

  • Type: One choice (options)
  • Required: No
  • Default: unchanged
  • Options:
    • unchanged — Default / unchanged
    • new — New
    • open — Open
    • pending — Pending
    • hold — On hold
    • solved — Solved
  • Shown when: action is one of createTicket, comment, update

priority ​

Priority

  • Type: One choice (options)
  • Required: No
  • Default: unchanged
  • Options:
    • unchanged — Default / unchanged
    • low — Low
    • normal — Normal
    • high — High
    • urgent — Urgent
  • Shown when: action is one of createTicket, update

group ​

Group — Empty: unchanged.

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

agent ​

Assigned agent — Empty: unchanged.

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

tags ​

Tags — Comma-separated.

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

withAttachments ​

Include attachments — The email’s attachments and those added by an earlier step (ten at most, 20 MB each).

  • Type: Yes / no (boolean)
  • Required: No
  • Default: true
  • Shown when: action is one of createTicket, comment

Outputs ​

  • main — Taken once the Zendesk call has succeeded. An error answer from Zendesk 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, reply, update, get: the ticket number.
  • {{ data.<step>.ticket }} — { id, subject, description, status, priority, requesterId, assigneeId, groupId, tags, createdAt, updatedAt }. The ticket.
  • {{ data.<step>.attachmentCount }} — number. Create, reply: the number of attachments sent.
  • {{ data.<step>.user }} — object. Find a requester: { id, name, email, role, organizationId }, or null.
  • {{ data.<step>.simulated }} — boolean. true when the write was described instead of done (test run).
  • {{ data.<step>.summary }} — string. The one-line summary in the member’s language.

Loop & Roll — the workflow builder for email.