FlowmageDocs

List candidates

BetaReads dataVersion 2

Finds Teamtailor candidates by e-mail, department, location or date.

Settings

SettingWhat it is
ConnectionRequiredThe Teamtailor connection the step signs in with.
E-mailTeamtailor keys candidates by e-mail — this is the exact-match lookup.
Department idPicked from the list Teamtailor offers.
Division idtext
Role idtext
Location idstext
Region idstext
Citytext
Countrytext
Statetext
Phonetext
Connected"" or "true" or "false"
Created fromtext
Created up totext
Changed fromThe filter a nightly sync reads — everything touched since this moment.
Changed up totext
Also fetchRelated records to fetch with each candidate, comma separated. They arrive folded into each row, so {{ candidate.department.name }} works.
Sort byA minus in front turns the order around.
Candidates per call1 to 30 — Teamtailor's own maximum is 30.
Fetch every pageFollows Teamtailor's own next-page link, and refuses past 5,000 candidates 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 `teamtailor`)
emailtext
departmenttexta value from the vendor's own list
divisiontext
roletext
locationstext
regionstext
citytext
countrytext
statetext
phonetext
connected"" or "true" or "false"
createdFromtext
createdTotext
updatedFromtext
updatedTotext
includetext
sorttext, by default "-id"
pageSizenumber, by default 30
returnAlltrue/false, by default false
cursortext

Output

FieldType
itemsCandidatesarray
itemCountCandidates in this answernumber
recordCountCandidates matching the filter (all pages)number
hasMoreMore candidates are waiting behind this pageboolean
nextUrlTeamtailor's own next-page addressstring
rawThe untouched JSON:API answerobject
nextCursorCursor for the next pagestring
Sample output, and the expression for each field
  • hasMorefalse
  • itemCount0
  • items[]
  • nextUrl""
  • raw
    • data[]
    • included[]
    • linksnull
    • metanull
  • recordCount0

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": {
    "city": "",
    "connected": "",
    "connection": "<connection id>",
    "country": "",
    "createdFrom": "",
    "createdTo": "",
    "cursor": "",
    "department": "",
    "division": "",
    "email": "",
    "include": "",
    "locations": "",
    "pageSize": 30,
    "phone": "",
    "regions": "",
    "returnAll": false,
    "role": "",
    "sort": "-id",
    "state": "",
    "updatedFrom": "",
    "updatedTo": ""
  },
  "label": "List candidates",
  "type": "teamtailor.listCandidates",
  "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 Teamtailor connection the step signs in with.
E-mailTeamtailor keys candidates by e-mail — this is the exact-match lookup.
Department idPicked from the list Teamtailor offers.
Division idtext
Role idtext
Location idstext
Region idstext
Citytext
Countrytext
Statetext
Phonetext
Connected"" or "true" or "false"
Created fromtext
Created up totext
Changed fromThe filter a nightly sync reads — everything touched since this moment.
Changed up totext
Also fetchRelated records to fetch with each candidate, comma separated. They arrive folded into each row, so {{ candidate.department.name }} works.
Sort byA minus in front turns the order around.
Candidates per call1 to 30 — Teamtailor's own maximum is 30.
Fetch every pageFollows Teamtailor's own next-page link, and refuses past 5,000 candidates rather than answering a short list.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `teamtailor`)
emailtext
departmenttexta value from the vendor's own list
divisiontext
roletext
locationstext
regionstext
citytext
countrytext
statetext
phonetext
connected"" or "true" or "false"
createdFromtext
createdTotext
updatedFromtext
updatedTotext
includetext
sorttext, by default "-id"
pageSizenumber, by default 30
returnAlltrue/false, by default false