---
title: "eve Sanity Copilot"
description: "Manage Sanity from Slack with GROQ queries, draft edits, schema changes, release workflows, and Notion drafting through eve."
url: "https://vercel.com/templates/eve/eve-sanity-copilot"
links:
  repository: "https://github.com/vercel-labs/sanity-copilot-eve-template"
  deploy: "https://vercel.com/new/clone?demo-title=eve+Sanity+Copilot&demo-description=Manage+Sanity+from+Slack+with+GROQ+queries%2C+draft+edits%2C+schema+changes%2C+release+workflows%2C+and+Notion+drafting+through+eve.&project-name=sanity-copilot-eve-template&repository-name=sanity-copilot-eve-template&repository-url=https%3A%2F%2Fgithub.com%2Fvercel-labs%2Fsanity-copilot-eve-template%2Ftree%2Fmain&connect=%5B%7B%22type%22%3A%22slack%22%2C%22env%22%3A%22SLACK_CONNECTOR%22%2C%22triggers%22%3Atrue%2C%22triggerPath%22%3A%22%2Feve%2Fv1%2Fslack%22%7D%2C%7B%22type%22%3A%22sanity%22%2C%22env%22%3A%22SANITY_CONNECTOR%22%7D%2C%7B%22type%22%3A%22notion%22%2C%22env%22%3A%22NOTION_CONNECTOR%22%7D%5D&stores=%5B%7B%22type%22%3A%22blob%22%2C%22access%22%3A%22private%22%7D%5D&demo-image=%2F%2Fimages.ctfassets.net%2Fe5382hct74si%2F3gka680p8he4z0VmNrWahp%2Fe9d96326919aa8978f24611330fd6669%2Feve-sanity-copilot-updated-3x.png"
---

# eve Sanity Copilot

Manage Sanity from Slack with GROQ queries, draft edits, schema changes, release workflows, and Notion drafting through eve.

# eve Sanity Copilot

eve Sanity Copilot is a Slack agent template for managing Sanity content and releases. Mention it in a thread or send a direct message to query content, edit drafts, or work on schemas. It can also turn source material into long-form Notion drafts, with selected changes waiting for human approval.

## What can you build with this template?

Build a copilot that answers content questions with GROQ and acts on your Sanity project. Ask which articles reference an outdated page, propose a field for a content type, or organize drafts into a release. Its instructions call for checking the schema and querying existing content before edits.

For drafting work, the copilot can read a Notion brief and create a new page for the result. A researcher supplies cited findings when the project lacks needed information. A separate reviewer checks finished drafts against a writing-quality rubric before the copilot proposes them.

## Why use this template?

The template connects the CMS workflow to the identity of the person asking. Default Sanity and Notion calls use that person's permissions, and configured approval rules pause selected changes in Slack. Those controls are useful criteria when choosing the best AI agent for a content team.

You can build AI agents around your editorial process by editing the instructions and approval lists. Six skills from the [Sanity Agent Toolkit](https://github.com/sanity-io/agent-toolkit) cover Sanity practices, content modeling, Portable Text conversion and serialization, SEO/AEO, and experimentation. A separate writing rubric guides prose. These instructions guide artificial intelligence agents through CMS tasks.

## Why use eve on Vercel?

[eve](https://vercel.com/blog/introducing-eve) is an open-source AI agent framework. Its tools and skills let this copilot combine CMS operations with research and draft review.

[Vercel Connect](https://vercel.com/docs/connect) manages the default Slack, Sanity, and Notion connections. Blob and model access use the project's OIDC token. Private Blob holds per-user preferences and exported files or assets. Asset URLs identify files to the tools; they do not provide public downloads.

For more extensive house-style drafting, you can deploy the Content Agent separately and connect it as a remote subagent using OIDC between deployments.

## What should you know before deploying?

The [repository setup guide](https://github.com/vercel-labs/sanity-copilot-eve-template) covers provisioning Slack, Sanity, Notion, and private Blob storage. Users then authorize their Sanity and Notion accounts. You can test those services and Blob from the local terminal UI; Slack requires a deployment.

Review the configured approval lists when changing tools. Document patches, document publishing, and schema deployment are among the gated Sanity actions. Notion page updates and moves also wait for approval, while creating a new draft page is allowed without that prompt. Deleting stored assets requires approval too.

Optional Sanity Context adds read-only reference knowledge. It is disabled until `SANITY_CONTEXT_MCP_URL` and `SANITY_ORGANIZATION_TOKEN` are set. This connection uses a shared organization token, so all users see the endpoint's content regardless of their individual Sanity permissions. Scope that content before enabling it.

## Frequently asked questions

### Can teammates query Sanity without writing GROQ themselves?

Yes. They can ask a content question in Slack, and the copilot can generate and run the GROQ query. Its instructions require checking the actual project and schema, including document IDs and field names, before proposing edits.

### Can the copilot change a Sanity schema?

It can inspect the current schema and propose changes to content types or fields. The supplied schema-deployment tool policy requests human approval before deployment. Keep that policy in place when customizing the connection.

### How does the copilot handle releases and publishing?

The copilot can stage drafts into releases. Its instructions keep work in drafts until the user requests publication, and the configured document-publishing tool waits for approval. Approval depends on the named tools in the connection policy, so review that list when extending release operations.

### Does every Notion draft need approval before creation?

No. Creating a new Notion page is part of the normal drafting flow and is not approval-gated. Updating or moving pages requires approval. The agent returns a link to the draft for review in Slack.

### Whose credentials does the agent use, and can I change approvals?

Default Sanity and Notion connections use each person's Vercel Connect authorization. Edit the connection approval lists to choose which tools pause for a decision. Optional Sanity Context is a separate read-only connection using an organization token shared across users.

## Related resources

- [Manage Sanity from Slack](https://vercel.com/kb/guide/eve-sanity-copilot)
- [Deploy eve on Vercel](https://vercel.com/docs/frameworks/agents/eve)

## Related Templates

### [eve Data Analyst](https://vercel.com/templates/eve/eve-data-analyst)

Ask data questions in Slack and get Postgres-backed answers with charts and SQL evidence. Configure metrics, roles, and query approvals.

### [eve Marketing Team](https://vercel.com/templates/eve/eve-marketing-team)

Coordinate a marketing lead and five specialist agents in Slack, with Notion drafts, Typefully posts, and Resend email campaigns.

### [eve Content Agent](https://vercel.com/templates/eve/eve-content-agent)

Draft content in Slack with house-style skills and Notion sources. Revise in threads and approve new Notion draft pages before creation.

## Related Integrations

### [Sanity](https://vercel.com/marketplace/sanity)

The content backend for shipping sites, apps and agents faster.

---

## Additional documentation

The [Vercel Knowledge Base](https://vercel.com/kb) contains guides and answers to common questions about Vercel, including deployment, framework configuration, domains, caching, and troubleshooting.
