Automated SEO content has a reliability problem that looks like a writing problem. The sentences are fine. The facts are not.

I have watched drafts invent plan names, cite outdated prices, describe integrations that do not exist, and summarize a competitor from a half-remembered landing page. If that output lands on a production domain, you now have a search-indexed liability. The fix is not a sterner system prompt. The fix is a pipeline with a source of truth, an explicit research step, and a review gate that can block publish.

This is a practical design for that pipeline. It is the same shape whether you wire it with scripts or use a content platform.

Start from the website, not from a keyword list

Keyword lists are easy to generate and weak as a foundation. If the system does not know the product, it will write around the query instead of from the business.

Crawl your own site first. At minimum, store:

  • Canonical URLs, titles, and a short summary of each important page
  • Approved product claims and a list of claims that are out of bounds
  • Pricing and plan language copied from the live page, with a fetched-at timestamp
  • An image list you have the right to reuse
  • Existing article slugs, so new drafts can link inward without guessing

A person should review this brief before any article is generated. That review is faster than correcting the same product error in twelve drafts.

The keyword plan comes second, and it should be approved as a strategy, not imported as a raw export from a rank tracker. Group queries by intent and assign a future URL or content type to each cluster. If two queries belong on one page, say so now. Duplicate articles on near-identical keywords are how automated blogs get messy.

Research the current SERP on every run

A draft that never looks at what already ranks usually misses the actual question. Before writing, fetch the top organic results for the target query and ignore ads. Record:

  • The questions those pages answer
  • The headings they share (these often reflect intent)
  • Gaps: outdated advice, missing steps, missing constraints, missing examples
  • Claims that would need a primary source if you repeated them

This snapshot should be stored with the draft. Six weeks later, when someone asks why the article is structured a certain way, you want the research artifact, not a guess.

Do not paraphrase the top result and call it original. Use the SERP to understand intent, then write from your product facts and your own process.

Emit an article package, not a blob of Markdown

Publishing is more than a body. If your job only writes prose, a human has to reconstruct the rest, and that hidden work is where the process dies. Have the pipeline emit one bundle:

  • Title and slug
  • Meta description
  • Body
  • Tags or categories
  • Suggested internal links, each with a live URL
  • Image choices from your own library, with alt text
  • The target keyword and the research snapshot

For WordPress specifically, decide early how the bundle enters the CMS: a draft post via the REST API, a plugin, or a manual paste into a draft. Auto-publishing can be useful once the review path is real. It is a bad default on day one. If you want a WordPress-oriented walkthrough of that publish step, this guide on auto-publishing to WordPress covers the operational trade-offs.

Put a hard gate in front of production

The state machine can be simple:

brief_approved → topic_approved → researched → drafted → approved → scheduled/published

The important part is that drafted cannot jump to published without a human. The reviewer should check a short list, not "read for vibe":

  1. Does the piece answer the query in the first screen of content?
  2. Do product names, prices, limits, and integrations match the live site?
  3. Is every specific number or quote attributable?
  4. Do all links resolve and point to the thing the anchor text describes?
  5. Would you accept this paragraph being quoted by an answer engine?

If item 2 or 3 fails, the draft goes back. It does not get "a light edit and ship."

This is also where you decide what must never be automated. In regulated industries, legal pages, pricing tables, and security claims should stay manual. A content engine can still draft educational articles around those constraints.

Measure the system, not just the word count

A pipeline that produces twenty unreviewed drafts is not more successful than one that publishes a single accurate article. Track:

  • Time from approved topic to approved draft
  • Review rejection reasons (facts, intent, links, tone)
  • Share of drafts that need factual rewrites
  • 404s or bad internal links caught before publish
  • After publish: impressions, clicks, and, increasingly, whether the page is cited or summarized in AI answers

You will learn more from rejection reasons than from throughput. If the same pricing error appears twice, the dataset is stale. If drafts keep missing intent, the research step is too thin. If reviewers rewrite everything, the brief is wrong or the model is being asked to invent.

For a broader view of how these jobs sit together, I use this content operations guide as a reference for the non-code parts of the workflow.

A note on tools

I work at Northleaf Studio on AgentBooks, a system that crawls a site, keeps a brand brief, researches organic results, and prepares article packages for approval. The product is one implementation of the pipeline above. You can build a smaller version with a crawler, a document store, a model API, and your CMS.

Either way, keep the incentives clean. The goal is not more URLs. The goal is a site that can keep publishing without quietly corrupting its own facts. Build the source of truth, store the research, and do not let a draft reach production because the queue looked impressive.