FlowmageDocs

Create employee

BetaChanges data

Creates a Personio employee and their first employment.

Settings

SettingWhat it is
ConnectionRequiredThe Personio connection the step signs in with.
First nameRequiredtext
Last nameRequiredtext
E-mailtext
Preferred nametext
Gender"" or "MALE" or "FEMALE" or "DIVERSE" or "UNKNOWN" or "UNDEFINED"
Language"" or "en" or "de" or "es" or "fr" or "nl" or "it" or "sv" or "fi"
Custom attributesKeyed by attribute id — dynamic_24407, not Title. A Get employee answer shows each id beside its label.
Start datetext
Employment status"" or "ACTIVE" or "INACTIVE" or "ONBOARDING" or "LEAVE"
Employment type"" or "INTERNAL" or "EXTERNAL"
Job titletext
Manager idThe Personio person id of this employee's manager.
Office idThe List org data node answers the offices and their ids.
Legal entity idtext
Job idThe job from Personio's own job catalogue, not the title above.
Weekly hoursnumber
Full-time weekly hoursWhat a full week is for this role — the two together are the part-time factor.
Contract end datetext
Probation end datetext
Departments and teamsLiteral values — a value from an earlier node belongs in an expression field, not in these rows.
Cost centresWeights are percentages and must total 100.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `personio`)
firstNametextits `{{ }}` must give a string
lastNametextits `{{ }}` must give a string
emailtext
preferredNametext
gender"" or "MALE" or "FEMALE" or "DIVERSE" or "UNKNOWN" or "UNDEFINED"
languageCode"" or "en" or "de" or "es" or "fr" or "nl" or "it" or "sv" or "fi"
customAttributesobject of text, by default {}
employmentStartDatetext
employmentStatus"" or "ACTIVE" or "INACTIVE" or "ONBOARDING" or "LEAVE"
employmentType"" or "INTERNAL" or "EXTERNAL"
positionTitletext
supervisorIdtext
officeIdtext
legalEntityIdtext
jobIdtext
weeklyWorkingHoursnumber
fullTimeWeeklyWorkingHoursnumber
contractEndDatetext
probationEndDatetext
orgUnitslist of {type: "department" or "team", id: text}, by default []
costCenterslist of {id: text, weight: text}, by default []

Output

FieldType
personIdEmployee idstring
employmentIdsarray
personEmployee, as Personio answered itobject
Sample output, and the expression for each field
  • employmentIds
    • [0]"emp_1"
  • person
    • id"33328"
  • personId"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>",
    "contractEndDate": "",
    "costCenters": [],
    "customAttributes": {},
    "email": "",
    "employmentStartDate": "",
    "employmentStatus": "",
    "employmentType": "",
    "firstName": "<first name>",
    "gender": "",
    "jobId": "",
    "languageCode": "",
    "lastName": "<last name>",
    "legalEntityId": "",
    "officeId": "",
    "orgUnits": [],
    "positionTitle": "",
    "preferredName": "",
    "probationEndDate": "",
    "supervisorId": ""
  },
  "label": "Create employee",
  "type": "personio.createPerson",
  "version": 1
}