Integration

AI Blog Writer for Sanity CMS

ContentEngine is the only AI content platform with native Sanity CMS integration. Generate blog posts, map fields automatically, and publish drafts directly to your Sanity project - no copy-pasting required.

How the Integration Works

Three steps from connection to your first published draft.

1

Connect Your Project

Enter your Sanity project ID and dataset in ContentEngine settings. We authenticate securely using your Sanity API token with write permissions.

2

Map Your Fields

ContentEngine reads your Sanity schema and automatically maps generated fields (title, body, slug, meta description) to your document type fields.

3

Generate and Publish

Create content using the AI pipeline and click publish. Your draft appears in Sanity Studio instantly, ready for review and final approval.

Supported Features

One-Click Connection

Connect your Sanity project by providing your project ID and dataset name. ContentEngine reads your schema automatically and maps content fields without manual configuration.

Portable Text Support

Generated content is converted to Sanity's Portable Text format, preserving headings, lists, links, and formatting. Your content renders correctly in Sanity Studio and on your frontend.

Draft-First Publishing

All generated content is pushed as drafts to your Sanity project. Review in Sanity Studio, make edits, then publish when ready. Nothing goes live without your approval.

Webhook Integration

Set up webhooks to trigger content generation from Sanity events. When a new document is created or updated, ContentEngine can automatically generate related content.

Content Fields Mapped Automatically

Post title and SEO title
URL slug (auto-generated from title)
Full body content in Portable Text
Meta description for search engines
Excerpt or summary field
Categories and tags
Author reference
Featured image prompt
Social media snippets
Custom fields via schema detection

Ready to automate your content?

Join thousands of teams creating better content, faster.