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.
Instant download · free updates to the workflow file · no coding
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.
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
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.
-
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) -
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 -
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.
-
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 -
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.
-
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.
-
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.
-
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.
-
09
Featured image — optional
Flip one dropdown to
true: the workflow writes a photographic image prompt from the article, generates it withgpt-image-1at 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 tofalseand the whole branch is skipped — no OpenAI key needed at all. -
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.
-
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.
What you get
One file to import. No sub-workflows to wire together.
BlogContentCreation_v3.json
The complete workflow. Import it into n8n, attach credentials, submit the form.
installation_file.md
Step-by-step setup: credentials, the sitemap field, thresholds, the image toggle.
README.md
How each stage works and which fields to change to make it yours.
Blog Automation.xlsx
The optional queue sheet — one row per planned post, score and live URL written back.
Requirements
No coding. Import one JSON file, attach credentials, submit a form.
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.
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.
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.
Deliberate. Fully automated publishing is one dropdown away, but AI writing an article and pushing it live unread is how sites get hurt.
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.
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
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
More from mohawk36
Other things I've built.
Same approach — one importable file, an honest README, and no pretending the hard parts are solved.
🤖 Freelancer.com Auto-Bidder
Four n8n workflows that search Freelancer.com, score projects with AI, and ask you in Telegram before they bid.
$25 View product🛠️ One-Hour Automation Support
Stuck on an n8n workflow, an API, or an integration? Book an hour and we'll troubleshoot, optimise, or build it with you.
$25 Book a sessionBrowse the whole shop
Every workflow and service in one place.
mohawk36.gumroad.com