Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The HiBob connection the step signs in with. |
| Employee idRequired | Picked from the list HiBob offers. |
| Folder | "shared" or "confidential" or "custom" |
| Folder id | In Bob: Settings → Documents → your folder — the id is in the address bar. Bob's own folder-metadata endpoint arrives as a node later. |
| Where the file comes from | Bob can download the file itself from an address it can reach. Pick that when the file is already somewhere public and the flow never needs to hold it. |
| Document nameRequired | The name Bob stores it under, extension included. |
| Web address | Bob fetches the file from here, so the address has to be one Bob can reach. |
| File contents | Base64 of the file — {{ file("name").base64 }}. |
| Tags | Bob accepts tags only on the address form — the upload form has no field for them. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `hibob`) |
employeeId | texta value from the vendor's own list |
folder | "shared" or "confidential" or "custom", by default "shared" |
folderId | textused when `folder` is "custom" |
source | "bytes" or "url", by default "bytes" |
documentName | texta file name, listed in `requires.files` |
documentUrl | textused when `source` is "url" |
contentBase64 | textits `{{ }}` must give a string; used when `source` is "bytes" |
tags | textused when `source` is "url" |
Output
| Field | Type |
|---|---|
documentId | string |
documentDocument, as Bob answered it | object |
Sample output, and the expression for each field
- document
- id"77"
- documentId"77"
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>",
"contentBase64": "",
"documentName": "<document name>",
"documentUrl": "",
"employeeId": "<employee id>",
"folder": "shared",
"folderId": "",
"source": "bytes",
"tags": ""
},
"label": "Upload employee document",
"type": "hibob.uploadEmployeeDocument",
"version": 1
}