FlowmageDocs

List ticket fields

BetaReads dataVersion 2

Lists Zendesk ticket fields with their ids and drop-down options.

Settings

SettingWhat it is
ConnectionRequiredThe Zendesk connection the step signs in with.
LanguageWhich language the titles and drop-down labels come back in. Left empty, Zendesk uses the account's own. Every field carries its own type — text, textarea, checkbox, date, integer, decimal, regexp, partialcreditcard, multiselect, tagger (a drop-down), lookup and multi_lookup — beside the ones Zendesk builds in itself.
Also say who made each fieldtrue/false
Fields per call1 to 100.
Fetch every pageOn by default: an account has a few hundred fields at most, and half a list of them is no use. Zendesk allows 300 of these calls a minute (450 with the High Volume add-on, 40 in a sandbox and 20 on a trial).
CursorPaste a previous run's Next cursor to read the page after it.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `zendesk`)
localetext
includeCreatortrue/false, by default false
limitnumber, by default 100
returnAlltrue/false, by default true
cursortext

Output

FieldType
fieldsTicket fieldsarray
fieldCountFields in this answernumber
fieldIdsEach custom field's id, by its titleobject
hasMoreMore fields are waiting behind this pageboolean
nextCursorCursor for the next pagestring
Sample output, and the expression for each field
  • fieldCount0
  • fieldIds{}
  • fields[]
  • hasMorefalse
  • nextCursor""

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>",
    "cursor": "",
    "includeCreator": false,
    "limit": 100,
    "locale": "",
    "returnAll": true
  },
  "label": "List ticket fields",
  "type": "zendesk.listTicketFields",
  "version": 2
}

Older versions

A flow that already has this version keeps running it. A new step always gets the newest.

Version 1
SettingWhat it is
ConnectionRequiredThe Zendesk connection the step signs in with.
LanguageWhich language the titles and drop-down labels come back in. Left empty, Zendesk uses the account's own. Every field carries its own type — text, textarea, checkbox, date, integer, decimal, regexp, partialcreditcard, multiselect, tagger (a drop-down), lookup and multi_lookup — beside the ones Zendesk builds in itself.
Also say who made each fieldtrue/false
Fields per call1 to 100.
Fetch every pageOn by default: an account has a few hundred fields at most, and half a list of them is no use. Zendesk allows 300 of these calls a minute (450 with the High Volume add-on, 40 in a sandbox and 20 on a trial).
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `zendesk`)
localetext
includeCreatortrue/false, by default false
limitnumber, by default 100
returnAlltrue/false, by default true