Sanity · Arazzo Workflow
Sanity Create and Verify Document
Version 1.0.0
Create a document with a mutation, then confirm it exists with a GROQ query.
View Spec
View on GitHub
Headless CMSContent ManagementGROQReal-TimeStructured ContentDeveloper PlatformArazzoWorkflows
Provider
Workflows
create-and-verify-document
Create a single document and verify it via a GROQ lookup by id.
Applies a create mutation to the dataset, then issues a GROQ query that selects the freshly created document by its id so the caller can confirm persistence and read the stored values.
1
createDocument
Apply a single create mutation that inserts the supplied document into the dataset and returns the created document id.
2
verifyDocument
Run a GROQ query that fetches the document by its id to confirm the mutation persisted and to read back the stored document.
Source API Descriptions
openapi
Arazzo Workflow Specification
Work with this as data
Every workflow here is available over the APIs.io API and to AI agents over MCP.