FlowmageDocs

Download file

BetaReads data

Fetches the contents of a file stored in Pipedrive.

Settings

SettingWhat it is
ConnectionRequiredThe Pipedrive connection the step signs in with.
File idRequiredThe id the Upload file node answered, or one from a record's files. A download costs twenty tokens of the daily budget.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `pipedrive`)
fileIdtextits `{{ }}` must give a string

Output

FieldType
nameFile namestring
contentTypestring
base64File contents (base64)string
sizeSize in bytesnumber
Sample output, and the expression for each field
  • base64"cGRm"
  • contentType"application/pdf"
  • name"1"
  • 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>",
    "fileId": "<file id>"
  },
  "label": "Download file",
  "type": "pipedrive.downloadFile",
  "version": 1
}