MetorialDocs

Set up Pipedrive in Metorial for Claude, ChatGPT and Cursor

Share Pipedrive with your team in Claude, ChatGPT and Cursor through Metorial: OAuth or API token sign-in, 22 tools (12 read-only).

To give your team Pipedrive in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Pipedrive integration in a Metorial portal, and each person signs in to Pipedrive with their own account. Agents can manage sales pipelines, deals, leads, contacts, activities, and products in Pipedrive CRM. The integration has 22 tools, 12 read-only and 10 destructive, plus 8 triggers.

What you'll learn

  • How an admin shares Pipedrive in a portal and how each person connects
  • The 29 OAuth scopes Pipedrive can request, and what each one allows
  • How to keep the 12 read-only tools and reject the other 10

Before you start

Sign-in methods

MethodTypeWhat a person provides
OAuth 2.0 (default)OAuthSigns in to Pipedrive
API TokenAPI tokentoken

The portal and metorial setup use OAuth 2.0 unless someone picks another method.

OAuth 2.0

People sign in to Pipedrive and approve the scopes you allow. The integration can request:

ScopeNameWhat it allows
baseBaseBasic info: authorized user settings, currencies
deals:readDeals ReadRead deals, pipelines, stages, notes, files, filters, statistics
deals:fullDeals FullFull CRUD on deals, participants, followers, notes, files, filters
mail:readMail ReadRead mail threads and messages
mail:fullMail FullRead, update, delete mail threads and messages
activities:readActivities ReadRead activities, activity fields and types
activities:fullActivities FullFull CRUD on activities, files, filters
contacts:readContacts ReadRead persons, organizations, related fields, followers
contacts:fullContacts FullFull CRUD on persons, organizations, followers, notes, files
products:readProducts ReadRead products, product fields, followers
products:fullProducts FullFull CRUD on products and product fields
deal-fields:fullDeal Fields FullFull CRUD on deal custom fields
product-fields:fullProduct Fields FullFull CRUD on product custom fields
contact-fields:fullContact Fields FullFull CRUD on person and organization custom fields
users:readUsers ReadRead users, permissions, roles, teams
recents:readRecents ReadRead recent changes across the account
search:readSearch ReadSearch across deals, persons, organizations, files, products
adminAdminManage pipelines, stages, fields, activity types, users, permissions, webhooks
leads:readLeads ReadRead leads and lead labels
leads:fullLeads FullFull CRUD on leads and lead labels
goals:readGoals ReadRead goals
goals:fullGoals FullFull CRUD on goals
projects:readProjects ReadRead projects, boards, phases, tasks, templates
projects:fullProjects FullFull CRUD on projects and tasks
webhooks:readWebhooks ReadRead webhooks created by the app
webhooks:fullWebhooks FullCreate, read, and delete webhooks
phone-integrationPhone IntegrationLog calls and play recordings
video-callsVideo CallsRegister as video call provider and create conference links
messengers-integrationMessengers IntegrationRegister as messaging integration provider

API Token

To connect, a person enters:

  • token: Your Pipedrive API token (found in Settings > Personal preferences > API)

Setup settings

Whichever method you pick, setup also asks for:

  • companyDomain: Your Pipedrive company domain (e.g. "mycompany" from mycompany.pipedrive.com)

Use your own Pipedrive OAuth app

With your own OAuth app, people see your company's name on the Pipedrive consent screen, and the client ID and secret belong to you.

Start the credentials in Metorial

In the dashboard, select Settings, then Organization Settings. Under Integrations and MCP, select Provider Auth, then Create Auth Credentials. Choose Pipedrive and copy the Redirect URI.

Register the app with Pipedrive

Create an OAuth app or client in Pipedrive and add the redirect URI from Metorial as its redirect or callback URL. The vendor documents this in OAuth documentation.

Finish in Metorial

Copy the app's client ID and client secret. Back in Metorial, enter a Name, the Client ID and the Client Secret, review Scopes, and select Create. Then pick these credentials for the Pipedrive integration.

Admin: share Pipedrive in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose Pipedrive. Under Auth Method, keep OAuth 2.0 or pick another. For how members connect, choose Each person connects, so everyone signs in to Pipedrive as themselves.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from Pipedrive.

Choose who gets it

Add the access groups that should see Pipedrive. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user Pipedrive integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search pipedrive

Employee: connect Pipedrive

In the portal

Open Pipedrive in the catalog

Sign in to your portal and open Pipedrive. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. A Pipedrive sign-in tab opens. Sign in and approve the permissions listed.

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search pipedrive
metorial setup <catalog-item-id>

catalog search prints the catalog item ID. metorial setup uses OAuth 2.0. To connect with API Token instead, find its ID with metorial catalog get <catalog-item-id> and add --auth-method <auth-method-id>.

Add it to your AI client

metorial install adds your Pipedrive connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list pipedrive
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 12 read-only tools, such as search and get_deals, and lose the 10 destructive tools, such as manage_deals or manage_leads.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list pipedrive
metorial tools <integration-id>
metorial call <integration-id> get_activity_types -d '{}'

metorial tools lists the 22 tools, minus any you rejected. get_activity_types takes no input. It retrieves Pipedrive activity types.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (12)

  • get_pipelines: Retrieve pipelines and their stages from Pipedrive.
  • search: Search across Pipedrive entities including deals, leads, persons, organizations, products, and files. Needs term.
  • get_leads: Retrieve leads from the Pipedrive Leads Inbox.
  • get_users: Retrieve users from the Pipedrive account.
  • get_organizations: Retrieve organizations from Pipedrive.
  • get_activities: Retrieve activities from Pipedrive.
  • get_persons: Retrieve person contacts from Pipedrive.
  • get_deals: Retrieve one or more deals from Pipedrive.
  • get_products: Retrieve products from the Pipedrive product catalog.
  • get_notes: Retrieve notes from Pipedrive.
  • get_fields: Retrieve Pipedrive field metadata for deals, persons, organizations, or products. Needs resourceType.
  • get_activity_types: Retrieve Pipedrive activity types.

Destructive tools (10)

  • manage_deal_products: Attach, update, or remove products from deals in Pipedrive. Needs action and dealId.
  • manage_products: Create, update, or delete products in the Pipedrive product catalog. Needs action.
  • manage_deals: Create, update, or delete deals in Pipedrive. Needs action.
  • manage_leads: Create, update, or delete leads in the Pipedrive Leads Inbox. Needs action.
  • manage_organizations: Create, update, or delete organizations in Pipedrive. Needs action.
  • manage_notes: Create, update, or delete notes attached to deals, persons, organizations, or leads in Pipedrive. Needs action.
  • manage_activities: Create, update, or delete activities (calls, meetings, tasks, etc.) in Pipedrive. Needs action.
  • manage_persons: Create, update, or delete person contacts in Pipedrive. Needs action.
  • manage_pipelines: Manage sales pipelines and their stages in Pipedrive. Needs resourceType and action.
  • convert_lead_to_deal: Convert a Pipedrive lead into a deal. Needs leadId.

Triggers

Pipedrive has 8 triggers, which fire on events in Pipedrive:

  • pipeline_events: Triggers when a pipeline or stage is created, updated, or deleted in Pipedrive.
  • product_events: Triggers when a product is created, updated, or deleted in Pipedrive.
  • deal_events: Triggers when a deal is created, updated, or deleted in Pipedrive.
  • lead_events: Triggers when a lead is created, updated, or deleted in Pipedrive.
  • note_events: Triggers when a note is created, updated, or deleted in Pipedrive.
  • person_events: Triggers when a person contact is created, updated, or deleted in Pipedrive.
  • activity_events: Triggers when an activity (call, meeting, task, etc.) is created, updated, or deleted in Pipedrive.
  • organization_events: Triggers when an organization is created, updated, or deleted in Pipedrive.

Next steps