English
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
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 emailcomment— Reply or add a noteupdate— Change status, priority or agentgetTicket— Get a ticketfindUser— 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:
actionis one ofcreateTicket,findUser - Expressions:
{{ }}accepted
name
Requester 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) - 255 characters at most
- Example:
{{ email.subject }} - Shown when:
actioniscreateTicket - 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:
actionis one ofcomment,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:
actionis one ofcreateTicket,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:
actioniscomment
status
Status
- Type: One choice (
options) - Required: No
- Default:
unchanged - Options:
unchanged— Default / unchangednew— Newopen— Openpending— Pendinghold— On holdsolved— Solved
- Shown when:
actionis one ofcreateTicket,comment,update
priority
Priority
- Type: One choice (
options) - Required: No
- Default:
unchanged - Options:
unchanged— Default / unchangedlow— Lownormal— Normalhigh— Highurgent— Urgent
- Shown when:
actionis one ofcreateTicket,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:
actionis one ofcreateTicket,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:
actionis one ofcreateTicket,update
tags
Tags — Comma-separated.
- Type: Text (
string) - Required: No
- Default:
""(empty) - 1000 characters at most
- Shown when:
actioniscreateTicket - 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:
actionis one ofcreateTicket,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 }, ornull.{{ 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.