+
Write to Sanity when you approve
Approved articles become documents of your own type in your Sanity dataset, with the title, slug, body, summary and date mapped to your schema's fields.
What the AI Marketer does with Sanity
- Creates a document of the type you choose for each approved article.
- Maps title, slug, body, summary and date to your schema's fields.
- Publishes now or at a time you pick.
How to connect
- 1In Sanity, create an API token with Editor access.
- 2Open Integrations in BeforeQuery, choose Sanity, and enter the project ID, dataset and token.
- 3Pick the document type and map the fields.
Access and security. Only workspace owners and admins can connect it, and one connection serves the whole workspace. Keys and tokens are stored encrypted and never shown again. Delete the token in Sanity at any time to cut access.
Questions
Does it need a special schema?
No. Pick your own document type and map the title, slug, body, summary and date fields to it.
What access does the token need?
Editor, so it can create documents in the dataset you choose.
Which datasets can it write to?
The one you enter when you connect.
Put your marketing to work
Enter your website and your AI Marketer starts with a read of your site, an SEO audit and a strategy. Free to start.
