FlowmageDocs

Download document

BetaReads data

Downloads a Personio document's bytes as base64.

Settings

SettingWhat it is
ConnectionRequiredThe Personio connection the step signs in with.
Document idRequiredThe List documents node gives you the id.
File nameThe name to carry the bytes under — the List documents answer has one. Personio does not send a name with the file.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `personio`)
documentIdtext
fileNametext

Output

FieldType
nameFile namestring
contentTypestring
base64File contents (base64)string
sizeSize in bytesnumber
Sample output, and the expression for each field
  • base64"AQID"
  • contentType"application/pdf"
  • name"contract.pdf"
  • size3

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>",
    "documentId": "<document id>",
    "fileName": ""
  },
  "label": "Download document",
  "type": "personio.downloadDocument",
  "version": 1
}