FlowmageDocs

Upload file

BetaChanges data

Attaches a file to a Pipedrive deal, person or organization.

Settings

SettingWhat it is
ConnectionRequiredThe Pipedrive connection the step signs in with.
File nameRequiredThe file's name, extension included. Pick the file, then paste its base64 below.
File contentsRequiredBase64 of the file — {{ file("name").base64 }}.
Attach it to"deal" or "person" or "organization" or "product" or "activity" or "lead" or "project"
Record idRequiredtext
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `pipedrive`)
nametexta file name, listed in `requires.files`
contentBase64textits `{{ }}` must give a string
attachTo"deal" or "person" or "organization" or "product" or "activity" or "lead" or "project", by default "deal"
attachToIdtextits `{{ }}` must give a string

Output

FieldType
fileobject
fileIdstring
Sample output, and the expression for each field
  • file
    • id1
  • fileId"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": {
    "attachTo": "deal",
    "attachToId": "<record id>",
    "connection": "<connection id>",
    "contentBase64": "<file contents>",
    "name": "<file name>"
  },
  "label": "Upload file",
  "type": "pipedrive.uploadFile",
  "version": 1
}