Update employee
BetaChanges data
Changes a Personio employee's name, e-mail, language or custom attributes.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Personio connection the step signs in with. |
| Employee idRequired | The Personio person id of the employee to change. |
| First name | text |
| Last name | text |
| Preferred name | text |
| text | |
| 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 attributes | Keyed by attribute id — dynamic_24407, not Title. Only the attributes you list here are changed. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `personio`) |
personId | text |
firstName | text |
lastName | text |
preferredName | text |
email | text |
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" |
customAttributes | object of text, by default {} |
Output
| Field | Type |
|---|---|
personEmployee, as Personio answered it | object |
updatedPersonio accepted the change | boolean |
Sample output, and the expression for each field
- person
- id"33328"
- updatedtrue
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>",
"customAttributes": {},
"email": "",
"firstName": "",
"gender": "",
"languageCode": "",
"lastName": "",
"personId": "<employee id>",
"preferredName": ""
},
"label": "Update employee",
"type": "personio.updatePerson",
"version": 1
}