Skip to content
ONLYOFFICE DocSpace logoONLYOFFICE DocSpace logo

ONLYOFFICE DocSpace Integrations

Content & Files

Build ONLYOFFICE DocSpace automations with your AI agent. Run them on Zapier.

Add Zapier to Claude, ChatGPT, Cursor, or another AI agent, and your agent can build automations across ONLYOFFICE DocSpace and 10,000+ other apps.
apps to connect
10,000+
ways to start a workflow
12
available app actions
18
  • Dependable AI workflows
  • Full audit trails and controls
  • Easy visual workflow manager
  • Free tier available
  • SOC 2 Type II, SOC 3, GDPR, and CCPA compliant

Top teams trust Zapier to automate work

  • Samsung
  • Okta
  • Mastercard
  • Nvidia
  • Airbnb

ONLYOFFICE DocSpace MCP server: connect ONLYOFFICE DocSpace to your AI agent with Zapier

Install Zapier once, then tell your agent what you want done. Behind the scenes, Zapier MCP finds the right triggers and actions to use with ONLYOFFICE DocSpace and runs them—all with your credentials managed by Zapier and kept out of the model.

Paste into any AI tool
Connect to Zapier MCP at https://mcp.zapier.com/api/v1/connect and help me sign in to Zapier or sign up. Then connect my ONLYOFFICE DocSpace account and help me build a Zap with ONLYOFFICE DocSpace: ask me what I want to automate. Read the setup steps at https://zapier.com/AGENTS.md if you can't connect.

Paste this prompt into Claude, ChatGPT, Cursor, or your preferred AI agent to build ONLYOFFICE DocSpace automations.

MCP server · Streamable HTTP
https://mcp.zapier.com/api/v1/connect

Install this server in Claude, ChatGPT, Cursor, VS Code, or any MCP client. You sign in once with OAuth.

Terminal · in your project
npm install @zapier/zapier-sdk
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection onlyoffice-docspace

Call any app action from TypeScript. Zapier handles OAuth, token refresh, retries, and rate limits.

Terminal · no project
npx @zapier/install-zapier

Run this command to print setup instructions for your client, then follow the prompts to sign in.

Ask your AI agent to do it

Tell Claude, ChatGPT, or your go-to AI agent to install Zapier MCP, and it’ll get you started with Zapier.

Wire it into your own code

Connect your agent to ONLYOFFICE DocSpace and 10,000+ more apps with the TypeScript SDK. Zapier handles OAuth and token refresh.

Set it up from your terminal

Tell your coding agent to run one command. It installs Zapier MCP so your agent can use ONLYOFFICE DocSpace and other apps.

Use a premade ONLYOFFICE DocSpace automation template to start building from anywhere: in your go-to agent interface, in code, or in Zapier.

With Zapier MCP installed, your AI agent can build automations across 10,000+ apps and 90,000+ triggers and actions. Automations run reliably on Zapier from an app event, on a schedule (cron), or from a webhook. Here are the ONLYOFFICE DocSpace triggers and actions your agent can build with right away.

  • File Created

    Triggers when a file is created in a room or folder.

  • File Created in My Documents

    Triggers when a file is created in the My Documents directory.

  • File Deleted

    Triggers when a file is deleted (optionally from a room or folder).

  • File Deleted From My Documents

    Triggers when a file is deleted from the My Documents directory.

  • Folder Created

    Triggers when a folder is created in a room or folder.

  • Folder Created in My Documents

    Triggers when a folder is created in the My Documents directory.

  • Folder Deleted

    Triggers when a folder is deleted (optionally from a room or folder).

  • Folder Deleted From My Documents

    Triggers when a folder is deleted from the My Documents directory.

Your agent picks the right ONLYOFFICE DocSpace action from what you ask. Connect Zapier once and it can use 30 ONLYOFFICE DocSpace tools, each with typed inputs. Zapier handles ONLYOFFICE DocSpace’s login, so you never paste an API key. The same actions run from TypeScript through the Zapier SDK.

Set up ONLYOFFICE DocSpace MCP in Claude, Claude Code, ChatGPT, Cursor, and Codex

Zapier MCP works with any MCP client that supports Streamable HTTP. Connect or add Zapier in your AI tool, sign in when prompted, then ask for ONLYOFFICE DocSpace.

MCP server · Streamable HTTP · OAuth
https://mcp.zapier.com/api/v1/connect
  • Claude

    Connect Zapier in Claude and sign in when prompted. Claude setup guide

  • Claude Code

    Install Zapier MCP in Claude Code, then sign in from the terminal. Claude Code setup guide

  • ChatGPT

    Connect Zapier in ChatGPT and approve the sign-in. ChatGPT setup guide

  • Cursormcp.json

    Add Zapier to Cursor and sign in. Cursor setup guide

  • Codex

    Add Zapier to Codex and sign in. Codex setup guide

  • VS Code and other clientsmcp.json

    Add Zapier to any MCP client that supports Streamable HTTP.

  • OpenCodeopencode.json

    Add Zapier to OpenCode.

  • Terminal auto-installer

    Install Zapier MCP in whichever client you have.

How your agent gets these tools

  1. Connect Zapier to your AI tool (pick yours above) and sign in once in the browser. Zapier sets up your MCP server, with no token to paste.
  2. Ask your agent to connect ONLYOFFICE DocSpace. It calls discover_zapier_actions to find the ONLYOFFICE DocSpace actions, then enable_zapier_action to add them.
  3. Approve the ONLYOFFICE DocSpace sign-in when prompted. If ONLYOFFICE DocSpace isn’t connected yet, the first call returns a sign-in link.
  4. Ask for what you want done in plain language. Each enabled action becomes its own tool, named as below. Until then, execute_zapier_read_action and execute_zapier_write_action run it.

Use ONLYOFFICE DocSpace in 36 AI tools with Zapier MCP

30 ONLYOFFICE DocSpace MCP tools

ToolMCP nameWhat it does
File Createdonlyoffice_docspace_file_created

Trigger · Read-only. Triggers when a file is created in a room or folder.

Optional: id (Room id), folderId (Folder id)

File Created in My Documentsonlyoffice_docspace_file_created_in_my_documents

Trigger · Read-only. Triggers when a file is created in the My Documents directory.

Optional: folderId (Folder id)

File Deletedonlyoffice_docspace_file_deleted

Trigger · Read-only. Triggers when a file is deleted (optionally from a room or folder).

Optional: id (Room id), folderId (Folder id)

File Deleted From My Documentsonlyoffice_docspace_file_deleted_from_my_documents

Trigger · Read-only. Triggers when a file is deleted from the My Documents directory.

Optional: folderId (Folder id)

Folder Createdonlyoffice_docspace_folder_created

Trigger · Read-only. Triggers when a folder is created in a room or folder.

Optional: id (Room id), folderId (Folder id)

Folder Created in My Documentsonlyoffice_docspace_folder_created_in_my_documents

Trigger · Read-only. Triggers when a folder is created in the My Documents directory.

Optional: folderId (Folder id)

Folder Deletedonlyoffice_docspace_folder_deleted

Trigger · Read-only. Triggers when a folder is deleted (optionally from a room or folder).

Optional: id (Room id), folderId (Folder id)

Folder Deleted From My Documentsonlyoffice_docspace_folder_deleted_from_my_documen

Trigger · Read-only. Triggers when a folder is deleted from the My Documents directory.

Optional: folderId (Folder id)

Room Archivedonlyoffice_docspace_room_archived

Trigger · Read-only. Triggers when a room is archived.

Room Createdonlyoffice_docspace_room_created

Trigger · Read-only. Triggers when a room is created.

User Addedonlyoffice_docspace_user_added

Trigger · Read-only. Triggers when a user is added.

User Joinedonlyoffice_docspace_user_joined

Trigger · Read-only. Triggers when a user is invited to the room.

Required: id (Room id)

Optional: active

Search Fileonlyoffice_docspace_search_file

Search · Read-only. Search for a file.

Required: folderId (Section), title

Search Folderonlyoffice_docspace_search_folder

Search · Read-only. Search for a folder.

Required: folderId (Section), title

Archive Roomonlyoffice_docspace_archive_room

Action · Writes data. Archive a room.

Required: id (Room id)

Create Fileonlyoffice_docspace_create_file

Action · Writes data. Create a file.

Required: title

Optional: id (Room id), folderId (Folder id)

Create File in My Documentsonlyoffice_docspace_create_file_in_my_documents

Action · Writes data. Create a file in the My Documents directory.

Required: title

Optional: folderId (Folder id)

Create Folderonlyoffice_docspace_create_folder

Action · Writes data. Create a folder.

Required: title

Optional: id (Room id), folderId (Folder id)

Create Folder in My Documentsonlyoffice_docspace_create_folder_in_my_documents

Action · Writes data. Create a folder in the My Documents directory.

Required: title

Optional: folderId (Folder id)

Delete Folderonlyoffice_docspace_delete_folder

Action · Writes data. Delete a folder.

Required: folderId (Folder id)

Optional: id (Room id)

Delete Folder From My Documentsonlyoffice_docspace_delete_folder_from_my_document

Action · Writes data. Delete a folder from the My Documents directory.

Required: folderId (Folder id)

Download Fileonlyoffice_docspace_download_file

Action · Writes data. Returns a hydrated link to download a file.

Required: fileId (File id)

Optional: id (Room id), folderId (Folder id)

Download File From My Documentsonlyoffice_docspace_download_file_from_my_document

Action · Writes data. Returns a hydrated link to download a file from the My Documents directory.

Required: fileId (File id)

Optional: folderId (Folder id)

Get External Linkonlyoffice_docspace_get_external_link

Action · Writes data. Returns the primary external link of a room.

Required: id (Room id)

Invite Guestonlyoffice_docspace_invite_guest

Action · Writes data. Invites a guest to the room.

Required: roomId (Room id), email

Invite Useronlyoffice_docspace_invite_user

Action · Writes data. Invites a user to the current portal.

Required: email

Create Roomonlyoffice_docspace_create_room

Action · Writes data. Create a room.

Required: title, roomType (Type)

Share Roomonlyoffice_docspace_share_room

Action · Writes data. Share a room with a user.

Required: roomId (Room id), userId (User id), access (Role)

Upload Fileonlyoffice_docspace_upload_file

Action · Writes data. Upload a file.

Required: url (URL or File)

Optional: id (Room id), folderId (Folder id)

Upload File to My Documentsonlyoffice_docspace_upload_file_to_my_documents

Action · Writes data. Upload a file to the My Documents directory.

Required: url (URL or File)

Optional: folderId (Folder id)

ONLYOFFICE DocSpace API with the Zapier SDK, without pasting an API key

The Zapier SDK gives your code one way to call ONLYOFFICE DocSpace. You connect your account once, and your code references that connection instead of a raw token.

archiveRoom (Archive Room) requires id. Every ONLYOFFICE DocSpace action and its inputs are listed under ONLYOFFICE DocSpace triggers and actions above. Zapier handles OAuth, token refresh, retries and rate limits. Read the SDK docs

Terminal · in your project
npm install @zapier/zapier-sdk
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection onlyoffice-docspace
TypeScript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: connection } = await zapier.findFirstConnection({ app: "onlyoffice-docspace", owner: "me" });

const { data } = await zapier.runAction({
  app: "onlyoffice-docspace",
  actionType: "write",
  action: "archiveRoom",
  connection: connection.id,
  inputs: {
    id: "", // Room id
  },
});
Zapier SDK CLI
npx zapier-sdk run-action onlyoffice-docspace write archiveRoom \
  --inputs '{"id":""}'

Frequently asked questions about automating with ONLYOFFICE DocSpace

How do I connect ONLYOFFICE DocSpace to Claude?

Connect Zapier in Claude, sign in to Zapier, then ask Claude to connect ONLYOFFICE DocSpace. Claude finds the ONLYOFFICE DocSpace actions and adds them. If ONLYOFFICE DocSpace needs a sign-in, you approve it once.

Can I use the ONLYOFFICE DocSpace API without managing API keys?

With the Zapier SDK you connect your ONLYOFFICE DocSpace account to Zapier once, and your code runs actions through that connection. Zapier handles ONLYOFFICE DocSpace’s login, so you never paste an API key into your code.

What can an AI agent do with ONLYOFFICE DocSpace?

Through Zapier MCP, your agent can use 30 ONLYOFFICE DocSpace tools, such as File Created, File Created in My Documents, and File Deleted. 14 tools only read data, so you can start with those before you let your agent make changes.

My AI agent already connects to my apps. Why add Zapier?

Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.

Can’t my AI agent already run tasks on a schedule?

Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.

Why not have my AI agent write me a script?

You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.

Point your AI agent to this page’s markdown file to build ONLYOFFICE DocSpace automations. It covers how ONLYOFFICE DocSpace connects, every trigger and action with its inputs, and how to run them with Zapier MCP, the SDK, or the CLI. To start from a ready-made Zap instead, have it search zapier.sh.

About ONLYOFFICE DocSpace

ONLYOFFICE DocSpace is a room-based collaboration environment for organizing teamwork on an any content.

Related categories: Content & Files