Skip to main content

Pipedrive

Create, update and search persons and deals, list pipelines and stages, and schedule activities in Pipedrive.

Slugpipedrive
Base URLhttps://{company_domain|subdomain}.pipedrive.com
Auth optionsAPI token
Test connectionGET /api/v1/users/me

1. Get your API token​

  1. In Pipedrive, click your profile picture → Personal preferences → API.
  2. Copy Your personal API token. It acts as you.

2. Create the connection​

  1. In Blokkio, go to Apps and open Pipedrive.
  2. Click Connect and fill in:
    • Company domain: the first part of your Pipedrive address, acme for acme.pipedrive.com.
    • API token: the token (or Use secret).
  3. Test connection calls GET /api/v1/users/me.

The app uses Pipedrive's current API (v2) for persons, deals and activities.

Fields​

  • Emails and Phones are comma-separated; the first one is the primary one.
  • Custom fields is a JSON object keyed by the field's API key (in Company settings → Data fields, open the field → Copy API key): { "a1b2c3d4…": "Gold" }.
  • Stage ID / Pipeline ID: run List pipelines and List stages.
  • Create activity: Type is the activity type key (call, meeting, task, deadline, email, lunch or a custom one); Due date YYYY-MM-DD, Due time HH:MM in UTC; Person ID becomes the main participant.

Actions​

Use them with the App Action node. Lists return { items, count }; actions that read every page return { items, pages } (turn off Fetch all pages or lower Max pages in the node to read less).

ActionKeyWhat it doesInputs (required)
Create personcreate_personName, Emails, Phones, Organization ID, Owner (user) ID, Custom fields
Update personupdate_personOnly the fields you fill change.Person ID, Name, Emails, Phones, Organization ID, Owner (user) ID, Custom fields
Get personget_personPerson ID
Search personssearch_personsSearch, Exact match, Search in
List personslist_personsOrganization ID, Owner ID, Updated since
Create dealcreate_dealTitle, Value, Currency, Person ID, Organization ID, Pipeline ID, Stage ID, Status, Lost reason, Expected close date, Owner (user) ID, Custom fields
Update dealupdate_dealMove stage, mark won/lost or change fields. Only the fields you fill change.Deal ID, Title, Value, Currency, Person ID, Organization ID, Pipeline ID, Stage ID, Status, Lost reason, Expected close date, Owner (user) ID, Custom fields
Get dealget_dealDeal ID
Search dealssearch_dealsSearch, Exact match, Status, Person ID
List dealslist_dealsStatus, Person ID, Stage ID, Pipeline ID, Updated since
Create activitycreate_activitySchedule a call, meeting, task…Subject, Type, Due date, Due time (UTC), Duration, Deal ID, Organization ID, Person ID, Owner (user) ID, Note, Done
Update activityupdate_activityReschedule or mark done. Only the fields you fill change.Activity ID, Subject, Type, Due date, Due time (UTC), Duration, Deal ID, Organization ID, Person ID, Owner (user) ID, Note, Done
List activitieslist_activitiesDeal ID, Person ID, Owner ID, Done, Updated since
List pipelineslist_pipelines—
List stageslist_stagesPipeline ID

Triggers​

Use them with the App Trigger node. A trigger checks the app at its polling interval (the shortest allowed depends on your plan, see Plans and limits) and starts one run per new item, oldest first. The first check after you publish only records what already exists, so only items created after that start runs. Each run gets the item as $trigger (for example {{ $trigger.id }}).

TriggerKeyWhat starts a runInputs (required)Output
New dealnew_dealDeals by add time, newest first.Pipeline ID, Stage IDid, title, value, currency, status, stage_id, person_id, add_time

Troubleshooting​

MessageWhat to do
HTTP 401 … unauthorized accessThe API token is wrong or was regenerated.
the field 'company_domain' doesn't look rightEnter only the first part of your Pipedrive address, e.g. acme.
HTTP 400 … term must be at least 2 charactersSearches need at least 2 characters (1 with Exact match).