Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Teamtailor connection the step signs in with. |
| Candidate idRequired | The candidate the file belongs to. |
| File nameRequired | The name Teamtailor stores the file under, extension included. |
| The file comes from | "bytes" or "url" |
| File contents | Base64 of the file — {{ file("cv.pdf").base64 }}. |
| File address | Teamtailor fetches this address itself, so it must be reachable from the public internet. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `teamtailor`) |
candidateId | text |
fileName | texta file name, listed in `requires.files` |
source | "bytes" or "url", by default "bytes" |
contentBase64 | textits `{{ }}` must give a string; used when `source` is "bytes" |
sourceUrl | textused when `source` is "url" |
Output
| Field | Type |
|---|---|
uploadId | string |
upload | object |
rawThe untouched JSON:API answer | object |
Sample output, and the expression for each field
- raw
- data{}
- upload
- id"up-1"
- type"uploads"
- uploadId"up-1"
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": {
"candidateId": "<candidate id>",
"connection": "<connection id>",
"contentBase64": "",
"fileName": "<file name>",
"source": "bytes",
"sourceUrl": ""
},
"label": "Upload candidate file",
"type": "teamtailor.uploadCandidateFile",
"version": 1
}