FlowmageDocs

Get ticket

BetaReads data

Reads one Freshdesk ticket, with the extras you ask for.

Settings

SettingWhat it is
ConnectionRequiredThe Freshdesk connection the step signs in with.
Ticket idRequiredtext
ExtrasComma-separated. Each extra costs an extra API call credit, and conversations returns at most the first 10 and costs two.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `freshdesk`)
ticketIdtext
includetext

Output

FieldType
ticketobject
ticketIdnumber
ticketUrlLink to the ticketstring
conversationsReplies and notes (when asked for)array
requesterRequester (when asked for)object
companyCompany (when asked for)object
statsTimestamps (when asked for)object
Sample output, and the expression for each field
  • company{}
  • conversations[]
  • requester{}
  • stats{}
  • ticket{}
  • ticketId42
  • ticketUrl"https://acme.freshdesk.com/a/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>",
    "include": "",
    "ticketId": "<ticket id>"
  },
  "label": "Get ticket",
  "type": "freshdesk.getTicket",
  "version": 1
}