Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Pipedrive connection the step signs in with. |
| File nameRequired | The file's name, extension included. Pick the file, then paste its base64 below. |
| File contentsRequired | Base64 of the file — {{ file("name").base64 }}. |
| Attach it to | "deal" or "person" or "organization" or "product" or "activity" or "lead" or "project" |
| Record idRequired | text |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `pipedrive`) |
name | texta file name, listed in `requires.files` |
contentBase64 | textits `{{ }}` must give a string |
attachTo | "deal" or "person" or "organization" or "product" or "activity" or "lead" or "project", by default "deal" |
attachToId | textits `{{ }}` must give a string |
Output
| Field | Type |
|---|---|
file | object |
fileId | string |
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
}