FlowmageDocs

Create deal

BetaChanges data

Opens a deal in Pipedrive, in the pipeline stage you name.

Settings

SettingWhat it is
ConnectionRequiredThe Pipedrive connection the step signs in with.
TitleRequiredtext
Pipeline idThe List pipelines node gives you the id. Leave at 0 for the default pipeline.
Stage idThe List pipelines node gives you every stage's id.
Person idnumber
Organization idnumber
Owner idThe List users node gives you the id. Leave at 0 for the token's own user.
Valuenumber
CurrencyA three-letter code. Leave empty for the company's default.
Status"open" or "won" or "lost"
Probability0 to 100. Only used when the pipeline has probability switched on.
Expected close datetext
Visible toPipedrive's own visibility number. Leave empty for the company's default.
Label idsComma-separated. Labels are ids in v2, not words.
Custom fieldsKeys are the 40-character field code from the List field definitions node, not the label you see in Pipedrive.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `pipedrive`)
titletextits `{{ }}` must give a string
pipelineIdnumber, by default 0
stageIdnumber, by default 0
personIdnumber, by default 0
orgIdnumber, by default 0
ownerIdnumber, by default 0
valuenumber, by default 0
currencytext
status"open" or "won" or "lost", by default "open"
probabilitynumber, by default 0
expectedCloseDatetextits `{{ }}` must give a string
visibleTotext
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": {},
    "expectedCloseDate": "",
    "labelIds": "",
    "orgId": 0,
    "ownerId": 0,
    "personId": 0,
    "pipelineId": 0,
    "probability": 0,
    "stageId": 0,
    "status": "open",
    "title": "<title>",
    "value": 0,
    "visibleTo": ""
  },
  "label": "Create deal",
  "type": "pipedrive.createDeal",
  "version": 1
}