Pipedrive ACTION
Update Project
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
- Action
- Writes data
- OAuth
- SDK
- MCP
IMPLEMENTATION
Call this tool
Connect a user's Pipedrive account once, then configure and run Update Project from your backend or agent.
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-update-project",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
pipedrive: { authProvisionId: "apn_xxxxxxx" },
projectId: "Project ID",
title: "Title",
},
})
console.log(result)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-update-project",
"configured_props": {
"pipedrive": { "authProvisionId": "apn_xxxxxxx" },
"projectId": "Project ID",
"title": "Title"
}
}'// 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()
// listTools() hands your model this tool's input schema, so it can
// fill the arguments itself:
const result = await mcp.callTool({
name: "pipedrive-update-project",
arguments: {
projectId: "Project ID",
title: "Title",
},
})SCHEMA
Inputs
Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.
| Property | Type | Description |
|---|---|---|
projectId Project ID | string | The ID of the project to update. Run List Projects first to obtain a valid project ID. Required |
title Title | string | The updated title of the project. Optional |
description Description | string | The updated description of the project. Optional |
status Status | string | The updated status of the project. One of: open, completed, canceled, deleted. Optional |
boardId Board ID | string | The ID of the board. Run List Project Boards first to obtain a valid board ID. Optional |
phaseId Phase ID | string | The ID of the phase. Run List Project Phases first to obtain a valid phase ID. Optional |
ownerId Owner ID | integer | The user ID of the project owner. Optional Dynamic |
startDate Start Date | string | The start date of the project. Format: YYYY-MM-DD. Optional |
endDate End Date | string | The end date of the project. Format: YYYY-MM-DD. Optional |
dealIds Deal IDs | string[] | Array of deal IDs to associate with the project. Use List Deals to obtain a valid deal ID. Optional |
personIds Person IDs | string[] | Array of person IDs to associate with the project. Use List Persons to obtain a valid person ID. Optional |
orgIds Organization IDs | string[] | Array of organization IDs to associate with the project. Use List Organizations to obtain a valid organization ID. Optional |
labelIds Label IDs | string[] | Array of numeric project-label IDs to associate with the project. Project labels are managed in Pipedrive under Settings → Labels — copy the numeric ID for each label you want to apply. Optional |
REFERENCE
Tool details
Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.
- Registry key
- pipedrive-update-project
- Version
- 0.0.2
- App
- Pipedrive
- Authentication
- OAuth
- Read-only
- No
- Destructive
- No
- Open world
- Yes
- Source
- View on GitHub ↗