FlowmageDocs

Get ticket

BetaReads data

Reads one Zendesk ticket, optionally with its related records.

Settings

SettingWhat it is
ConnectionRequiredThe Zendesk connection the step signs in with.
Ticket idRequiredtext
Also fetchComma-separated related records Zendesk returns beside the ticket, under Also fetched.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `zendesk`)
ticketIdtext
sideloadstext

Output

FieldType
ticketobject
ticketIdstring
ticketUrlAddress of the ticket in Zendeskstring
sideloadedAlso fetchedobject
Sample output, and the expression for each field
  • sideloaded
    • comment_count3
  • ticket
    • id42
    • subject"Printer is jammed"
  • ticketId"42"
  • ticketUrl"https://acme.zendesk.com/agent/tickets/42"

Errors

When a step of this node stops a run, the run page shows a code. Look it up:

Example step

The step as a flow file holds it. Replace each value in <…>.

{
  "config": {
    "connection": "<connection id>",
    "sideloads": "",
    "ticketId": "<ticket id>"
  },
  "label": "Get ticket",
  "type": "zendesk.getTicket",
  "version": 1
}