Skip to content
BLOG AI home

For Strapi and headless sites

Blog AI for Strapi

For teams whose marketing site runs on Strapi, the open-source headless CMS. Blog AI finds what to write from your Search Console data, drafts posts in your voice with checked sources, and publishes them into your own posts collection, whatever its fields are called, with the SEO title, description, canonical, featured image, category, tags and author filled in.

You connect with an API token. No plugins to install, and your front end stays yours.

What Blog AI writes into Strapi

Blog AI publishes to the collection you choose and fills only the fields you map. A title and a body are required; everything else is filled when your schema has a place for it.

FieldWhat goes in it
Title and bodyRequired. The body goes in your field's own format: Markdown, Strapi's Blocks rich text or long text. Key takeaways and the FAQ go in the body as sections.
SlugA UID or text field. Set on first publish and never changed afterwards.
ExcerptA short summary, shortened to your field's maximum length.
Meta title, meta description, canonical URLText fields, including fields inside an SEO component (shown as seo.metaTitle). On updates, the component's other fields are kept.
Featured imageUploaded to your media library as WebP, with its alt text.
Categories and tagsMatched to your own entries by name. A single-relation field gets one category; a subcategory goes as its own name.
AuthorThe author entry you choose, or a text field with the post's author.

Connect Strapi in six steps

  1. Step 1: Create an API token in Strapi

    In your Strapi admin, go to Settings, then API Tokens, and create a token. Full access is simplest (Blog AI can then read your exact field types). A custom token works too: find, findOne, create and update on your posts collection, find and create on categories and tags, find on authors, and upload for images. Copy the token when Strapi shows it.

  2. Step 2: Add the site in Blog AI

    Sign in to Blog AI with Google, open Sites and choose Strapi. Enter a name, your public website address (where readers see the blog), the address of your Strapi server without /api at the end, and the API token.

  3. Step 3: Choose your collection and fields

    Blog AI lists the collections it finds, blog-like ones first, and picks the obvious one. It then matches each part of a post (title, body, excerpt, SEO fields, featured image, category, tags, author) to one of your fields, including fields inside components. Change any match, or set it to Don't fill.

  4. Step 4: Set the post address pattern

    Tell Blog AI where each post appears on your website, with {slug} where the post's slug goes, for example https://example.com/blog/{slug}. If you leave it empty, Blog AI uses your website address followed by /blog/{slug}.

  5. Step 5: Test the connection

    Blog AI checks that the token can read your collection and may create and update entries, upload images and add categories and tags, without saving anything. If the token is refused or the address is wrong, the test says which, so you can fix it before anything is written.

  6. Step 6: Import your posts (and, optionally, your pages)

    Blog AI imports your published posts, in batches on a large blog, to learn your voice and link to them. If your pages live in their own collection, add its name under Fix connection to import them read-only for the content audit.

Why headless sites fit Blog AI well

A headless CMS keeps content separate from the website that shows it. That’s good for developers and awkward for marketers: every post needs its SEO fields, image and relations filled in by hand in the admin panel, and nobody checks whether it worked.

Blog AI fills those fields for you and then measures the result. Because each post has a known public address (from your post address pattern), its clicks, impressions and visits show on the post page with a marker for the day it was published or refreshed. The same goes for posts you imported: once they’re matched, the content audit gives each one a recommended action.

Our own blog reads from Strapi, and we’re moving its publishing onto this same connector, as a normal Blog AI customer. The connector was built against the article schema we use ourselves, so if you’re starting a new Strapi blog, copying that shape (the fields in the table above) gives you every field Blog AI can fill.

After you connect

Your voice, from your own articles

Blog AI imports your published articles, whether their body is Markdown or Strapi’s blocks format, with their relations and cover image. With 3 or more, it learns your voice. Posts Blog AI published itself are never overwritten by a later import.

Pages for the audit (optional)

Strapi has no standard pages type, so Blog AI doesn’t guess. If your pages live in a collection such as pages, add its API name under Fix connection on the Sites page. Blog AI checks that it can read it, then imports the pages read-only: their text (from a body or content field, or the text inside block and section zones) and SEO fields. Pages are never written back to Strapi.

Updating live posts

Edit a published post in Blog AI and click Update live post to send the change to Strapi. When you accept a refresh, Strapi is updated first and Blog AI saves its copy after. If someone changed the article in Strapi since Blog AI last sent it, Blog AI stops and asks you to re-import rather than overwrite their edit.

Scheduling

Strapi’s API has no “publish later”, so scheduled posts wait in Blog AI and are created in Strapi at the time you pick, within a few minutes. They show on the Blog AI calendar until then, not in your Strapi admin.

What it costs

The connection is free: importing, publishing, scheduling and updating cost nothing. Credits pay for the AI work.

ActionCredits
A batch of post ideas1 credit
A researched, fact-checked blog post3 credits
A generated image1 credit
A post refresh (rewrite of the parts that need it)2 credits
A full rewrite of a post in your site's voice3 credits
Merging overlapping posts into one3 credits
Better title & description in Google (when your search data shows it's needed)Free
Publishing, scheduling, editing, uploadsFree

What it doesn’t do

  • It doesn’t change your content types, roles, plugins or front end.
  • It doesn’t rebuild or redeploy your website. If your site caches Strapi content, it shows new posts on its usual schedule.
  • It publishes to the posts collection you chose only; it never writes to your pages.
  • It doesn’t publish anything until you publish or schedule it.
  • It can’t read a Strapi server that isn’t reachable over https from the internet.

Questions about Strapi

Which versions of Strapi work?

Strapi 5 and Strapi 4, through the REST API with an API token. The server must be reachable at a public https address.

Do I have to change my content types?

No. Blog AI needs a collection with a title field and a body field: Rich text (Markdown), Rich text (Blocks) or long text. Every other field is optional. You choose which of your fields gets each part of a post, and anything you leave unmapped is simply not sent.

My posts collection isn't called articles. Can I still connect?

Yes. Any name works (articles, blog-posts, insights…). Blog AI lists your collections when you connect and suggests the one that looks like a blog; if it isn't listed, type its API ID.

How does scheduling work without native scheduling?

Strapi has no built-in way to publish at a future time through its API, so Blog AI holds a scheduled post and creates it in Strapi when the time comes. Scheduled posts go out within a few minutes of the time you pick. If the post fails, you get an email with the reason.

Will my website show the new post straight away?

That depends on your front end. Blog AI writes to Strapi; your site shows the post when it next fetches from Strapi. If your site is statically built or cached, you may need a rebuild or revalidation hook in Strapi, as you would for a post written by hand.

What does the Strapi connection cost?

Connecting, importing, publishing, scheduling and updating live posts cost nothing. Writing a new post costs 3 credits; the table on this page lists every paid action.

Start with the data you already have

Sign in with Google, no card needed. The free plan includes a content audit and one free post once Search Console has synced and you've set your voice. Plans from $49/month.