# Wrike — Pipedream Connect

> Online project management software

- API slug: `wrike` (use in MCP headers and tool keys)
- Auth: OAuth (Pipedream-managed)
- Categories: Productivity
- Website: https://www.wrike.com/
- This page (HTML): https://pipedream.com/apps/wrike
- Tools: 12 actions · 3 triggers

## Connect via MCP (recommended)

- Endpoint: `https://remote.mcp.pipedream.net/v3`
- Headers: `Authorization: Bearer <token>` · `x-pd-project-id` · `x-pd-environment` · `x-pd-external-user-id` · `x-pd-app-slug: wrike`

```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": "wrike",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// e.g. run Create Comment:
const result = await mcp.callTool({
  name: "wrike-create-comment",
  arguments: {
    taskId: "Task ID",
    text: "Text",
  },
})
```

Docs: [MCP guide](https://pipedream.com/docs/connect/mcp/developers.md)

## API proxy

For a Wrike endpoint with no pre-built tool, the proxy forwards your request with the connected user's credentials attached.

```bash
# 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"
```

Docs: [API proxy guide](https://pipedream.com/docs/connect/api-proxy.md)

## SDK

```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: "wrike-create-comment",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    wrike: { authProvisionId: "apn_xxxxxxx" },
    taskId: "Task ID",
    text: "Text",
  },
})
```

Docs: [Managed auth guide](https://pipedream.com/docs/connect/managed-auth/quickstart.md) · [Tools guide](https://pipedream.com/docs/connect/components.md)

## Actions (12)

### `wrike-create-comment` — Create Comment (Write)

Post a comment on a Wrike task via POST /tasks/{taskId}/comments. Use Find Tasks or Get Task to obtain the taskId. See the documentation

Full schema: https://pipedream.com/apps/wrike/actions/create-comment.md

### `wrike-create-folder` — Create Folder (Write)

Create a folder (or a project, by supplying the optional project object) under a parent folder via POST /folders/{folderId}/folders. Supplying the 'project' prop switches creation into project mode; there is no separate create-project action. Use List Folder ID Options or List Space ID Options to…

Full schema: https://pipedream.com/apps/wrike/actions/create-folder.md

### `wrike-find-tasks` — Find Tasks (Read-only)

Query tasks within a Wrike folder or project via GET /folders/{folderId}/tasks, with optional status, due-date, importance, and assignee filters. Answers questions like 'what's overdue in the Marketing project?'. Use List Folder ID Options to obtain a folderId. Use the returned task IDs with Get…

Full schema: https://pipedream.com/apps/wrike/actions/find-tasks.md

### `wrike-get-task` — Get Task (Read-only)

Retrieve the full details of one or more Wrike tasks (title, status, importance, dates, responsibles, custom fields) via GET /tasks/{taskIds}. Use this when you already know a task ID and need its complete record. Use Find Tasks to discover task IDs within a folder first. Provide the taskId as…

Full schema: https://pipedream.com/apps/wrike/actions/get-task.md

### `wrike-list-contact-id-options` — List Contact ID Options (Read-only)

Retrieves available contacts so callers can copy an ID into free-form responsibles or contactId props in other actions. See the documentation

Full schema: https://pipedream.com/apps/wrike/actions/list-contact-id-options.md

### `wrike-list-custom-fields-keys-options` — List Custom Fields Keys Options (Read-only)

Retrieves available custom fields so callers can copy field IDs into free-form customFields props in other actions. See the documentation

Full schema: https://pipedream.com/apps/wrike/actions/list-custom-fields-keys-options.md

### `wrike-list-folder-id-options` — List Folder ID Options (Read-only)

Retrieves available folders so callers can copy an ID into another action's free-form folderId prop. See the documentation

Full schema: https://pipedream.com/apps/wrike/actions/list-folder-id-options.md

### `wrike-list-space-id-options` — List Space ID Options (Read-only)

Retrieves available spaces so callers can copy an ID into another action's free-form spaceId or folderId prop. See the documentation

Full schema: https://pipedream.com/apps/wrike/actions/list-space-id-options.md

### `wrike-new-task` — New Task (Write)

Create a Wrike task under a specified folder ID. See the documentation

Full schema: https://pipedream.com/apps/wrike/actions/new-task.md

### `wrike-update-folder` — Update Folder (Write)

Update a folder or project's metadata via PUT /folders/{folderId}. Supply the optional 'project' prop to set project attributes (or null to convert a project back to a folder); there is no separate update-project action. Use List Folder ID Options to obtain the folderId. See the documentation

Full schema: https://pipedream.com/apps/wrike/actions/update-folder.md

### `wrike-update-task` — Update Task (Write)

Update any combination of a Wrike task's fields (title, description, status, importance, assignees, dates, custom fields) in a single call via PUT /tasks/{taskId}. Supersedes the former Update Task Custom Fields action. Use Find Tasks or Get Task to obtain the taskId; use List Contact ID Options…

Full schema: https://pipedream.com/apps/wrike/actions/update-task.md

### `wrike-update-task-custom-fields` — Update Task Custom Fields (Write)

Update the custom fields for a task. See the documentation

Full schema: https://pipedream.com/apps/wrike/actions/update-task-custom-fields.md

## Triggers (3)

### `wrike-new-folder-created` — New Folder Created (Instant)

Emit new event when a folder is created

Full schema: https://pipedream.com/apps/wrike/triggers/new-folder-created.md

### `wrike-new-subtask-created` — New Subtask Created (Instant)

Emit new event when a subtask is created

Full schema: https://pipedream.com/apps/wrike/triggers/new-subtask-created.md

### `wrike-new-task-created` — New Task Created (Instant)

Emit new event when a task is created

Full schema: https://pipedream.com/apps/wrike/triggers/new-task-created.md

---

- All apps: https://pipedream.com/apps — index: https://pipedream.com/llms.txt
- Pipedream docs for agents: https://pipedream.com/docs/llms.txt
