Journal

n8n SEO Automation: Build a Review-Ready Content Workflow

Build an n8n SEO automation workflow with real nodes, a Search Console API example, WordPress draft mapping, error handling and a Starter usage estimate.

By Pankaj10 min read

n8n Cloud Starter includes 2,500 workflow executions a month, and one complete run counts once whether it contains three nodes or thirty. A lean team can use that allowance for weekly search research and create drafts only after an editor approves a topic.

An n8n SEO automation workflow connects triggers, APIs, a backlog and a CMS so recurring research and drafting steps run consistently. A practical first build separates scheduled opportunity collection from approval-triggered drafting, records the evidence behind each topic, and sends finished articles to WordPress as drafts. Editors retain the decision about what belongs on the site and when it is ready to publish.

Plan two workflows, not one long chain

Start with two workflows that pass work through a shared backlog. The first collects search opportunities on a schedule; the second starts when a person changes a topic’s status to approved. Separating them means a research run cannot accidentally create a batch of articles, and editors can approve topics individually.

For opportunity collection, a useful n8n sequence is:

  1. Schedule Trigger starts the workflow weekly.
  2. HTTP Request calls the Google Search Analytics API using an OAuth credential.
  3. Split Out expands the returned rows into individual records.
  4. Edit Fields maps each record into consistent backlog fields.
  5. Google Sheets appends the candidates to a shared sheet.

For drafting, use a Google Sheets Trigger to detect a changed row, followed by an IF node that checks whether status equals approved and draft_id is empty. The approved row can be sent to a research or writing step, then to a WordPress node configured to create a draft. The n8n template for SEO content creation also demonstrates Google Sheets, HTTP Request and WordPress in a workflow that uploads an article as a ready-to-edit draft.

Treat the WordPress draft as the output of the automation, not proof that editorial review has happened. The template describes a ready-to-edit draft; it does not document a human review step. A team that requires review should use the CMS draft status and its own editorial process to make that approval explicit.

Connect Search Console with an HTTP Request

The n8n pricing page doesn’t document a built-in Google Search Console node. A concrete route is an HTTP Request node using Google OAuth 2.0 credentials and the Search Analytics API’s query endpoint. Google documents the endpoint and request fields in its Search Analytics API reference.

For a verified property, the request can send a JSON body like this:

{
  "startDate": "2026-10-01",
  "endDate": "2026-10-31",
  "dimensions": ["query", "page"],
  "rowLimit": 250
}

Set the HTTP method to POST, use the API endpoint https://www.googleapis.com/webmasters/v3/sites/{siteUrl}/searchAnalytics/query, and replace {siteUrl} with the encoded property identifier. Configure the node to use its Google OAuth2 credential rather than placing a token in the request body. Google’s API documentation describes the required authorization scopes and request format.

The response contains a rows array. Each row can include keys, clicks, impressions, ctr and position; with the dimensions above, the first two keys values represent the query and page. After Split Out expands rows, Edit Fields can map keys[0] to query, keys[1] to page, and the remaining values to their matching sheet columns. Keep the date range and source property in separate fields so an editor can interpret the numbers.

A sheet row might use these headers: query, page, clicks, impressions, ctr, position, period, status, owner, draft_id. On the first workflow, set status to needs review; don’t set it to approved automatically. On the second, require both an approved status and an empty draft_id, so a later sheet update does not create a second draft for the same row.

Make the backlog useful to an editor

The sheet should explain why a topic is in the queue and give the editor a clear next decision. Keep API values separate from AI suggestions: search figures are reported data, while an intent label or recommended angle is an interpretation that should be reviewed.

A workable row can include:

  • The query, related page, source property and reporting period.
  • Clicks, impressions, click-through rate and average position returned by the API.
  • A proposed action: create, update, investigate or reject.
  • The intended reader, business relevance and any source links for the brief.
  • Status, owner, approval date, WordPress draft ID and draft URL.

Use fixed status values such as needs review, approved, draft created and rejected. In n8n, an IF node can route only the approved state into drafting, while a second condition checks that no draft ID exists. This gives the workflow a simple, observable rule instead of relying on a note or an empty cell to imply approval.

For example, a query associated with a product feature page may be better handled as an update to that page than as a new article. A distinct audience question may justify a separate guide. The query and page data help an editor assess the choice; they do not make the business decision on the editor’s behalf.

Create a WordPress draft with mapped fields

Use the approval-triggered workflow to assemble the brief before creating the CMS post. Pass the query, audience, angle and source URLs to the chosen research and writing service. Return a structured result with at least a title, article body and proposed slug, then map those fields in the WordPress node.

A typical field mapping is:

WordPress fieldWorkflow value
TitleGenerated article title
ContentArticle body plus any required source notes
SlugProposed URL slug
Statusdraft

The WordPress node should create a draft, not a published post. After WordPress returns a post ID, write that ID and the draft URL back to the original Google Sheets row, and change its status to draft created. If WordPress does not return a post ID, leave the row in a recoverable state and route the run to the error path rather than marking it complete.

Before sending the article to WordPress, use an IF node to check that title and body are non-empty and the source list is present. A separate check can flag an empty slug or a draft that has no cited sources. These tests are more useful as workflow gates than a broad instruction to “make the content good,” because the team can see exactly which condition failed.

n8n’s published template uses a workflow that analyzes Google SERP results, creates a brief and article, then uploads the result to WordPress as a ready-to-edit draft. It offers a concrete starting point for the handoffs, while a team can adapt its sheet columns, research sources and CMS fields to match its own editorial system.

Route errors to a recoverable workflow

Create a separate error workflow and select it in the main workflow’s settings. Start the error workflow with Error Trigger, then use an Email Send node to notify the person responsible for maintenance. Include the workflow name, failed node, execution link and a short error message; exclude credentials and unnecessary user data.

Add checks where failures can be handled clearly. After the HTTP Request, use an IF node to branch when the response has no rows or the request fails. In the drafting flow, check the WordPress response for a post ID before updating the sheet. The error route should preserve the original row and its status so a person can correct the issue and run it again.

Prevent duplicate drafts by checking for an existing draft_id before creation. If a WordPress request returns an error after a possible timeout, inspect the CMS or use the stored row identifier to find whether a post was created before retrying. A notification should tell the operator which topic and step need attention, not silently mark the row as finished.

Test three cases before scheduling the workflow: a normal response with several API rows, a response with no rows, and a failed connection or invalid input. Then confirm the sheet values and WordPress draft by hand. Once the outputs match the expected fields, enable the weekly trigger and monitor whether completed runs produce the corresponding backlog updates.

Estimate n8n workflow executions and plan costs

n8n prices Cloud plans by monthly workflow executions, regardless of workflow complexity. One execution is one run of an entire workflow, not one node or step. Its pricing page lists Starter at 20€ /mo, billed annually, with 2,500 monthly executions, one shared project, five concurrent executions and 1,600 Assistant credits/month.

Consider a four-week planning month for a small team: one scheduled research workflow runs each week, and editors approve 20 topics a week, each starting one drafting workflow run. That is four research executions plus 80 draft executions, or 84 executions for the month. At that pace, the workflows use 84 of Starter’s 2,500 executions; the calculation counts each complete run once, regardless of how many nodes it contains.

n8n planPrice and billingWorkflow executionsRelevant plan details
Starter20€ /mo, billed annually2,500/month1 shared project, 5 concurrent executions, 1,600 Assistant credits/month
Pro50€ /mo, billed annually10,000/month on Pro-1; 50,000/month on Pro-23 shared projects, up to 50 concurrent executions, 7 days of insights
Business667€ /mo, billed annually40K/monthSelf-hosted only; 6 shared projects, SSO and LDAP, 30 days of insights, multiple environments, queue mode and Git version control
EnterpriseContact salesCustomHosted by n8n or self-hosted; unlimited shared projects, 200+ concurrent executions, 365 days of insights

All n8n plans include unlimited users, workflows and integrations, and pricing is based on monthly executions rather than workflow steps. For teams that need shared projects, environments and scaling controls, Business is a distinct self-hosted tier rather than simply a larger Cloud allowance. The n8n execution-limit help page explains the available options when Cloud customers need more monthly executions.

Choose between an n8n build and a content agent

n8n suits teams that want to assemble and maintain their own workflow across APIs, spreadsheets, research tools and a CMS. The team chooses the triggers, field mappings, credentials, prompts, error paths and editorial states. That flexibility is useful when a company already has tools it wants to connect and someone who can own the workflow’s maintenance.

A content agent is a different approach: the product provides a workflow centered on finding opportunities, researching sources, creating drafts and checking them before review. Seovyn builds article drafts from source material, checks them for SEO and scores them with a critic before review. Its plans include every source, every publishing integration, quality scoring, SEO checks and Search Console results, so a team can compare a managed content workflow with a custom n8n assembly using the parts that matter to its process.

Editorial approval is Seovyn’s default. Its Autopilot publishes a draft only if it has no failed hard SEO checks, has been reviewed by the Editor and has a quality score of at least 75 by default. Approved content is published to the customer’s own site, keeping the customer in control of the destination. See Seovyn’s Autopilot rules and plan details when comparing those product behaviors with a workflow the team builds in n8n.

FAQ

How many executions does a small n8n SEO workflow need?

Count complete workflow runs, not individual nodes. For example, four weekly research runs and 80 approval-triggered draft runs total 84 executions in a four-week planning month. Teams should count each separate workflow that runs, then compare that monthly total with the allowance for the plan they are considering.

What should happen when an approved topic fails during drafting?

Keep the topic’s row and approval status, and send an error notification with the failed workflow step and execution link. Update the sheet to draft created only after WordPress returns a post ID. If a request times out, check whether the CMS already created a draft before running the creation step again.

When should a team move from n8n Starter to Pro?

A team should compare its measured monthly execution total with Starter’s 2,500 allowance and consider Pro when it needs more execution capacity or Pro features such as three shared projects, up to 50 concurrent executions and seven days of insights. For example, approval-driven drafting can grow faster than weekly research, so count both workflows rather than estimating from the number of nodes.

Can an n8n workflow publish directly to WordPress?

The n8n workflow template describes uploading the generated article to WordPress as a ready-to-edit draft. A team can map the WordPress status field to draft and keep publication in its editorial process. This makes the destination and draft state explicit while the team decides how it handles final review.

For a source-grounded content workflow with editorial approval and publishing to the team’s own site, Start free.

Keep reading

More from the blog →