Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Recruitee connection the step signs in with. |
| Attach to | "candidate" or "offer" |
| IdRequired | The candidate's or job's Recruitee id — a number. |
| File source | "file" or "url" |
| File | Pick the file to attach. Then paste its base64 below. |
| File contents | Base64 of the file — {{ file("name").base64 }} for the file picked above. Multipart uploads over the "Use fixed IP address" lane are unverified; leave that toggle off for this node. |
| File address | text |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `recruitee`) |
target | "candidate" or "offer", by default "candidate" |
targetId | text |
source | "file" or "url", by default "file" |
fileName | texta file name, listed in `requires.files`; used when `source` is "file" |
contentBase64 | textits `{{ }}` must give a string; used when `source` is "file" |
remoteFileUrl | textused when `source` is "url" |
Output
| Field | Type |
|---|---|
attachment | object |
attachment.id | number |
attachment.filename | string |
attachment.file_urlFile address | string |
attachment.file_sizeSize in bytes | number |
Sample output, and the expression for each field
- attachment
- file_size12
- file_url"https://example.test/cv.pdf"
- filename"cv.pdf"
- id1
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": "",
"fileName": "",
"remoteFileUrl": "",
"source": "file",
"target": "candidate",
"targetId": "<id>"
},
"label": "Attach file",
"type": "recruitee.uploadAttachment",
"version": 1
}