Skip to content

Freshdesk ​

Creates a Freshdesk ticket from an email with its attachments, replies, adds a note, changes status, priority or agent.

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

It works with a Freshdesk connection. See Freshdesk.

At a glance ​

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

Connection ​

This node needs a Freshdesk connection.

Parameters ​

connection ​

Freshdesk connection — The Freshdesk 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 a note
    • update — Change status, priority or agent
    • getTicket — Get a ticket

email ​

Requester address

  • Type: Text (string)
  • Required: Yes
  • Default: "" (empty)
  • 320 characters at most
  • Example: {{ email.from.email }}
  • Shown when: action is createTicket
  • 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 Freshdesk ticket number.

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

body ​

Body — The text of the ticket, reply or note (HTML accepted). Accepts {{ }} expressions.

  • 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

private ​

Private note — Visible to agents only.

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

status ​

Status

  • Type: One choice (options)
  • Required: No
  • Default: unchanged
  • Options:
    • unchanged — Default / unchanged
    • 2 — Open
    • 3 — Pending
    • 4 — Resolved
    • 5 — Closed
  • Shown when: action is one of createTicket, update

priority ​

Priority

  • Type: One choice (options)
  • Required: No
  • Default: unchanged
  • Options:
    • unchanged — Default / unchanged
    • 1 — Low
    • 2 — Medium
    • 3 — High
    • 4 — Urgent
  • 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 (freshdesk.agent)
  • Listed with the connection in: connection
  • Shown when: action is one of createTicket, update

withAttachments ​

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

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

Outputs ​

  • main — Taken once the call to Freshdesk succeeds. An error answer from Freshdesk 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 and get a ticket: its number.
  • {{ data.<step>.ticket }} — { id, subject, description, status, priority, requesterId, responderId, createdAt, updatedAt }. Create, update, get: the ticket.
  • {{ data.<step>.attachmentCount }} — number. Create a ticket only: how many attachments were sent.
  • {{ 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.