n8n automation

Automated SEO landing pages in WordPress, built with AI

An n8n workflow takes a keyword from a sheet, analyses the search results, plans the structure and writes a landing page with links to your existing pages. The finished page lands in WordPress as a draft for you to approve.

Google Search Console · OpenRouter · WordPress REST API · Google Sheets

In short

Automated SEO landing pages in WordPress is an n8n workflow that turns a list of keywords in a sheet into ready page drafts: it analyses each keyword and its search results, lays out a structure, writes the copy, polishes the style and adds links to your existing pages. The links come from data, not from the model’s imagination: Google Search Console and your sitemap. It’s built for companies and agencies with a long list of services, locations or product use cases that each need their own page, without writing every one from scratch. The page goes into WordPress through the REST API, as a draft for your approval by default.

Workflow

This is the workflow in n8n

A simplified, interactive version of our workflow. Drag the nodes and run it to watch the data flow.

Drag the nodes · click “Run”

Execution log

    SEO landing page → WordPress: Search Console and sitemap → keywords from a sheet → AI analyses the keyword and SERP → structure, copy, editing → WordPress draft → status in the sheet

    Screenshot from the build

    The full workflow in our n8n

    A real, unedited screenshot from the n8n editor. The interactive version above is simplified; here you can see every node, branch and error path.

    Full size
    n8n workflow: AI SEO landing pages for WordPress
    Workflow in n8n. Built by Bartłomiej Chwajoł.

    Sound familiar?

    What this solves

    You have a keyword list, but every new page means fresh research and writing from scratch.

    The workflow does the research and the first version: it analyses the keyword’s intent and the search results, plans the sections, writes the copy and runs it through a separate editing pass. You get a draft to refine.

    New pages go live with no internal links and get lost on the site.

    The workflow pulls URLs from Search Console and the sitemap, picks relevant pages and weaves links into the copy. The new page is connected to the rest of the site from day one.

    Mass-produced AI pages are a risk to quality and to visibility.

    Each page gets its own keyword analysis and structure, and lands in WordPress as a draft by default. You publish only what you’ve read and judged useful to visitors.

    How it works

    Step by step

    1. 01

      Schedule and site data

      The workflow starts at a set time and, in parallel, fetches pages from Google Search Console, URLs from the sitemap and the project address.

    2. 02

      Internal link map

      The URLs are merged, filtered down to posts and pages and ranked into a priority list for the AI to use later.

    3. 03

      Keywords ready to go

      Rows marked “ready” are read from the sheet. A filter and a loop handle them one at a time.

    4. 04

      Keyword and SERP analysis

      AI via OpenRouter assesses the keyword’s intent, and the workflow fetches search-results data through an API. That shapes which pages become link targets.

    5. 05

      Page structure

      The next AI step lays out headings and sections, including slots for an FAQ and calls to action. A parser keeps the format in check.

    6. 06

      Copy and editing

      AI writes the copy to the structure, and a separate pass edits it, cutting repetition and stilted phrasing.

    7. 07

      Links and the WordPress payload

      The copy is merged with the internal links and turned into a payload for the WordPress REST API. An IF node checks the payload is complete.

    8. 08

      WordPress draft and status

      An HTTP Request creates the page as a draft or a published page. The sheet gets a success status or an error description.

    Implementation details

    Pages built around long-tail keywords, such as a service in a specific city or a product for a specific use, only make sense if each one answers a different question and adds something. This workflow automates the tedious part: research, structure, a first draft and internal linking. Whether the page is good enough is left for you to judge.

    In line with Google’s rules. Google treats mass-producing pages mainly to rank, with no value for users, as spam, whether a person or AI writes them (see Google’s spam policies). So this workflow isn’t a machine for hundreds of near-identical pages. Each page starts with an analysis of a specific keyword and lands in WordPress as a draft by default. You add what the AI can’t know: case studies, photos, your team’s experience, the details of your offer.

    Links from data. The model doesn’t guess URLs. The link list is built from Google Search Console and your sitemap, filtered down to posts and pages and ranked by priority. The AI picks topically relevant pages from that list and code inserts the links, so you don’t end up with links to pages that don’t exist.

    Several stages, not one prompt. Keyword analysis, structure, copy and editing are separate steps with their own parsers. That makes weak spots easy to find: if the structures are good but the style is off, we only touch the editing prompt.

    Statuses and errors. Before anything goes to WordPress, an IF node checks the payload has a title, content and the required fields. The API response is checked again, and the sheet gets a success status or an error description. The workflow connects to WordPress with an application password on an account with limited permissions.

    For how to build a page that doesn’t just rank but sells, read how to build a landing page that converts. On visibility in AI answers, see our piece on GEO, and if you need a content strategy, that’s part of our SEO and GEO service.

    01

    Integrations

    • n8n
    • Google Search Console API
    • OpenRouter
    • SERP API
    • WordPress REST API
    • Google Sheets
    02

    What you need

    • A WordPress site and an account with an application password allowed to create pages
    • Google Search Console access for the domain
    • An XML sitemap (from an SEO plugin or WordPress itself)
    • A sheet of keywords with page type and status
    • An OpenRouter key and access to a search-results data API
    • Brand guidelines: tone, banned promises and facts about your offer the AI may use
    03

    How we tailor it

    • Your own page template with Gutenberg blocks or ACF fields
    • Different page types: service, location, product use case, comparison
    • Structured data and an FAQ section added along with the copy
    • Approval on Slack with a link to the draft
    • A Search Console report on new pages a few weeks after publishing

    FAQ

    Frequently asked questions

    Won’t Google penalise pages written with AI?

    Google judges the quality and usefulness of content, not the tool used to write it. The problem is mass-producing pages that offer users nothing and exist mainly to rank. That’s why the workflow creates drafts for you to edit rather than auto-publishing hundreds of similar pages.

    Does the page publish itself?

    Not by default; it goes into WordPress as a draft. You can switch on auto-publishing for selected page types, but we suggest doing so only once several batches of drafts have passed your review without major edits.

    How does the workflow know what to link to?

    From your site’s own data: it fetches URLs from Google Search Console and the sitemap, filters them and ranks them by priority. The AI picks topically relevant pages from that list, so every link points to a page that exists.

    Will it work with my WordPress theme?

    The workflow creates pages through the WordPress REST API, so it works with any theme that displays standard page content or blocks. With page builders that store layouts in their own format, we adapt the payload or use a template with fields to fill in.

    Do you guarantee Google rankings?

    No. Nobody can guarantee Google rankings. The workflow speeds up building well-planned pages with internal links, but results depend on content quality, competition and the health of your whole site.

    Get a quote

    Want this in your business? Tell us what it should do.

    Describe your process and the tools you use. We reply within one business day with an implementation plan.

    What do you need?

    Goal, deadline, links to inspiration — the more specifics, the more accurate the quote.

    Other builds

    More n8n automations

    1. 01 AI songs for YouTube OpenRouter · fal.ai · YouTube Data API · Telegram An n8n workflow takes an idea from the queue, writes the lyrics, generates a song with vocals, cover art and a video, then sends you a preview on Telegram. Nothing reaches YouTube until you approve it.
    2. 02 Allegro listing optimisation with AI Allegro REST API · OpenAI · Google Sheets · Gmail Every hour, an n8n workflow takes the next offers from a sheet, pulls their data and category parameters from the Allegro API, and AI writes a new title and description. Changes reach Allegro only after validation, and every offer is backed up first.
    3. 03 AI email assistant on Telegram IMAP · OpenAI · Telegram Bot API · SMTP An n8n workflow reads your inbox, filters out spam and sends the emails that matter to Telegram. You record a voice note with your answer, AI turns it into a finished email, and one button sends, revises or discards it.
    4. 04 AI-personalised email & SMS n8n · OpenAI / OpenRouter · Google Sheets · SMS gateway An n8n workflow pulls contacts from a Google Sheet, writes each person their own message, sends the email and, for mobile numbers, an SMS too. The sheet shows you straight away what went out and what was delivered.
    5. 05 Multichannel product listing WooCommerce REST API · Allegro API · Erli API · OpenAI You enter the product data once, and an n8n workflow picks the category on each platform, writes the copy, prepares the images and creates the product in WooCommerce plus offers on Allegro and Erli. At the end you get one record with the result from every channel.
    6. 06 AI WooCommerce product translation WooCommerce · WordPress REST API · OpenAI · Google Sheets An n8n workflow takes untranslated products from a queue, and AI translates their titles, descriptions, attributes and SEO meta into the languages you choose. Each result is checked for completeness and length before it reaches your store.