FlowmageDocs

List tickets

BetaReads data

Lists Freshdesk tickets, newest first, with the filters Freshdesk offers.

Settings

SettingWhat it is
ConnectionRequiredThe Freshdesk connection the step signs in with.
Predefined filter"" or "new_and_my_open" or "watching" or "spam" or "deleted"
Requester idtext
Requester e-mailtext
Requester external idtext
Company idtext
Updated sinceWithout this, Freshdesk only returns tickets created in the last 30 days. That is its single most surprising rule.
Order by"created_at" or "due_by" or "updated_at" or "status"
Direction"desc" or "asc"
ExtrasComma-separated. Each extra costs an extra API call credit per ticket.
Tickets per call1 to 100.
Fetch every pageFollows Freshdesk's own next-page link, and refuses past 5,000 tickets or 300 pages rather than answering a short list.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `freshdesk`)
filter"" or "new_and_my_open" or "watching" or "spam" or "deleted"
requesterIdtext
emailtext
uniqueExternalIdtext
companyIdtext
updatedSincetext
orderBy"created_at" or "due_by" or "updated_at" or "status", by default "created_at"
orderType"desc" or "asc", by default "desc"
includetext
limitnumber, by default 100
returnAlltrue/false, by default false

Output

FieldType
ticketsarray
ticketCountTickets in this answernumber
hasMoreMore tickets are waiting behind this pageboolean
nextUrlFreshdesk's link to the next pagestring
Sample output, and the expression for each field
  • hasMorefalse
  • nextUrl""
  • ticketCount0
  • tickets[]

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": {
    "companyId": "",
    "connection": "<connection id>",
    "email": "",
    "filter": "",
    "include": "",
    "limit": 100,
    "orderBy": "created_at",
    "orderType": "desc",
    "requesterId": "",
    "returnAll": false,
    "uniqueExternalId": "",
    "updatedSince": ""
  },
  "label": "List tickets",
  "type": "freshdesk.listTickets",
  "version": 1
}