FlowmageDocs

Attach file

BetaChanges data

Attaches a file to a Recruitee candidate or job.

Settings

SettingWhat it is
ConnectionRequiredThe Recruitee connection the step signs in with.
Attach to"candidate" or "offer"
IdRequiredThe candidate's or job's Recruitee id — a number.
File source"file" or "url"
FilePick the file to attach. Then paste its base64 below.
File contentsBase64 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 addresstext
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `recruitee`)
target"candidate" or "offer", by default "candidate"
targetIdtext
source"file" or "url", by default "file"
fileNametexta file name, listed in `requires.files`; used when `source` is "file"
contentBase64textits `{{ }}` must give a string; used when `source` is "file"
remoteFileUrltextused when `source` is "url"

Output

FieldType
attachmentobject
attachment.idnumber
attachment.filenamestring
attachment.file_urlFile addressstring
attachment.file_sizeSize in bytesnumber
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
}