GeezerVison is showing pipedream.com — Build with Pipedrive and Pipedream Connect MCP Every Pipedrive action is exposed as an MCP tool on Pipedream's remote server. Point a client at it with your end user's ID and Connect resolves that user's Pipedrive account for each tool call — you store no tokens. // accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
new URL("https://remote.mcp.pipedream.net/v3"),
{
requestInit: {
headers: {
Authorization: `Bearer ${accessToken}`,
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
"x-pd-app-slug": "pipedrive",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// e.g. run Add Activity:
const result = await mcp.callTool({
name: "pipedrive-add-activity",
arguments: {
subject: "Subject",
type: "Type",
},
})
# access_token: mint a short-lived token with the Connect SDK — see the MCP guide
headers = {
"Authorization": f"Bearer {access_token}",
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", # any stable ID for this user in your system
"x-pd-app-slug": "pipedrive",
}
async with streamablehttp_client("https://remote.mcp.pipedream.net/v3", headers=headers) as (read, write, _):
async with ClientSession(read, write) as session:
await session.initialize()
tools = await session.list_tools()
# e.g. run Add Activity:
result = await session.call_tool("pipedrive-add-activity", {
"subject": "Subject",
"type": "Type",
})
API PROXY For an endpoint with no pre-built tool, the Connect proxy forwards your request to the Pipedrive API with the connected user's credentials attached. You store no tokens and write no refresh logic. const resp = await pd.proxy.get({
externalUserId: "{external_user_id}", // any stable ID for this user in your system
accountId: "apn_xxxxxxx",
url: "https://api.example.com/v1/me",
})
// Any allowed Pipedrive endpoint works here. Pipedream attaches the
// connected account's credentials to the outgoing request.
# The path segment is the target URL, URL-safe base64 encoded:
# https://api.example.com/v1/me
curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9hcGkuZXhhbXBsZS5jb20vdjEvbWU?external_user_id={external_user_id}&account_id=apn_xxxxxxx" \
-H "Authorization: Bearer {access_token}" \
-H "x-pd-environment: production"
SDK Connect a user's Pipedrive account once, then run Add Activity on their behalf from your own code — TypeScript, Python, or plain HTTP. import { PipedreamClient } from "@pipedream/sdk"
const pd = new PipedreamClient({
projectId: process.env.PIPEDREAM_PROJECT_ID!,
clientId: process.env.PIPEDREAM_CLIENT_ID!,
clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
projectEnvironment: "production",
})
const result = await pd.actions.run({
id: "pipedrive-add-activity",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
pipedrive: { authProvisionId: "apn_xxxxxxx" },
subject: "Subject",
type: "Type",
},
})
from pipedream import Pipedream
pd = Pipedream(
client_id="{oauth_client_id}",
client_secret="{oauth_client_secret}",
project_id="{project_id}",
project_environment="production",
)
result = pd.actions.run(
id="pipedrive-add-activity",
external_user_id="{external_user_id}", # any stable ID for this user in your system
configured_props={
"pipedrive": {"authProvisionId": "apn_xxxxxxx"},
"subject": "Subject",
"type": "Type",
},
)
curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
-H "Content-Type: application/json" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}" \
-d '{
"external_user_id": "{external_user_id}",
"id": "pipedrive-add-activity",
"configured_props": {
"pipedrive": { "authProvisionId": "apn_xxxxxxx" },
"subject": "Subject",
"type": "Type"
}
}'
TOOLS On-demand operations your product or agent can configure and run on behalf of a connected user. -
Add Activity action Adds a new activity. Includes more_activities_scheduled_in_context property in response's additional_data which indicates whether there are more undone activities scheduled with the same deal, person or organization (depending on the supplied data). See the Pipedrive API docs for Activities here. For info on adding an activity in Pipedrive Writev0.1.26 → -
Add Deal action Adds a new deal. See the Pipedrive API docs for Deals here Writev0.1.26 → -
Add Labels action Adds labels to a lead, person, deal, or organization in Pipedrive. See the documentation Writev0.0.5 → -
Add Lead action Create a new lead in Pipedrive. See the documentation Writev0.0.20 → -
Add Note action Adds a new note. For info on adding an note in Pipedrive Writev0.0.21 → -
Add Organization action Adds a new organization. See the Pipedrive API docs for Organizations here Writev0.1.22 → -
Add Person action Adds a new person. See the Pipedrive API docs for People here Writev0.1.25 → -
Create Project action Creates a new project in Pipedrive. Use List Project Boards to obtain a valid Board ID and List Project Phases to obtain a valid Phase ID before running this action. Example: to open a project on the first board/phase, call with title="Q3 Website Redesign", status="open", boardId="1", phaseId="1" -> returns the created project with its numeric id. See the documentation Writev0.0.2 → -
Create Task action Creates a new task under a project (BETA). Run List Projects first to obtain a valid project ID. Use List User ID Options for the assignee ID. Example: to add a task to a project, call with title="Draft kickoff agenda" and projectId="7" -> returns the created task with its numeric id. See the documentation Writev0.0.2 → -
Delete Project action Permanently deletes a project. This is irreversible. Run List Projects first to obtain a valid project ID. See the documentation Writev0.0.2 → -
Delete Task action Permanently deletes a task and all of its subtasks (BETA). This is irreversible. Run List Tasks first to obtain a valid task ID. See the documentation Writev0.0.2 → -
Get All Leads action Get all leads from Pipedrive. See the documentation Read-onlyv0.0.6 → -
Get Deal action Get a deal by its ID. See the documentation Read-onlyv0.0.3 → -
Get Lead by ID action Get a lead by its ID. See the documentation Read-onlyv0.0.10 → -
Get person details action Get details of a person by their ID. See the documentation Read-onlyv0.0.11 → -
Get Project action Gets a single project by its ID. Run List Projects first to obtain a valid project ID. See the documentation Read-onlyv0.0.2 → -
Get Task action Gets a single task by its ID (BETA). Run List Tasks first to obtain a valid task ID. See the documentation Read-onlyv0.0.2 → -
List Deals action List deals in your Pipedrive account. See the documentation Read-onlyv0.0.4 → -
List Filters action List filters in your Pipedrive account, optionally scoped to a single entity type. See the documentation Read-onlyv0.0.2 → -
List Lead Label IDs Options action Retrieves available options for the Lead Label IDs field. Read-onlyv0.0.2 → -
List Organization Label IDs Options action Retrieves available options for the Organization Label IDs field. Read-onlyv0.0.2 → -
List Organizations action List organizations in your Pipedrive account. See the documentation Read-onlyv0.0.2 → -
List Person Label IDs Options action Retrieves available options for the Person Label IDs field. Read-onlyv0.0.2 → -
List Persons action List persons in your Pipedrive account. See the documentation Read-onlyv0.0.2 → -
List Project Boards action Lists all active project boards. Run this first to obtain a valid board ID for Create Project, Update Project, and List Project Phases. See the documentation Read-onlyv0.0.2 → -
List Project Phases action Lists the phases for a given board. Run List Project Boards first to obtain a board ID, then run this to obtain a valid phase ID for Create Project or Update Project. See the documentation Read-onlyv0.0.2 → -
List Projects action Lists projects in your Pipedrive account. Use the returned IDs with Get Project, Update Project, Delete Project, or Create Task. See the documentation Read-onlyv0.0.2 → -
List Tasks action Lists tasks in your Pipedrive account (BETA). Use List Projects to obtain a project ID to filter by. Use the returned IDs with Get Task, Update Task, or Delete Task. See the documentation Read-onlyv0.0.2 → -
List User ID Options action Retrieves available options for the User ID field. Read-onlyv0.0.2 → -
Merge Deals action Merge two deals in Pipedrive. See the documentation Writev0.0.10 → -
Merge Persons action Merge two persons in Pipedrive. See the documentation Writev0.0.10 → -
Remove Duplicate Notes action Remove duplicate notes from an object in Pipedrive. See the documentation for getting notes and deleting notes Writev0.0.13 → -
Remove Labels action Removes one or more specific labels from a lead, person, deal, or organization in Pipedrive, leaving all other labels intact. See the documentation Writev0.0.2 → -
Search Leads action Search for leads by name or email. See the documentation Read-onlyv0.0.11 → -
Search Notes action Search for notes in Pipedrive. See the documentation Read-onlyv0.0.13 → -
Search persons action Searches all Persons by name, email, phone, notes and/or custom fields. This endpoint is a wrapper of /v1/itemSearch with a narrower OAuth scope. Found Persons can be filtered by Organization ID. See the Pipedrive API docs here Read-onlyv0.1.26 → -
Update Deal action Updates the properties of a deal. See the Pipedrive API docs for Deals here Writev0.1.24 → -
Update Lead action Updates a lead in Pipedrive. See the documentation Writev0.0.7 → -
Update Person action Updates an existing person in Pipedrive. See the documentation Writev0.0.17 → -
Update Project action Updates an existing project. Run List Projects first to obtain a valid project ID; use List Project Boards and List Project Phases for board and phase IDs. See the documentation Writev0.0.2 → -
Update Task action Updates an existing task (BETA). Run List Tasks first to obtain a valid task ID. See the documentation Writev0.0.2 →
EVENTS Event sources your backend can deploy for users and receive through a webhook. MULTI-APP Most products don't stop at one integration. Pair Pipedrive with the other apps your users rely on, and ship use cases that span both. Google Sheets Use Google Sheets to create and edit online spreadsheets. Get insights together with secure sharing in real-time and from any device. Google Calendar With Google Calendar, you can quickly schedule meetings and events and get reminders about upcoming activities, so you always know what’s next. Google Drive Google Drive is a file storage and synchronization service which allows you to create and share your work online, and access your documents from anywhere. Notion Notion is a new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team. HubSpot HubSpot's CRM platform contains the marketing, sales, service, operations, and website-building software you need to grow your business. LinkedIn LinkedIn is a business and employment-focused social media platform. Manage your professional identity. Build and engage with your professional network. Access knowledge, insights and opportunities. Microsoft Outlook Email Microsoft Outlook lets you bring all your email accounts and calendars in one convenient spot. Slack Slack is the AI-powered platform for work bringing all of your conversations, apps, and customers together in one place. Around the world, Slack is helping businesses of all sizes grow and send productivity through the roof. Stripe Stripe powers online and in-person payment processing and financial solutions for businesses of all sizes. Salesforce Cloud-based customer relationship management (CRM) platform that helps businesses manage sales, marketing, customer support, and other business activities, ultimately aiming to improve customer relationships and streamline operations. Microsoft Outlook Calendar The calendar and scheduling component of Outlook that is fully integrated with email, contacts, and other features Calendly Schedule meetings without the hassle. Never get double booked. Calendly works with your calendar to automate appointment scheduling. REFERENCE Reference metadata for the Pipedrive connector in the Pipedream registry. - App slug
- pipedrive
- Authentication
- OAuth
- Categories
- CRM
- Actions
- 41
- Triggers
- 6
- API proxy
- Available
|