Workflows
Workflows are single-purpose AI operations. Instead of letting the model choose from multiple tools, you ask it to perform one specific task, such as editing a document, replacing a selection, or managing comments.
Insert content
More →Replace the current selection or any content in the document.
Proofreader
More →Read a document and apply grammar corrections as tracked changes.
Tiptap Edit
More →Generate and apply structured edit operations to a collaborative document.
Comments
More →Read document content and threads, then create or update comments on the server.
Each workflow follows the same three-step flow:
- Read the relevant document state with a workflow read endpoint.
- Ask your model to produce structured workflow output.
- Execute the workflow on the Server AI Toolkit API.
Workflows vs. AI agents
AI agents can choose from multiple tools and combine them dynamically. Workflows are simpler: the model produces input for one known server-side action.
Use workflows when the task is fixed and predictable. Use agents when the model needs to choose between multiple document operations.