🎬 AI SEO Blog Automation for WordPress with featured images-End-to-End

⚑ 4,692 views · 🎬 Content Creation & Video

Description

Quick overview

One n8n workflow that turns a keyword into a publish-ready WordPress draft: live SERP research, a section-by-section article with real citations and internal links from your own sitemap, a 100-point SEO score with automatic revision, plus tags, category, excerpt and a featured image.

How it works

  1. You submit a built-in n8n form with your keyword, target word count, number of sections, writing style, site URL, and a short description of your site and audience.
  2. A keyword strategist agent turns that keyword into a plan: search intent, content type, content angle, and three secondary, five long-tail and five semantic keywords.
  3. A research agent running on a live-search model reads what actually ranks today, collects five real questions searchers ask, and answers them with genuine source URLs it retrieved.
  4. An outline planner assigns each keyword and each research question to exactly one section, so nothing is repeated and nothing is stuffed.
  5. Each section is written by its own model call with only its own assignments, its own word budget and its own sources, using a whitelist of safe HTML tags.
  6. An editor fetches your site’s sitemap, links three to six genuinely relevant internal pages inside the text, then writes the introduction, the conclusion and a Resources list of every cited source.
  7. A grader scores the finished HTML from 0 to 100 across keywords, structure, links, readability and length, and returns a specific fix list for every point lost.
  8. Anything below your threshold gets one revision pass, then the post is published to WordPress as a draft with its category, four get-or-create tags, excerpt and optional featured image already attached.

Setup

  1. Create an OpenRouter API key with some credit on it, and generate a WordPress Application Password for a user with the Editor or Administrator role.
  2. Import the single workflow JSON file into n8n; all 64 nodes and the eight sticky notes that document each stage arrive together.
  3. Attach your OpenRouter credential to the two model nodes, Mini LM and Research LM, and set Mini LM’s model explicitly to a mini-class model.
  4. Attach your WordPress credential to the nine publish nodes: get-tags, set-tags, Upload Image To WP, Update Media Meta, both Post Blog nodes, Set Featured Image and both Set Excerpt nodes.
  5. Open the configuration node and set min_seo_score, the score below which an article gets a revision pass; 75 is a good starting point.
  6. Run a test, open the form URL, and submit a keyword plus your site URL with a trailing slash, which every WordPress call depends on.
  7. Check WordPress drafts for the finished post, then activate the workflow so the production form URL goes live.

Requirements

Customization

Additional info

πŸ”— Nodes Used

Edit Image, Google Sheets, HTTP Request, Wordpress, Stop and Error, Schedule Trigger

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup