FlowmageDocs

Upload candidate file

BetaChanges data

Attaches a CV or document to a Teamtailor candidate.

Settings

SettingWhat it is
ConnectionRequiredThe Teamtailor connection the step signs in with.
Candidate idRequiredThe candidate the file belongs to.
File nameRequiredThe name Teamtailor stores the file under, extension included.
The file comes from"bytes" or "url"
File contentsBase64 of the file — {{ file("cv.pdf").base64 }}.
File addressTeamtailor fetches this address itself, so it must be reachable from the public internet.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `teamtailor`)
candidateIdtext
fileNametexta file name, listed in `requires.files`
source"bytes" or "url", by default "bytes"
contentBase64textits `{{ }}` must give a string; used when `source` is "bytes"
sourceUrltextused when `source` is "url"

Output

FieldType
uploadIdstring
uploadobject
rawThe untouched JSON:API answerobject
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
}