Workflows reference
Index of every Workflows reference page: definition language, sanity.workflow.ts, engine, reactive session, Studio plugin, UI components, CLI, MCP tools, and TypeDoc.
This page lists every Workflows reference: the definition language, configuration files, engine and runtime APIs, Studio and UI packages, the CLI, and the MCP tools. Each package's generated TypeScript API is on reference.sanity.io.
Author definitions
- Workflow authoring reference: every
define*helper, condition variables and sites, field types, operations, guards, and subworkflow spawns.
Configure and deploy
- sanity.workflow.ts configuration reference: deployments, partitions, resource aliases, reader-model acknowledgement, runtime blocks, and config validation errors.
- Workflow CLI command reference: every command with its arguments, flags, JSON payloads, and exit codes.
- Limits: current product and runtime limits.
Run and integrate
- Engine, effects, and insights reference: engine construction, verbs, evaluation, effects, insights, errors, history, and actor resolution.
- Reactive session and adapter reference: session states, previews, and the observer contract a custom adapter implements.
- Studio plugin configuration reference: plugin options, mapping rows, structure helpers, and embeddable tables.
- Reusable UI components reference: assignment, date, progress, member, and workflow-diagram controls.
- Workflows MCP tools reference: every agent tool with its inputs, results, and errors, and the embedding API.
Release history
- Workflows release notes: changes, migrations, and breaking changes per release.
Package API references
Package | Use it to |
|---|---|
Define workflows, evaluate their state, and commit engine operations. | |
Exercise workflows with an in-memory test bench. | |
Deploy and operate workflows from the command line. | |
Plan and generate Functions, and configure their workflow engines. | |
Manage reactive workflow sessions and custom adapters. | |
Connect Workflows to the Sanity App SDK. | |
Connect custom Studio interfaces to Workflows. | |
Add workflow views and tools to Studio, or reuse their tables. | |
Render assignment, date, status, and progress controls. | |
Render a workflow's stages and transitions. | |
Expose workflow operations to agents over MCP. | |
Explain and evaluate GROQ conditions. |
TypeDoc lists every export, including the lower-level helpers for condition rendering, actor resolution, diagnostics, semantics, and persisted-model checks.
Visiting agent?
Workflows includes an MCP server for inspecting, operating, authoring, validating, and deploying workflows. Ask your human to set up the MCP server.
Was this page helpful?
Feedback submitted, thanks for helping us improve the docs. Have you tried these alternatives?