Generate SEO-optimized blog content with Gemini, Scrapeless and Pinecone RAG
Needs changesNeeds changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.
What to replace before upgrading
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Agent1 (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Community nodes
These come from third-party npm packages. In n8n 3.0 unverified community packages are off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
n8n-nodes-scrapeless(Crawl all Blogs, Scrape detailed contents, Analyze target keywords on Google SERP)
Nodes used (19)
- Manual Trigger
n8n-nodes-base.manualTrigger - Pinecone Vector Store
@n8n/n8n-nodes-langchain.vectorStorePinecone - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Recursive Character Text Splitter
@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - AI Agent
@n8n/n8n-nodes-langchain.agent - Embeddings Google Gemini
@n8n/n8n-nodes-langchain.embeddingsGoogleGemini - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Aggregate
n8n-nodes-base.aggregate - Convert to File
n8n-nodes-base.convertToFile - Edit Fields (Set)
n8n-nodes-base.set - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Markdown
n8n-nodes-base.markdown - HTML
n8n-nodes-base.html - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Scrapeless
n8n-nodes-scrapeless.scrapeless - Code
n8n-nodes-base.code - Split Out
n8n-nodes-base.splitOut
What it does
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. How it works This advanced automation builds a fully autonomous SEO blog writer using n8n, Scrapeless, LLMs, and Pinecone vector database. It’s powered by a Retrieval-Augmented Generation (RAG) system that collects high-performing blog content, stores it in a vector store, and then generates new blog posts based on that knowledge—endlessly. Part 1: Build a Knowledge Base from Popular Blogs - Scrape existing articles from a well-established writer (in this case, Mark Manson) using the Scrapeless node. - Extract content from blog pages and store it in Pinecone, a powerful vector database that supports similarity search. - Use Gemini Embedding 001 or any other supported embedding model to encode blog content into vectors. - Result: You’ll have a searchable vector store of expert-level content, ready to be used for content generation and intelligent search. Part 2: SERP Analysis & AI Blog Generation - Use Scrapeless' SERP node to fetch search results based on your keyword and search intent. - Send the results to an LLM (like Gemini, OpenRouter, or OpenAI) to generate a keyword analysis report in Markdown → then converted to HTML. - Extract long-tail keywords, search intent insights, and content angles from this report. - Feed everything into another LLM with access to your Pinecone-stored knowledge base, and generate a fully SEO-optimized blog post. Set up steps Prerequisites - Scrapeless API key !image.png(fileId:1757) - Pinecone account and index setup - An embedding model (Gemini, OpenAI, etc.) - n8n instance with Community Node: n8n-nodes-scrapeless installed Credential Configuration - Add your Scrapeless and Pinecone credentials in n8n under the "Credentials" tab - Choose embedding dimensions according to the model you use (e.g., 768 for Gemini Embedding 001) Key Highlights - Clones a real content creator: Replicates knowledge and writing style from top-performing blog authors. - Auto-scrapes hundreds of blog posts without being blocked. - Stores expert content in a vector DB to build a reusable knowledge base. - Performs real-time SERP analysis using Scrapeless to fetch and analyze search data. - Generates SEO blog drafts using RAG with detailed keyword intelligence. - Output includes: blog title, HTML summary report, long-tail keywords, and AI-written article body. RAG + SEO: The Future of Content Creation This template combines: - AI reasoning from large language models - Reliable data scraping from Scrapeless - Scalable storage via Pinecone vector DB - Flexible orchestration using n8n nodes This is not just an automation—it’s a full-stack SEO content machine that enables you to: - Build a domain-specific knowledge base - Run intelligent keyword research - Generate traffic-ready content on autopilot 💡 Use Cases - SaaS content teams cloning competitor success - Affiliate marketers scaling high-traffic blog production - Agencies offering automated SEO content services - AI researchers building personal knowledge bots - Writers automating first-draft generation with real-world tone