# Create Project — Pipedrive

> 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…

- Key: `pipedrive-create-project`
- Type: Action (Write)
- Version: 0.0.2
- App: Pipedrive (`pipedrive`) — https://pipedream.com/apps/pipedrive.md
- This page (HTML): https://pipedream.com/apps/pipedrive/actions/create-project
- Hints: open-world
- Source: https://github.com/PipedreamHQ/pipedream/blob/master/components/pipedrive/actions/create-project/create-project.mjs

## Description

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](https://developers.pipedrive.com/docs/api/v1/Projects#addProject)

## Props

| Prop | Type | Required | Description |
|---|---|---|---|
| `title` | `string` | Yes | The title of the project. |
| `description` | `string` | No | The description of the project. |
| `status` | `string` | No | The status of the project. One of: open, completed, canceled, deleted. |
| `boardId` | `string` | No | The ID of the board this project belongs to. Run List Project Boards first to obtain a valid board ID. |
| `phaseId` | `string` | No | The ID of the phase this project belongs to. Run List Project Phases (with the chosen board ID) first to obtain a valid phase ID. |
| `ownerId` | `integer` | No | The user ID of the project owner. Options are loaded from the connected account. |
| `startDate` | `string` | No | The start date of the project. Format: YYYY-MM-DD (e.g. 2026-07-31). |
| `endDate` | `string` | No | The end date of the project. Format: YYYY-MM-DD (e.g. 2026-08-31). |
| `dealIds` | `string[]` | No | Array of deal IDs to associate with the project. Use List Deals to obtain a valid deal ID. |
| `personIds` | `string[]` | No | Array of person IDs to associate with the project. Use List Persons to obtain a valid person ID. |
| `orgIds` | `string[]` | No | Array of organization IDs to associate with the project. Use List Organizations to obtain a valid organization ID. |
| `labelIds` | `string[]` | No | 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. |

## Run it

**MCP**

```ts
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
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 accessToken = await pd.rawAccessToken

const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": process.env.PIPEDREAM_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-create-project",
  arguments: {
    title: "Title",
    description: "Description",
  },
})
```

**TypeScript**

```ts
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-create-project",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    pipedrive: { authProvisionId: "apn_xxxxxxx" },
    title: "Title",
    description: "Description",
  },
})

console.log(result)
```

**cURL**

```bash
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-create-project",
    "configured_props": {
      "pipedrive": { "authProvisionId": "apn_xxxxxxx" },
      "title": "Title",
      "description": "Description"
    }
  }'
```

---

- App: https://pipedream.com/apps/pipedrive.md · All apps: https://pipedream.com/apps
