Workflows

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

Configure and deploy

Run and integrate

Release history

Package API references

Workflows ships as four packages. @sanity/workflows holds the engine, Blueprints generation and the code generated Functions import, condition descriptions, and the agent operations. @sanity/workflows-ui holds the Studio plugin and every React surface, and has no root entry point. @sanity/workflows-cli holds the command line, and @sanity/workflows-test the test bench. This table lists the main entry point of each area with its API reference. Each reference also lists the subpaths under it, such as @sanity/workflows/define:

Package

Use it to

@sanity/workflows

Define workflows, evaluate their state, and commit engine operations.

@sanity/workflows/blueprints

Configure the Blueprint resource for your workflows. The /blueprints/runtime subpath holds the code that generated Functions import.

@sanity/workflows/describe

Explain and evaluate GROQ conditions.

@sanity/workflows/agents

Wrap typed workflow operations as tools in your own agent host.

@sanity/workflows-ui/studio-plugin

Add workflow views and tools to Studio, or reuse their tables.

@sanity/workflows-ui/studio

Connect custom Studio interfaces to Workflows.

@sanity/workflows-ui/react

Manage reactive workflow sessions and custom adapters.

@sanity/workflows-ui/sdk

Connect Workflows to the Sanity App SDK.

@sanity/workflows-ui/components

Render assignment, date, status, and progress controls.

@sanity/workflows-ui/diagram

Render a workflow’s stages and transitions.

@sanity/workflows-cli

Deploy and operate workflows from the command line.

@sanity/workflows-test

Exercise workflows with an in-memory test bench.

TypeDoc lists every export, including the lower-level helpers for condition rendering, actor resolution, diagnostics, semantics, and persisted-model checks.

Visiting agent?

Was this page helpful?

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