Skip to main content

Pipedrive integration

Automate deals, leads, contacts, activities, products and mail across your clients' Pipedrive accounts, with instant triggers TaskJuice sets up for you.

View the Pipedrive page

What it does

The Pipedrive integration lets you run sales-pipeline automations for any client whose Pipedrive account you manage. Connect an account once, and you can create, find, update and delete deals, leads, persons, organizations, activities, notes, products, call logs, files and labels. Your workflows also react the moment something changes in the CRM. Every action runs against the client's own Pipedrive company, so a workflow you build for one client runs unchanged for the next one you onboard.

Connect a Pipedrive account

  1. In TaskJuice, add the connection from any Pipedrive node in your workflow and choose Connect.
  2. Enter the client's company domain. This is the subdomain of their Pipedrive URL, for example acme for acme.pipedrive.com.
  3. Sign in to Pipedrive and approve the TaskJuice app. To receive trigger events for every record in the account, sign in as an admin user. Pipedrive only sends events for records the authorizing user can see.
  4. TaskJuice returns you to the workflow with the connection ready to use.

Your Pipedrive OAuth app needs the deals, contacts, activities, leads, products, projects, search, users, mail and deal-fields scopes. It also needs webhooks:full, which TaskJuice uses to register the webhooks behind Pipedrive triggers. These webhooks belong to the app, so they don't appear in Pipedrive's webhook settings, and Pipedrive removes them if the app is uninstalled. To revoke access, the account owner removes the app under Settings → Tools and apps → Marketplace apps in Pipedrive.

Triggers

Most Pipedrive triggers are instant, and you don't set anything up in Pipedrive. When you publish a workflow, TaskJuice registers a webhook for each event the workflow listens to. Turning a workflow off stops the events reaching it at once. Once no turned-on workflow on the connection uses a Pipedrive trigger, its webhooks are removed about ten minutes later, and turning a workflow back on registers them again automatically. Disconnecting the Pipedrive connection queues the webhooks for deletion, which usually lands within a minute.

Every instant event carries Pipedrive's webhook envelope:

  • meta: which event fired and who caused it.
  • data: the record after the change.
  • previous: the fields that changed, with their old values. For a delete event, data is empty and previous holds the deleted record.

Deals

  • Deal Added: a new deal is created. You can pick a Pipeline to fire only for deals added to that pipeline.
  • Deal Updated: a deal changes. You can pick a Stage to fire only for deals in that stage. When a deal moves between stages, previous.stage_id holds the stage it left. Add a Filter node on previous.stage_id to catch the move itself.
  • Deal Deleted: a deal is deleted.

Leads, persons and organizations

  • Lead Added, Lead Updated, Lead Deleted
  • Person Added, Person Updated, Person Deleted
  • Organization Added, Organization Updated, Organization Deleted

Activities, notes, products and projects

  • Activity Added, Activity Updated, Activity Deleted. Activity Updated also fires when an activity is marked done.
  • Note Added, Note Updated, Note Deleted
  • Product Added, Product Updated, Product Deleted
  • Project Added. Needs Pipedrive's Projects add-on.

Pipelines, stages and users

  • Pipeline Added, Pipeline Updated, Pipeline Deleted
  • Stage Added, Stage Updated, Stage Deleted
  • User Added, User Updated, User Deleted

Checked on a schedule

These triggers check Pipedrive every 5 minutes by default; you can change the interval under Polling. Records that already exist when you publish the workflow don't fire. Each check fires once with an items list of everything new, so add a Loop node to handle each record.

  • Deal Matching Filter, Person Matching Filter, Organization Matching Filter, Activity Matching Filter: a record matches a saved Pipedrive filter you pick for the first time. Each check looks at the 100 most recently updated matches.
  • New Note Comment: someone comments on the note you choose.
  • New Mail Thread: a new mail thread arrives in the mailbox folder you pick for the connected user.

Actions

Deals

  • Create Deal, Update Deal, Get Deal, Delete Deal. Pick the owner, pipeline and stage from dropdowns.
  • List Deals filters by owner, person, organization, pipeline, stage, status or a saved filter. Search Deals finds deals by title, notes or a custom field. Get Deals Summary returns the count and total value of matching deals.
  • Duplicate Deal, Add Deal Follower, List Deal Followers, Remove Deal Follower, Add Deal Participant, List Deal Participants, List Deal Files
  • Add Product to Deal, List Deal Products, Update Deal Product, Remove Product from Deal, Add Deal Discount
  • List Deal Fields, Get Deal Field, Create Deal Field, Update Deal Field, Delete Deal Field

Leads

  • Create Lead, Update Lead, Get Lead, Delete Lead, List Leads, Search Leads
  • Convert Lead to Deal moves a lead into a pipeline and stage you pick. Pipedrive converts in the background, so the action returns a conversion_id rather than the new deal.
  • List Lead Labels, Create Lead Label, Update Lead Label, Delete Lead Label

Persons and organizations

  • Create Person, Update Person, Get Person, Delete Person, List Persons, Search Persons. Search matches name, email, phone or notes.
  • Create Organization, Update Organization, Get Organization, Delete Organization, List Organizations, Search Organizations
  • Update Organization Custom Fields sets custom field values by field code.

Activities, calls, notes and files

  • Create Activity, Update Activity, Get Activity, Delete Activity, List Activities, List Activity Types. Pick the activity type from your account's own list.
  • Create Call Log, Get Call Log, List Call Logs, Delete Call Log
  • Add Note, Get Note, Update Note, Delete Note, List Notes
  • Attach File uploads a file from an earlier step and attaches it to a deal, person, organization, product, activity or lead. Download File fetches a file's content for a later step. Get File, List Files, Update File and Delete File manage the files themselves.

Mail

These actions work on the connected user's synced Pipedrive mailbox.

  • List Mail Threads, Get Mail Thread, List Mail Thread Messages, Get Mail Message
  • Update Mail Thread links a thread to a deal or lead, or marks it read, shared or archived. Delete Mail Thread

Products

  • Create Product, Update Product, Get Product, Delete Product, List Products, Search Products, List Deals for a Product
  • Add Product Variation, List Product Variations

Projects and tasks

These need Pipedrive's Projects add-on.

  • Create Project, Update Project, Get Project, List Projects, Search Projects
  • Create Task, Update Task, Get Task, List Tasks

Pipelines, filters and users

  • List Pipelines, List Stages, Get Stage
  • List Filters, Get Filter
  • Search Items searches across every record type at once. Find Users looks up Pipedrive users by name or email, and Get User fetches one by ID.

Known limitations

  • One webhook per event, 40 per user. Pipedrive allows an app at most 40 webhooks per user, and TaskJuice registers one per event your published workflows use. A single account can use all 31 instant trigger events and stay under the limit.
  • Pipedrive pauses failing webhooks. After 10 failed first attempts in a row, Pipedrive pauses a webhook for 30 minutes, and events sent while it's paused are lost.
  • Triggers only see what the authorizing user can see. Connect as an admin user to receive events for the whole company.
  • Rate limits. Pipedrive limits each company's API usage per plan. See the Pipedrive rate-limiting reference. When Pipedrive answers 429 Too Many Requests, TaskJuice retries the step.
  • Some deletes can be undone for 30 days. Deleting a deal, person, organization, activity or product marks it deleted, and Pipedrive removes it for good after 30 days. Deleting a lead or note is permanent.
  • One connection per company. A connection is tied to a single Pipedrive company domain. Create one connection per client account.
Was this helpful?