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.
// n8n: Manual Trigger or Webhook Trigger. Body: { topic, brief, target_word_count }.Step 2: Scavio SERP + AI Overview research
HTTP Request node to Scavio.
// 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.
// HTTP Request: { query: 'reddit r/relevant {{topic}} 2026' }Step 4: LLM gap-finding pass
Compare top 5 ranking pages; identify missing depth.
// LLM prompt: 'Top 5 pages cover [...]. Identify 3-5 gaps in depth.'Step 5: LLM draft node
Brief + research + gap → first draft.
// 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.
// 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.
// 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.
// IF node: passes → publish; fails → loop back to draft.Step 9: Publish node
CMS API or Markdown write.
// HTTP Request to CMS or write to /content folder.Python Example
# Per-piece cost: ~$0.50-2 (Scavio + LLM + fact-check). 50 pieces/mo × $1.50 = $75/mo data.JavaScript Example
// n8n workflow JSON exports the pipeline.Expected Output
End-to-end SEO content pipeline producing fact-checked drafts at $0.50-2/piece with per-step auditability.