Wrike connector
Create and update Wrike projects, folders, and tasks, add comments, and upload attachments from AgentRuntime workflows.
En esta página
Wrike is a work management tool for teams. The wrike connector lets a workflow find folders and projects, create and update tasks, comment, attach files, and look up people. Use it to turn requests from other systems into Wrike work, and to keep Wrike in step with what happens elsewhere.
Prerequisites
- A Wrike account with access to the folders and projects you want to automate.
- A Wrike access token: either an OAuth 2.0 access token or a permanent API token. The connector sends it as a Bearer token.
- The project_contributor role or higher in your project.
Get a Wrike token
Wrike's developer documentation at developers.wrike.com explains how to create a permanent access token for your own account, or how to register an OAuth app. Copy the token when Wrike shows it. A token acts with the permissions of the Wrike user it belongs to, so use an account that can see the folders your workflow needs.
Connect in AgentRuntime
- Add the connector
Click MCP in the sidebar, click Add connectors, find wrike, select it, and click Add to workspace.
- Open Instance config
Open the new instance. On Instance config, under Profiles for this connector, click New profile and enter a Display name.
- Enter the token
In the credentials section, choose Type secrets on this screen and paste your token into
wrike_access_token. Leavewrike_api_baseandwrike_http_timeout_secondsempty unless you need to change them. - Make the profile active
Set Status to Active — can be used in workflows, click Save, then click Use this profile for workflows.
- Test it in a workflow
In Workflow Studio, add a connector tool step for this instance and choose
wrike_list_contacts, then run it. Next trywrike_list_spacesto see the spaces the token can reach.
To reuse the same token on several instances, create a connection first: on Connections, click New custom connection, give it a Display name, click Add field, and enter wrike_access_token as the Key and your token as the Value. Then on Instance config choose Use a saved connection. The connection's key names must match the keys in Configuration.
See Connections and MCP instances for more.
What you can build
- Request to project. When a form or CRM record is approved, run
wrike_create_project, thenwrike_create_taskfor each kickoff item. - Report handoff. Generate a report, encode it as base64, and attach it to the client's folder with
wrike_upload_attachment. - Status sync. When something finishes in another system, find the task with
wrike_find_taskand set it toCompletedwithwrike_update_task. - Navigate to the right folder. Run
wrike_list_spaces, thenwrike_list_folder_subfolders, so an agent can choose thefolder_idto work in. - Anything else in the Wrike API. Use
wrike_custom_api_callfor endpoints that have no dedicated tool.
Tools
Look up
| Tool | What it does |
|---|---|
wrike_list_spaces | Lists spaces |
wrike_list_contacts | Lists contacts, with page_size and next_page_token. Handy for user IDs and for testing the token |
wrike_get_folder | Returns a folder or project by folder_id |
wrike_find_folder | Returns a folder by folder_id, or searches by title, parent, owner, author, or projects only |
wrike_list_folder_subfolders | Lists the direct child folders of folder_id |
wrike_get_task | Returns a task by task_id |
wrike_find_task | Returns a task by task_id, or searches by title, folder_id, status, importance, assignees, or authors |
wrike_search_tasks | Searches tasks whose title contains title_contains |
wrike_list_folder_tasks | Lists tasks in a folder, optionally including subfolders (descendants), with paging |
Create and change
| Tool | What it does |
|---|---|
wrike_create_folder | Creates a folder, optionally under parent_folder_id. Can create it as a project. Writes data |
wrike_create_project | Creates a project with owners, sharing, and start and end dates. Writes data |
wrike_create_task | Creates a task in folder_id (title required) with status, importance, assignees, dates, duration, and custom fields. Writes data |
wrike_update_task | Updates a task by task_id. Use the field arguments, or patch_fields_json to send a raw update. Writes data |
wrike_delete_task | Permanently deletes a task by task_id |
wrike_add_comment | Adds a comment to a task or folder (entity_type is tasks or folders). Writes data |
wrike_upload_attachment | Attaches a base64-encoded file to a task or folder. Writes data |
Raw API
| Tool | What it does |
|---|---|
wrike_custom_api_call | Sends any Wrike API v4 request (method, path, optional query_json and body_json). Can read or change anything the token allows |
Dates use the form YYYY-MM-DD. Task status is one of Active, Completed, Deferred, or Cancelled, and importance is one of Low, Normal, High, or Critical. custom_fields_json is a JSON array of objects, each with a field id (or field_id) and a value.
Example
Create a task when a workflow finishes:
{
"id": "wrike_task",
"type": "mcp",
"name": "Create Wrike task",
"tool_name": "wrike_create_task",
"tool_args": {
"folder_id": "{{input.folder_id}}",
"title": "Review run {{input.run_id}}",
"description": "{{steps.summary.result.text}}",
"importance": "High",
"due_date": "{{input.due_date}}"
},
"depends_on": ["summary"],
"timeout_s": 30
}Studio fills in instance_id when you pick the instance. This example assumes an earlier step with the id summary.
Configuration
| Key | Required | Default | Description |
|---|---|---|---|
wrike_access_token | Yes | none | Your OAuth 2.0 access token or permanent API token |
wrike_api_base | No | https://www.wrike.com/api/v4 | The Wrike API address, including /api/v4 |
wrike_http_timeout_seconds | No | 45 | Time limit for each request to Wrike, in seconds |
Troubleshooting
| Issue | Fix |
|---|---|
wrike_access_token is required | The active profile has no token. Add wrike_access_token, save, and click Use this profile for workflows |
wrike HTTP 401 | Wrike rejected the token. Create a new token, or replace an expired OAuth token, and update the profile |
wrike HTTP 403 or a folder or task is not found | The token's Wrike user cannot see that item. Check access in Wrike |
| Empty search results | Narrow or change the filters. For wrike_find_task, set folder_id or title. Use next_page_token to get further pages where a tool offers it |
| Custom field values are not saved | Send custom_fields_json as a JSON array of objects with id and value, using the IDs from your Wrike account |
| Rate limits | The connector waits and retries a few times when Wrike asks it to slow down. Space out bulk runs |
Related
- Integrations quickstart
- MCP instances
- ClickUp connector for another task manager
- Connector catalog
- Troubleshooting