{"product_id":"n8n-rag-chatbot-workflow-firecrawl-pinecone-gemini","title":"n8n RAG Chatbot Workflow: Firecrawl + Pinecone + Gemini","description":"\u003ch3\u003eTurn your website into a searchable, chat-based knowledge assistant with n8n RAG\u003c\/h3\u003e\n\u003cp\u003eThis n8n RAG Chatbot Workflow automatically crawls your website with \u003cstrong\u003eFirecrawl\u003c\/strong\u003e, indexes cleaned text into \u003cstrong\u003ePinecone\u003c\/strong\u003e using \u003cstrong\u003eGoogle Gemini embeddings\u003c\/strong\u003e, and serves a public chat webhook where a \u003cstrong\u003eGemini-powered agent\u003c\/strong\u003e answers user questions by retrieving the most relevant chunks from your index.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIngest (manual run):\u003c\/strong\u003e When you manually execute the workflow, it starts a full indexing run.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePrepare Pinecone:\u003c\/strong\u003e It looks up your Pinecone index host and clears all vectors in the configured Pinecone namespace to avoid duplicate content.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eDiscover pages:\u003c\/strong\u003e Using \u003cstrong\u003eFirecrawl\u003c\/strong\u003e, it maps the target website and retrieves up to \u003cstrong\u003e100\u003c\/strong\u003e discovered page URLs.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eClean \u0026amp; normalize URLs:\u003c\/strong\u003e The workflow filters, deduplicates, and normalizes URLs, then processes them one at a time with a short delay to reduce request bursts.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eExtract text:\u003c\/strong\u003e For each page, it fetches HTML over HTTP, strips HTML\/scripts\/styles into plain text, and skips pages with too little usable content.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eChunk + embed + index:\u003c\/strong\u003e It splits text into overlapping chunks, creates \u003cstrong\u003eGemini embeddings\u003c\/strong\u003e, and stores vectors in \u003cstrong\u003ePinecone\u003c\/strong\u003e with URL metadata.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eChat (public webhook):\u003c\/strong\u003e When a chat message is received, the Gemini agent retrieves relevant chunks from Pinecone and uses short windowed memory to generate the final answer.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSaaS support teams needing instant answers grounded in their own docs (FAQ, pricing, product pages).\u003c\/li\u003e\n  \u003cli\u003eAutomation engineers building a RAG knowledge base for marketing or help-center websites.\u003c\/li\u003e\n  \u003cli\u003eOperators who want a lightweight, website-specific chatbot without manually maintaining knowledge snippets.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations:\u003c\/strong\u003e Firecrawl, Pinecone, Google Gemini (Gemini embeddings for ingestion and retrieval—use the same embedding model).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCore node types (n8n):\u003c\/strong\u003e \u003cem\u003eif\u003c\/em\u003e, \u003cem\u003eset\u003c\/em\u003e, \u003cem\u003ecode\u003c\/em\u003e, \u003cem\u003ewait\u003c\/em\u003e, and \u003cem\u003ehttp request\u003c\/em\u003e (plus sticky note documentation).\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003eSet your Firecrawl, Pinecone, and Gemini credentials, create a Pinecone index with the correct vector dimension, and configure \u003cstrong\u003eYOUR_PINECONE_INDEX\u003c\/strong\u003e and \u003cstrong\u003eYOUR_PINECONE_NAMESPACE\u003c\/strong\u003e in the Pinecone-related nodes to get started.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46029497729203,"sku":"N8N-19587","price":8.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/9SAfl0Kycdzc0mKWuRwJX_9qFdHgo1.png?v=1789463756","url":"https:\/\/buyflowscripts.com\/products\/n8n-rag-chatbot-workflow-firecrawl-pinecone-gemini","provider":"N8N Commerce","version":"1.0","type":"link"}