FlowmageDocs

Update deal

BetaChanges dataVersion 2

Moves a Pipedrive deal along, or changes what it says.

Settings

SettingWhat it is
ConnectionRequiredThe Pipedrive connection the step signs in with.
Deal idRequiredtext
Titletext
Pipeline idnumber
Move to stage idThe List pipelines node gives you every stage's id. Leave at 0 to leave it be.
Mark it"" or "open" or "won" or "lost"
Reason it was losttext
Person idnumber
Organization idnumber
Owner idnumber
Valuenumber
Currencytext
Probabilitynumber
Expected close datetext
Label idsComma-separated. Labels are ids in v2, not words.
Custom fieldsKeys are the 40-character field code, not the label you see in Pipedrive.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `pipedrive`)
dealIdtextits `{{ }}` must give a string
titletextits `{{ }}` must give a string
pipelineIdnumber, by default 0
stageIdnumber, by default 0
status"" or "open" or "won" or "lost"
lostReasontextits `{{ }}` must give a string; used when `status` is "lost"
personIdnumber, by default 0
orgIdnumber, by default 0
ownerIdnumber, by default 0
valuenumber
currencytext
probabilitynumber
expectedCloseDatetextits `{{ }}` must give a string
labelIdstext
customFieldsobject (any keys), by default {}

Output

FieldType
dealIdstring
dealobject
Sample output, and the expression for each field
  • deal
    • id1
  • dealId"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": {
    "connection": "<connection id>",
    "currency": "",
    "customFields": {},
    "dealId": "<deal id>",
    "expectedCloseDate": "",
    "labelIds": "",
    "lostReason": "",
    "orgId": 0,
    "ownerId": 0,
    "personId": 0,
    "pipelineId": 0,
    "stageId": 0,
    "status": "",
    "title": ""
  },
  "label": "Update deal",
  "type": "pipedrive.updateDeal",
  "version": 2
}

Older versions

A flow that already has this version keeps running it. A new step always gets the newest.

Version 1
SettingWhat it is
ConnectionRequiredThe Pipedrive connection the step signs in with.
Deal idRequiredtext
Titletext
Pipeline idnumber
Move to stage idThe List pipelines node gives you every stage's id. Leave at 0 to leave it be.
Mark it"" or "open" or "won" or "lost"
Reason it was losttext
Person idnumber
Organization idnumber
Owner idnumber
Valuenumber
Currencytext
Probabilitynumber
Expected close datetext
Label idsComma-separated. Labels are ids in v2, not words.
Custom fieldsKeys are the 40-character field code, not the label you see in Pipedrive.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `pipedrive`)
dealIdtextits `{{ }}` must give a string
titletextits `{{ }}` must give a string
pipelineIdnumber, by default 0
stageIdnumber, by default 0
status"" or "open" or "won" or "lost"
lostReasontextits `{{ }}` must give a string; used when `status` is "lost"
personIdnumber, by default 0
orgIdnumber, by default 0
ownerIdnumber, by default 0
valuenumber, by default 0
currencytext
probabilitynumber, by default 0
expectedCloseDatetextits `{{ }}` must give a string
labelIdstext
customFieldsobject (any keys), by default {}