Wrike connector

Create and update Wrike projects, folders, and tasks, add comments, and upload attachments from AgentRuntime workflows.

On this page

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

  1. Add the connector

    Click MCP in the sidebar, click Add connectors, find wrike, select it, and click Add to workspace.

  2. Open Instance config

    Open the new instance. On Instance config, under Profiles for this connector, click New profile and enter a Display name.

  3. Enter the token

    In the credentials section, choose Type secrets on this screen and paste your token into wrike_access_token. Leave wrike_api_base and wrike_http_timeout_seconds empty unless you need to change them.

  4. Make the profile active

    Set Status to Active — can be used in workflows, click Save, then click Use this profile for workflows.

  5. 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 try wrike_list_spaces to 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, then wrike_create_task for 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_task and set it to Completed with wrike_update_task.
  • Navigate to the right folder. Run wrike_list_spaces, then wrike_list_folder_subfolders, so an agent can choose the folder_id to work in.
  • Anything else in the Wrike API. Use wrike_custom_api_call for endpoints that have no dedicated tool.

Tools

Look up

ToolWhat it does
wrike_list_spacesLists spaces
wrike_list_contactsLists contacts, with page_size and next_page_token. Handy for user IDs and for testing the token
wrike_get_folderReturns a folder or project by folder_id
wrike_find_folderReturns a folder by folder_id, or searches by title, parent, owner, author, or projects only
wrike_list_folder_subfoldersLists the direct child folders of folder_id
wrike_get_taskReturns a task by task_id
wrike_find_taskReturns a task by task_id, or searches by title, folder_id, status, importance, assignees, or authors
wrike_search_tasksSearches tasks whose title contains title_contains
wrike_list_folder_tasksLists tasks in a folder, optionally including subfolders (descendants), with paging

Create and change

ToolWhat it does
wrike_create_folderCreates a folder, optionally under parent_folder_id. Can create it as a project. Writes data
wrike_create_projectCreates a project with owners, sharing, and start and end dates. Writes data
wrike_create_taskCreates a task in folder_id (title required) with status, importance, assignees, dates, duration, and custom fields. Writes data
wrike_update_taskUpdates a task by task_id. Use the field arguments, or patch_fields_json to send a raw update. Writes data
wrike_delete_taskPermanently deletes a task by task_id
wrike_add_commentAdds a comment to a task or folder (entity_type is tasks or folders). Writes data
wrike_upload_attachmentAttaches a base64-encoded file to a task or folder. Writes data

Raw API

ToolWhat it does
wrike_custom_api_callSends 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

KeyRequiredDefaultDescription
wrike_access_tokenYesnoneYour OAuth 2.0 access token or permanent API token
wrike_api_baseNohttps://www.wrike.com/api/v4The Wrike API address, including /api/v4
wrike_http_timeout_secondsNo45Time limit for each request to Wrike, in seconds

Troubleshooting

IssueFix
wrike_access_token is requiredThe active profile has no token. Add wrike_access_token, save, and click Use this profile for workflows
wrike HTTP 401Wrike 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 foundThe token's Wrike user cannot see that item. Check access in Wrike
Empty search resultsNarrow 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 savedSend custom_fields_json as a JSON array of objects with id and value, using the IDs from your Wrike account
Rate limitsThe connector waits and retries a few times when Wrike asks it to slow down. Space out bulk runs
Edit this pageagentruntime-io/agentruntime-docs