FlowmageDocs

Create employee

BetaChanges data

Creates a HiBob employee with their first work entry.

Settings

SettingWhat it is
ConnectionRequiredThe HiBob connection the step signs in with.
First nameRequiredtext
SurnameRequiredtext
Work e-mailRequiredBob requires this to be unique in the company — it is the person's login.
SiteRequiredMust be a value from Bob's site list — the display value, not the id. The Read company list node with site shows them.
Start dateRequiredYYYY-MM-DD.
Departmenttext
Job titletext
ManagerThe manager's employee id, as Bob's own work.manager field holds it.
Other Bob fieldsAny other Bob field, in the same nested shape a search answer uses — for example {"home":{"mobilePhone":"0612345678"}} or {"userData":{"custom":{"field_17257492283795":"…"}}}. The List employee fields node gives you every id.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `hibob`)
firstNametext
surnametext
emailtext
sitetext
startDatetext
departmenttext
titletext
managertext
extraFieldsobject (any keys), by default {}

Output

FieldType
employeeIdstring
employeeobject
Sample output, and the expression for each field
  • employee
    • id"33328"
  • employeeId"33328"

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>",
    "department": "",
    "email": "<work e-mail>",
    "extraFields": {},
    "firstName": "<first name>",
    "manager": "",
    "site": "<site>",
    "startDate": "<start date>",
    "surname": "<surname>",
    "title": ""
  },
  "label": "Create employee",
  "type": "hibob.createEmployee",
  "version": 1
}