FlowmageDocs

List org data

BetaReads data

Lists Personio departments, teams, legal entities, cost centres, offices, jobs or salary bands.

Settings

SettingWhat it is
ConnectionRequiredThe Personio connection the step signs in with.
What to list"orgUnits" or "legalEntities" or "costCenters" or "workplaces" or "jobs" or "salaryBands"
Kind of unitPersonio answers one kind at a time and needs to be told which.
Include the chain of parentstrue/false
CountriesTwo-letter country codes, comma-separated.
Idstext
NamesExact names, comma-separated.
Sort byA leading minus sorts descending.
CursorPaste a previous run's Next cursor to read the page after it.
Rows per call1 to 100 — every one of these six endpoints caps there.
Fetch every pageFollows Personio's next-page cursor, and refuses past 5,000 rows rather than answering a short list.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `personio`)
resource"orgUnits" or "legalEntities" or "costCenters" or "workplaces" or "jobs" or "salaryBands", by default "orgUnits"
orgUnitType"department" or "team", by default "department"used when `resource` is "orgUnits"
includeParentChaintrue/false, by default falseused when `resource` is "orgUnits"
countriestextused when `resource` is "legalEntities"
idstext
namestextused when `resource` is not "legalEntities"
sorttextused when `resource` is not "legalEntities"
cursortext
limitnumber, by default 100
returnAlltrue/false, by default false

Output

FieldType
itemsRowsarray
itemCountRows in this answernumber
hasMoreMore rows are waiting behind this pageboolean
nextCursorCursor for the next pagestring
Sample output, and the expression for each field
  • hasMorefalse
  • itemCount0
  • items[]
  • 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>",
    "countries": "",
    "cursor": "",
    "ids": "",
    "includeParentChain": false,
    "limit": 100,
    "names": "",
    "orgUnitType": "department",
    "resource": "orgUnits",
    "returnAll": false,
    "sort": ""
  },
  "label": "List org data",
  "type": "personio.listOrgData",
  "version": 1
}