Skip to main content

Connect Sanity to enable agents to:

  • Generate and update Sanity schema documentation from PR changes
  • Explore schemas and content models with natural-language queries
  • Run GROQ queries to validate content and discover issues
  • Create and update documents with consistent structure

Official Workflow Templates

The following official workflow template is maintained by the Continue team and is available directly in the Mission Control Hub. This workflow is designed to work out of the box and represents the recommended way to automate Sanity documentation updates.

Update Sanity schema docs

When a pull request is opened, automatically update your Sanity content documentation to stay in sync with schema and code changes.
Official workflow templates may expand over time as new patterns are validated. You can view, enable, and configure this workflow in Mission Control → Integrations → Sanity.

Advanced Use Cases

These examples are not officially maintained by the Continue team, but illustrate what’s possible with custom workflows.
  • Validate schema changes against content standards before merging
  • Generate migration suggestions when schema changes are detected
  • Audit content for missing fields, broken references, or invalid values
  • Generate content-model summaries for designers and stakeholders
  • Create tickets or PR comments when content risks are detected

Access & Permissions

When connecting Sanity, you’ll authorize Continue to access your workspace and interact with content based on your project permissions.
  • Workspace access
    Agents can only access Sanity projects and datasets you are permitted to view.
  • Permissions
    Approved permissions allow Continue to read schemas, run GROQ queries, and create or update documents when workflows require it.

Support & Resources