FlowmageDocs

Search candidates

BetaReads data

Searches candidates in Bob's own hiring module.

Settings

SettingWhat it is
ConnectionRequiredThe HiBob connection the step signs in with.
Fields to fetchBob's hiring search has no default set — at least one id, at most 50. The useful ones are /candidate/id, /candidate/firstName, /candidate/lastName, /candidate/email, /candidate/phone, /candidate/city, /candidate/country, /candidate/employeeId, /candidate/jobOpeningsToApplicationIds, /candidate/sourceType and /candidate/modificationDate. /candidate/employeeId is the link to the employee record once the candidate is hired — ask for it if the flow carries on into Bob itself.
FiltersBob filters on /candidate/id, /candidate/email, /candidate/firstName, /candidate/lastName and /candidate/modificationDate, with equals, notEqual, greaterThan or lessThan. Anything else is refused by Bob — filter the rest downstream.
Include archived candidatestrue/false
Fetch every pageFollows Bob's cursor, and refuses past 20,000 candidates rather than answering a short list.
Candidates per call1 to 200. Bob's own default is 100.
Start at cursorThe Next cursor from an earlier run, to carry on where it stopped. Leave empty to start at the beginning.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `hibob`)
fieldstext, by default "/candidate/id,/candidate/firstName,/candidate/lastName,/candidate/email"
filterslist of any JSON, by default []
includeArchivedtrue/false, by default false
returnAlltrue/false, by default false
limitnumber, by default 100
cursortext

Output

FieldType
candidatesarray
candidateCountCandidates in this answernumber
hasMoreMore candidates are waiting behind this pageboolean
nextCursorstring
Sample output, and the expression for each field
  • candidateCount0
  • candidates[]
  • 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": "",
    "fields": "/candidate/id,/candidate/firstName,/candidate/lastName,/candidate/email",
    "filters": [],
    "includeArchived": false,
    "limit": 100,
    "returnAll": false
  },
  "label": "Search candidates",
  "type": "hibob.searchCandidates",
  "version": 1
}