# Build a website RAG support chatbot with Firecrawl, Pinecone, and Gemini

> Quick overview This template indexes a website into Pinecone using Firecrawl, Google Gemini embeddings, and basic HTML cleaning, then exposes a public n8n chat webhook where a Gemini-powered agent answers customer questions by retrieving relevant website chunks from Pinecone. How it works 1. Starts an ingestion run when you manually execute the workflow. 2. Looks up the Pinecone index host and clears all vectors in the configured Pinecone namespace to avoid duplicate content. 3. Uses Firecrawl to map the target website and returns up to 100 discovered page URLs. 4. Filters, deduplicates, and normalizes the URLs, then processes them one at a time with a short delay to reduce request bursts. 5. Fetches each page over HTTP, strips HTML/scripts/styles into plain text, and skips pages with too little usable content. 6. Splits remaining text into overlapping chunks, creates Google Gemini embeddings, and stores the vectors with URL metadata in Pinecone. 7. When a chat message is received via 

- **Domain**: `n8n-workflow-19587.n8n.io`
- **Provider**: n8n.io (https://n8n.io)
- **Kind**: workflow
- **Live-responds (last probe)**: None
- **Signed card**: False
- **Streaming**: False
- **Quality score**: 40%

## URLs
- Agent card: https://n8n.io/workflows/19587
- Page (HTML): https://agenstry.com/agents/n8n-workflow-19587.n8n.io
- Documentation: https://n8n.io/workflows/19587
