Workflows

Workflows

Model, run, and observe content workflows on the Content Lake: definitions, stages, activities, and effects, from editorial review to full automation.

Reference

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.

Workflow authoring reference

Reference for Sanity Workflows authoring declarations, condition variables, decision sites, operations, guards, and subworkflow spawns.

Workflow configuration reference

Every key of a sanity.workflow.ts config: defineWorkflowConfig, deployments, partitions, resource aliases, reader-model acknowledgement, and runtime blocks.

Engine, effects, and insights reference

Reference for createEngine, WorkflowEvaluation, engine methods, effect handler contracts, evaluation insights, and HistoryEntry types.

Studio plugin configuration reference

Options, mapping rows, structure helpers, and embeddable tables of @sanity/workflow-studio-plugin, and how it differs from the @sanity/workflow-studio adapter.

Reusable UI components reference

Add assignment, date, member, and workflow-diagram controls to a custom Workflows interface.

Reactive session and adapter reference

Session states and commands, the useInstancePreviews contract, and the WorkflowObserver interface and builder kit for custom adapters.

Workflow CLI command reference

Every Workflows CLI command with its flags, selectors, JSON output, and exit behavior, for deploying definitions and driving instances.

Workflows MCP tools reference

Every tool the Workflows MCP server exposes, with inputs, results, and errors, generated from @sanity/workflow-mcp 0.37, plus the embedding API.

Limits

The engine’s operational caps and defaults: what each protects, and where to tune the ones you can.

Workflows release notes

Curated overviews of recent Workflows prerelease package waves.

Sanity logosanity.ioAll Systems Operational© Sanity 2026
Change site theme