FlowmageDocs

List users

BetaReads dataVersion 2

Lists the people in Zendesk, by role, group or organization.

Settings

SettingWhat it is
ConnectionRequiredThe Zendesk connection the step signs in with.
Role"" or "end-user" or "agent" or "admin"
Custom role idOnly agents with this custom role. Enterprise accounts only.
Your own idOnly the people carrying this external id.
Only this groupThe List groups node gives you the id.
Only this organizationThe List organizations node gives you the id.
People per call1 to 100.
Fetch every pageFollows Zendesk's cursor, and refuses past 5,000 people rather than answering a short list.
CursorPaste a previous run's Next cursor to read the page after it.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `zendesk`)
role"" or "end-user" or "agent" or "admin"
permissionSettext
externalIdtext
groupIdtext
organizationIdtext
limitnumber, by default 100
returnAlltrue/false, by default false
cursortext

Output

FieldType
usersPeoplearray
userCountPeople in this answernumber
hasMoreMore people are waiting behind this pageboolean
nextCursorCursor for the next pagestring
Sample output, and the expression for each field
  • hasMorefalse
  • nextCursor""
  • userCount0
  • users[]

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": "",
    "externalId": "",
    "groupId": "",
    "limit": 100,
    "organizationId": "",
    "permissionSet": "",
    "returnAll": false,
    "role": ""
  },
  "label": "List users",
  "type": "zendesk.listUsers",
  "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.
Role"" or "end-user" or "agent" or "admin"
Custom role idOnly agents with this custom role. Enterprise accounts only.
Your own idOnly the people carrying this external id.
Only this groupThe List groups node gives you the id.
Only this organizationThe List organizations node gives you the id.
People per call1 to 100.
Fetch every pageFollows Zendesk's cursor, and refuses past 5,000 people rather than answering a short list.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `zendesk`)
role"" or "end-user" or "agent" or "admin"
permissionSettext
externalIdtext
groupIdtext
organizationIdtext
limitnumber, by default 100
returnAlltrue/false, by default false