Tutorial

How to Build a Full SEO Content Pipeline in n8n (2026)

End-to-end n8n workflow: trigger → Scavio research → LLM gap → draft → SEO score → fact-check → QA → publish.

An r/Agentic_SEO post built a full pipeline end-to-end. This walks the actionable recipe with n8n nodes.

Prerequisites

  • n8n Cloud Pro €60/mo (10K execs) or self-hosted
  • Scavio API key
  • OpenAI / Anthropic API key
  • Authoritative-source fact-check list per topic

Walkthrough

Step 1: Trigger node

Manual or webhook with target keyword + brief.

Text
// n8n: Manual Trigger or Webhook Trigger. Body: { topic, brief, target_word_count }.

Step 2: Scavio SERP + AI Overview research

HTTP Request node to Scavio.

Text
// HTTP Request:
// URL: https://api.scavio.dev/api/v1/search
// Method: POST
// Headers: x-api-key: $SCAVIO_API_KEY
// Body: { query: '{{topic}} 2026', include_ai_overview: true }

Step 3: Reddit signal node

Scavio Reddit search for community pulse.

Text
// HTTP Request: { query: 'reddit r/relevant {{topic}} 2026' }

Step 4: LLM gap-finding pass

Compare top 5 ranking pages; identify missing depth.

Text
// LLM prompt: 'Top 5 pages cover [...]. Identify 3-5 gaps in depth.'

Step 5: LLM draft node

Brief + research + gap → first draft.

Text
// LLM prompt: 'Write a {{target_word_count}} word piece on {{topic}} addressing gaps {{gaps}}, citing sources.'

Step 6: SEO score / optimization node

Heading structure, keyword density, internal links.

Text
// LLM with rubric: 'Score the draft 0-100 on H1/H2 structure, primary-keyword density, internal-link slots.'

Step 7: Fact-check pass

LLM with cited-sources requirement on each numeric claim.

Text
// LLM: 'For each numeric claim, find a source via scavio_search. If no source: flag for human review.'

Step 8: QA gate

Length, links, tone, fact-check pass = green.

Text
// IF node: passes → publish; fails → loop back to draft.

Step 9: Publish node

CMS API or Markdown write.

Text
// HTTP Request to CMS or write to /content folder.

Python Example

Python
# Per-piece cost: ~$0.50-2 (Scavio + LLM + fact-check). 50 pieces/mo × $1.50 = $75/mo data.

JavaScript Example

JavaScript
// n8n workflow JSON exports the pipeline.

Expected Output

JSON
End-to-end SEO content pipeline producing fact-checked drafts at $0.50-2/piece with per-step auditability.

Related Tutorials

Frequently Asked Questions

Most developers complete this tutorial in 15 to 30 minutes. You will need a Scavio API key (free tier works) and a working Python or JavaScript environment.

n8n Cloud Pro €60/mo (10K execs) or self-hosted. Scavio API key. OpenAI / Anthropic API key. Authoritative-source fact-check list per topic. A Scavio API key gives you 500 free credits per month.

Yes. The free tier includes 500 credits per month, which is more than enough to complete this tutorial and prototype a working solution.

Scavio has a native LangChain package (langchain-scavio), an MCP server, and a plain REST API that works with any HTTP client. This tutorial uses the raw REST API, but you can adapt to your framework of choice.

Start Building

End-to-end n8n workflow: trigger → Scavio research → LLM gap → draft → SEO score → fact-check → QA → publish.