Graphrt

Pipedrive

Pipedrive CRM (API v2/v1, API token, optional company domain), persons, organizations, deals and activities (list, get, search, create, update), pipelines, stages and notes, deletes are node only, agent api_request limited to CRM read paths

Beta v0.1.0 Node.js 32 actions
Use in Graphrt Desktop

About

A Graphrt plugin for the Pipedrive CRM API. It lists, reads, searches, creates and updates persons, organizations, deals and activities (API v2), lists pipelines and stages, and manages notes (API v1). Built with the declarative REST layer (definition.mjs, see docs/declarative-plugins.md).

What it can do

  • Persons, organizations, deals, activities: list_* (filters, sorting, cursor pagination up to 500 per page), get_*, create_*, update_* (PATCH: only the given fields), delete_* (node only)
  • Search: search_persons (name, email, phone, notes, custom fields), search_organizations, search_deals, each result is {result_score, item}
  • Pipelines: list_pipelines, list_stages (ids for create_deal)
  • Notes (v1): list_notes (offset pagination), get_note, create_note, update_note, delete_note (node only)
  • get_current_user: the token's user and company (id for owner_id, company_domain)
  • api_request: any other endpoint under /api (e.g. /v1/dealFields, /v2/products, /v1/leads), agents are limited to GET on CRM read paths (see Agent policy)

Actions

Each action is a step you can add to a workflow. Agents can also use most of them as tools.

  • List persons pipedrive.list_persons
  • Get person pipedrive.get_person
  • Create person pipedrive.create_person
  • Update person pipedrive.update_person
  • Delete person pipedrive.delete_person
  • Search persons pipedrive.search_persons
  • List organizations pipedrive.list_organizations
  • Get organization pipedrive.get_organization
  • Create organization pipedrive.create_organization
  • Update organization pipedrive.update_organization
Show all 32 actions
  • Delete organization pipedrive.delete_organization
  • Search organizations pipedrive.search_organizations
  • List deals pipedrive.list_deals
  • Get deal pipedrive.get_deal
  • Create deal pipedrive.create_deal
  • Update deal pipedrive.update_deal
  • Delete deal pipedrive.delete_deal
  • Search deals pipedrive.search_deals
  • List activities pipedrive.list_activities
  • Get activity pipedrive.get_activity
  • Create activity pipedrive.create_activity
  • Update activity pipedrive.update_activity
  • Delete activity pipedrive.delete_activity
  • List pipelines pipedrive.list_pipelines
  • List stages pipedrive.list_stages
  • List notes pipedrive.list_notes
  • Get note pipedrive.get_note
  • Add note pipedrive.create_note
  • Update note pipedrive.update_note
  • Delete note pipedrive.delete_note
  • Current user pipedrive.get_current_user
  • Pipedrive API request pipedrive.api_request

Settings

Graphrt starts plugins with a clean environment. Only these values reach the plugin, and secrets stay out of logs.

  • PIPEDRIVE_API_TOKEN Required
    Personal API token, sent in the x-api-token header (never in the URL)
  • PIPEDRIVE_COMPANY_DOMAIN Optional
    Your subdomain (acme or acme.pipedrive.com), as Pipedrive recommends, default api.pipedrive.com. Anything that is not a Pipedrive subdomain is refused
  • PIPEDRIVE_TOOL_API_EXTRA_PATHS Optional
    More paths agents may read through api_request, comma-separated, matches one segment, e.g. /v1/goals/
  • PIPEDRIVE_TOOL_TOKEN_SOURCE

How to use it

In Graphrt Desktop

  1. Open Plugins and search for Pipedrive.
  2. Click Install and approve it.
  3. Follow the setup steps on the plugin's page, then paste the settings it needs.
  4. Describe a job that needs it, and the builder adds the steps.
Plugins in Graphrt Desktop

With the CLI

terminal
$ graphrt plugin install pipedrive
workflow.yaml
- id: found
  type: pipedrive.search_persons
  term: "{{#start.email#}}"
  fields: [email]
  exact_match: true
- id: deal
  type: pipedrive.create_deal
  deal_title: "Renewal for {{#start.company#}}"
  person_id: "{{#found.data.0.item.id#}}"
  value: 5000000
  currency: IDR
- id: note
  type: pipedrive.create_note
  deal_id: "{{#deal.data.id#}}"
  content: "Created by graphrt"
Plugins in the docs