⌘I

Create leads in Pipedrive

Updated July 14, 2023
Also available in:

The create lead action creates leads and contacts to Pipedrive. Under the hood, this action calls the add a lead API endpoint.

Adding the create lead action in the formspree.json file has the same effect as adding the Pipedrive plugin in the Formspree dashboard. See the Pipedrive plugin help article for more information. 

Formspree.json configuration

KeyTypeDescription
app StringMust be pipedrive 
apiKey StringYour Pipedrive API key found here (must be an $ env variable reference, required)
type StringMust be createLead
overwriteContact BooleanOptional field. If true, overwrite contact information if the contact email or name already exists in Pipedrive. Default is false
variableLeadValue BooleanOptional field. If true, the lead value is set by the field value sent by your form. Default is false
value NumericOptional field. The lead value. This only affects your leads if the variableLeadValue is false.
currency StringOptions field. The currency code used to create leads. Must be one of your available currencies code. Default is your Pipedrive account default currency.

Example

{
  "forms": {
    "salesForm": {
      "name": "Sales Form",
      "actions": [
        {
          "app": "pipedrive",
          "type": "createLead",
          "apiKey": "$apiKey",
          "overwriteContact": true
          "variableLeadValue": false,
          "value": 100,
          "currency": "EUR"
        }
      ]
    }
  }
}

Validation rules

The create support ticket action adds the following validation rules implicitly:

FieldValidation Rule
emailRequired
emailType is email
name or fname or lnameRequired

Still have questions? or .