Pipedrive in Agent Builder
Give an agent its own Pipedrive connection, then read deals, people, leads and activities, or create and update them, with 46 actions.
Checked against the app on
What the Pipedrive step does
The Pipedrive step lets an agent work in your Pipedrive: deals, people, organisations, leads, activities, notes and products. A step on the agent's path does one action. The same step, attached to an Intelligence step, can offer several, and the AI decides which to call. There are 46 actions, 33 that read and 13 that change. A Pipedrive webhook trigger can start the agent when a record changes in Pipedrive, or the agent can start from a schedule, an email, or another system's alert.
Centrus works alongside Pipedrive. Deals and people stay there. A typical agent chases deals that have gone quiet every Monday, raises a job when a deal is won, or books a survey when a deal reaches a stage. Chat uses a separate connection: connecting this step does not connect chat, and connecting chat does not connect the step. For asking questions in chat, see Pipedrive in chat. For how every integration is connected, see Integrations overview.
Add the step
- 1Open the agent in Agent Builder. In the Nodes panel, open Integration and drag Pipedrive onto the canvas, or describe the task and let the builder place it.
- 2Select the step. Under Connection, click Connect and paste a Pipedrive API token (your name, then Personal preferences, then API).
- 3Under Endpoint, pick the action, then fill in its fields. A field can take a value from an earlier step.
- 4To let an AI choose, connect the step to an Intelligence step's tools side and tick the actions it may call.
The connection
Each agent has its own Pipedrive connection. Centrus reads the company from the token, so there is nothing else to enter. The token works as that Pipedrive user: notes and activities the agent writes show under that user, and it sees only what that user can see. Use an admin or a dedicated integration user for agents that read the whole pipeline.
What it can do
- Find: search everything at once, or deals, people, organisations, products and leads on their own.
- Read: one deal, person, organisation, activity, product, lead or note, with custom fields by name.
- List: deals, people, organisations, activities, products, leads and notes, by owner, stage, status, saved filter or updated since.
- Change: create or update deals, people, organisations, activities, leads and notes, move a deal's stage, mark it won or lost, and add a product to a deal.
- Look up the set-up: pipelines, stages, users, activity types, lead labels and every field list.
Custom fields go by the name you gave them in Pipedrive. Activity times are your Pipedrive user's timezone. Writes push data into your live Pipedrive, so put an Approval step in front of a change you want checked.
Start an agent from Pipedrive
A Pipedrive webhook. Put the Pipedrive webhook trigger at the start. Tick one kind of record (deals, people, organisations, activities, leads, notes or products) and whether it was added, changed or deleted. Add conditions so it only runs when it matters, for example stage_id changed to your Survey stage, or status changed to won. Centrus adds the webhook in Pipedrive when you publish, so the token must belong to a Pipedrive admin. If it does not, the trigger shows the address, username and password for an admin to add under Tools and apps, Webhooks. Changes the agent makes itself through the API do not start it again unless you switch that on. Use Simulate with a record id to test it without changing Pipedrive.
Other triggers work too. Put one at the start of the agent, then the Pipedrive step.
A schedule. A Schedule Trigger starts the agent on a clock. Monday at 08:00 suits a quiet-deal chase. Weekdays at 07:00 suit turning won deals into jobs. For the trigger choices, see Choose how an agent starts.
An email. Email received starts a run for each new message in an Outlook folder or Gmail label, so an enquiry can become a Pipedrive lead or a person. See Start an agent when an email arrives.
Another system's alert. A BigChange, Simpro, Joblogic, Fixflo, Freshdesk or Ostara webhook can start the agent, and a Pipedrive step later can add a note or move a deal. See Start an agent from a system alert.
Example agents
- Chase deals gone quiet. Schedule, Monday 08:00. Ingest Pipedrive deals with status open. Keep deals with no activity in 14 days. Email each owner their list.
- Won deal to job. Pipedrive webhook on deal changed, with status changed to won. Raise the job in BigChange, Joblogic or Simpro, then add the job number to the deal as a note.
- Survey stage to booking. Pipedrive webhook on deal changed, with stage_id changed to your survey stage. Book the visit, then create a Pipedrive activity at that time and move the stage on.
Test it
Click Run now on a draft to run it once. Read steps show the rows they found. Before you publish a change, try it on one deal you own, check it in Pipedrive, then widen it.
Costs
Each Pipedrive step that runs costs the same as any other integration call. Pipedrive also counts each call against your company's daily Pipedrive allowance, shared with every app you use, so prefer one Ingest over many single reads.
Limits and good to know
- Long lists go through Ingest. Do not give an Intelligence step List deals, List people, List organisations, List activities, List products, List leads or List notes. Centrus warns you, because the whole list would be loaded into the AI. Use the Ingest step with a Pipedrive source and a Loop instead.
- Ingest reads up to 25 pages of 500 rows (100 for leads and notes). A list step on the canvas reads up to 5 pages.
- Daily allowance. When the company's Pipedrive allowance runs out, the step fails with that message and is not retried until it resets at midnight.
- Not yet: a Pipedrive trigger, deleting or merging records, files and emails.
Troubleshooting
| You see | What it means | What to do |
|---|---|---|
| The Pipedrive token was rejected | The token was changed or removed in Pipedrive | Connect the step again with the current token |
| No Pipedrive field called … | The custom field name does not match | Run List deal fields and use that name |
| Pipedrive refused this | The token's user cannot see or change that record | Use a token from a user with access |
| Pipedrive's daily API budget is used up | The company's daily allowance is spent | Wait for midnight, or spread the agent's runs out |
Reference
The step has the same 46 actions as chat, with the same endpoints. The full list is in the reference at the end of Pipedrive in chat.