Publish Sanity blog articles from Voholabs Studio
Studio can publish your Sanity blog on a schedule. Connect your project with its project ID, dataset and an Editor API token, write the article in Sanity as usual, then press Schedule on it in Studio, and Studio publishes the draft at the time you pick.
Sanity is a content platform many teams use for their blog. Studio treats a Sanity project as a channel: a scheduled post publishes an article instead of a social post.
What do I need before I connect?#
- A Sanity project that holds your blog, and permission to create API tokens in it.
- The project's dataset name, usually
production.
How do I connect Sanity?#
- Choose Add Channel and click Sanity. The panel Connect your Sanity project opens.
- Open sanity.io/manage and click the project your blog comes from.
- Copy the Project ID from that page (the short code at the end of the address) and paste it into Studio. Pasting the whole address also works.
- Enter the Dataset. It is usually
production. - In the same Sanity project, open API › Tokens › Add API token, give it the Editor role, and paste it into API token in Studio. Sanity shows the token once, so copy it straight away.
- Connect. The channel is named after your project and dataset, for example "Blog (production)".
How do I schedule an article?#
- Write and save the article in Sanity as a draft.
- In Studio, create a post on the Sanity channel. Studio lists the articles in your project with their state, Draft or Published.
- Find the article and press Schedule on it. There is nothing to fill in, because the content lives in Sanity.
- Pick the date and time.
At that time Studio sets the article's publish date to the moment it goes out and publishes the current draft. The post in Studio then links to the live article on your site.
What does Studio check before it schedules?#
Studio stops you if the article no longer exists, has no title, or references a document that was deleted. It warns, without stopping you, when other fields are missing.
What happens if I change the article after scheduling?#
Keep editing the draft in Sanity. Studio publishes whatever the draft holds when the time comes. If there is no draft at that moment, nothing changes on your site.
Which content does the preview show?#
Studio's preview of an article shows headings, paragraphs, quotes, lists, bold, italic, code and links, images with alt text and captions, code blocks, callouts, and embeds from YouTube, TikTok and LinkedIn. Other links show as link cards, and block types the preview does not know are left out of the preview.
Frequently asked questions
- Do I write the article in Studio?
No. Articles are written in Sanity. Studio lists the articles in your project and schedules their publication, so your blog goes out on the same calendar as your social posts.
- Why does my token need the Editor role?
Publishing writes to your dataset. A Viewer token connects, but publishing fails when the article is due. Give the token the Editor role, or another role with write access.
- What happens if I delete the scheduled post in Studio after it published?
Studio unpublishes the article in Sanity and keeps it as a draft, so nothing you wrote is lost.
- Which Sanity documents can I schedule?
Document types that have a Portable Text body and a publish date field, which is how most blog schemas define an article.
- Can my AI agent work with Sanity?
Yes. When a Sanity channel is connected, an agent connected over MCP can query, create, edit and publish documents in that project through Studio. Scheduling stays with Studio, so the agent schedules through Studio rather than through Sanity.