FlowmageDocs

Create lead

BetaChanges data

Adds a lead to the Pipedrive inbox before it becomes a deal.

Settings

SettingWhat it is
ConnectionRequiredThe Pipedrive connection the step signs in with.
TitleRequiredtext
Person idA lead hangs on a person, an organization or both — fill in at least one of the two.
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. Needed as soon as a value is filled in.
Expected close datetext
Visible toPipedrive's own visibility number. Leave empty for the company's default.
Label idsComma-separated. A lead label's id is a long identifier with dashes.
ChannelPipedrive's own marketing-channel number. Leave at 0 for none.
Channel idtext
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `pipedrive`)
titletextits `{{ }}` must give a string
personIdnumber, by default 0
organizationIdnumber, by default 0
ownerIdnumber, by default 0
amountnumber, by default 0
currencytext
expectedCloseDatetextits `{{ }}` must give a string
visibleTotext
labelIdstext
channelnumber, by default 0
channelIdtext

Output

FieldType
leadIdstring
leadobject
Sample output, and the expression for each field
  • lead
    • id"abc-1"
  • leadId"abc-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": {
    "amount": 0,
    "channel": 0,
    "channelId": "",
    "connection": "<connection id>",
    "currency": "",
    "expectedCloseDate": "",
    "labelIds": "",
    "organizationId": 0,
    "ownerId": 0,
    "personId": 0,
    "title": "<title>",
    "visibleTo": ""
  },
  "label": "Create lead",
  "type": "pipedrive.createLead",
  "version": 1
}