AI Blog Engine
$39
Get the workflow
n8n workflow · one JSON file

One keyword in. A publish-ready WordPress draft out.

Researched against live search results, internally linked to your own pages, graded against a 100-point SEO checklist, and delivered to WordPress with tags, category, excerpt and a featured image already attached.

Be the first to review

Instant download · free updates to the workflow file · no coding

Overview of the AI Blog Engine n8n workflow canvas
34copies sold
10pipeline stages
100point SEO grade
1file to import

Why this exists

Most AI blog automations are one giant prompt.

Keyword in, article out, publish. You get a wall of generic text, invented statistics, zero internal links, no category, no tags, and no idea whether any of it is optimised for anything. This splits the job into the steps a real SEO writer actually takes.

The one-prompt approach

Generate 1500 words about X

  • Statistics and source URLs the model invented
  • No internal links — it has never seen your site
  • Everything lands in Uncategorized
  • One-word tag junk, or no tags at all
  • No idea whether the output is any good
This workflow

A pipeline where every step is checked

  • Citations only from URLs the research step retrieved
  • Internal links pulled from your real sitemap
  • Category chosen from your real WordPress categories
  • Long-tail tags, get-or-create, never duplicated
  • Scored 0–100, revised if it falls short

How it works

Ten stages. Each one has a single job.

Every section of the article is written on its own, with its own assigned keywords and its own questions to answer. Nothing writes 1200 words in a single breath.

  1. 01

    Trigger — a built-in n8n form

    Keyword, word count, number of sections, writing style, your site URL, and a description of your site and audience. Open the URL, fill it in, done. An optional Google Sheets queue runs it on a daily schedule instead — one row per planned post.

    n8n FormSheets queue (optional)
  2. 02

    SEO research against live search

    Keyword Strategy turns your keyword into search intent, content type, angle, plus 3 secondary, 5 long-tail and 5 semantic keywords. SERP Research runs on perplexity/sonar — a live-search model — and reports what ranks today, 5 real questions searchers ask, and the gaps you can fill.

    perplexity/sonarreal source URLsseoContext
  3. 03

    Outline with keyword distribution

    The planner assigns each keyword to exactly one section and each research question to exactly one section. No keyword stuffing, no section repeating what the last one said.

  4. 04

    Section-by-section writing

    Each section is written by its own agent call, with only its own assignments, its own target word count and its own sources. Output is restricted to a whitelist of HTML tags — nothing that will break your theme.

    h2h3pul / ol / listrong / ema
  5. 05

    Editing and internal links from your sitemap

    The Editor fetches your site's sitemap, picks 3–6 genuinely relevant internal pages, and links them on natural anchor text inside existing paragraphs. Then it writes the intro with the primary keyword in the first paragraph, the conclusion, and a Resources list of every cited source. It cannot link to a page that doesn't exist.

  6. 06

    The SEO quality gate

    A grader scores the finished HTML 0–100 across five categories. Below your threshold and a Reviser applies the grader's specific fix list — what to change and where — in one pass. One pass, not a loop: quality improves, cost stays capped and predictable.

  7. 07

    Metadata that's actually valid

    Title 50–65 characters with the primary keyword, clean slug, 40–60 word excerpt. Category is chosen from your real WordPress categories — the agent calls your site's category endpoint and must return an ID that exists.

  8. 08

    Tags — get-or-create, not duplicate-or-fail

    Four long-tail, hyphenated tags (never one-word junk like "seo"). For each: search your WordPress tags, reuse the ID if it exists, create it with a description if it doesn't, collect the IDs, apply them to the post. Your taxonomy stays clean no matter how many posts you run.

  9. 09

    Featured image — optional

    Flip one dropdown to true: the workflow writes a photographic image prompt from the article, generates it with gpt-image-1 at 1536×1024, resizes to a web-friendly 1200×800, uploads it to your Media Library with alt text, and sets it as the featured image. Set it to false and the whole branch is skipped — no OpenAI key needed at all.

  10. 10

    Publish as a draft

    The post lands in WordPress as a draft, with content, slug, category, tags, excerpt and featured image already set. You read it, you decide, you hit publish. One field change makes it publish automatically if you want that.

The quality gate

The part that separates it from a prompt in a box.

The finished HTML gets scored before anything reaches WordPress. Score below your threshold — default 75 — and the Reviser fixes exactly what the grader flagged. The final score is stored on the post and written back to your queue sheet, so you can see which keywords produce weak articles.

75 default revision threshold
  • Exactly one <h1>, correct heading hierarchy below it
  • Keywords placed where they belong, not stuffed
  • Internal and external links present and real
  • Readable paragraphs — no unbroken walls of text
  • Length matches the brief you submitted

Be clear about what a score means. The grader is an LLM, not Google. A 92 means the article satisfies a strict on-page checklist. It's a real quality floor — not a ranking prediction.

The five scoring categories used by the SEO grader
The five scoring categories

What you get

One file to import. No sub-workflows to wire together.

json

BlogContentCreation_v3.json

The complete workflow. Import it into n8n, attach credentials, submit the form.

md

installation_file.md

Step-by-step setup: credentials, the sitemap field, thresholds, the image toggle.

md

README.md

How each stage works and which fields to change to make it yours.

xlsx

Blog Automation.xlsx

The optional queue sheet — one row per planned post, score and live URL written back.

The files included with the AI Blog Engine workflow
Everything in the download

Requirements

No coding. Import one JSON file, attach credentials, submit a form.

n8n
Cloud or self-hosted, with the LangChain / AI nodes
Required
OpenRouter API key
Runs every writing and research agent
Required
WordPress site
REST API plus an Application Password
Required
OpenAI API key
Only if you want featured images
Optional
Google account
Only for the scheduled queue sheet
Optional
Cost per article
10–15 model calls; all but research on a cheap mini model
Your keys

Everything except the research step runs on a cheap mini model. The featured image is the most expensive single item — turn it off and the run costs cents. Swap the model on one node to trade cost for quality.

Honest limitations

I'd rather you know before you buy.

Keyword data is AI-derived, not Ahrefs.

There's no search-volume or keyword-difficulty API here. The strategy agent uses live SERP research and its own judgement. Use it to structure articles, not to replace a keyword tool.

Internal linking needs a sitemap.

The Editor fetches page-sitemap.xml (the Yoast / Rank Math layout). Different SEO plugin, different filename — it's one field to change, covered in the install guide. No sitemap, no internal links, and the grader docks you 10 points.

Posts publish as drafts by default.

Deliberate. Fully automated publishing is one dropdown away, but AI writing an article and pushing it live unread is how sites get hurt.

It sets the WordPress excerpt, not your SEO plugin's meta description.

Many themes and plugins use the excerpt as the meta description; if yours doesn't, that field stays empty.

gpt-image-1 requires a verified OpenAI organisation.

If yours isn't verified, image generation returns a 403 — use the no-image path, or swap the node.

One article per run.

By design — quality per post, not volume. Use the queue sheet if you want one a day on a schedule.

FAQ

Questions worth answering first.

Does it work on n8n Cloud?

Yes. Self-hosted works too, as long as the AI nodes and the Edit Image node are available in your build.

Can I change the writing style?

Yes — there's a Writing Style field on the form, and every agent's system prompt is a plain text field you can edit.

Can I use a different model?

Yes. Every agent hangs off two model nodes — swap the model name once and the whole workflow follows. The research node is set to perplexity/sonar because it searches live; keep that one.

Does it work on a brand new site with no pages?

It'll write and publish fine, but with no sitemap pages to link to, the internal-links score drops and the article may sit under the revision threshold. Best on a site with existing content.

Can I run several keywords at once?

Submit the form again, or enable the Google Sheets queue and add rows.

What if the article scores badly?

It's revised once, then published as a draft with the score attached. You'll see the score before you publish anything.

What about support and updates?

Questions, or a workflow that won't import — message me through Gumroad. Includes free updates to the workflow file.

Get started today

✍️ AI Blog Engine for WordPress — n8n Workflow

$39 one-time · instant download

Import the file, connect OpenRouter and WordPress, and your first researched, linked, graded draft is waiting in wp-admin.

  • The complete workflow as one importable JSON file
  • Installation guide and README for every stage
  • The optional scheduled queue sheet
  • Free updates to the workflow file, and support through Gumroad
$39 one-time · instant download
I want this