Turn any website into an AI support chatbot with OpenAI and Pinecone
UnknownWhat this workflow does
This AI workflow has 18 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Embeddings OpenAI, Pinecone Vector Store, OpenAI Chat Model and Firecrawl (community).
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).
- Map Website URLs (Firecrawl): map
- Customer Support Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (Pinecone Vector Storage); memory: Chat Memory
- Filter and Normalize URLs (Code): runs custom JavaScript code
- Process URLs One by One (Loop Over Items (Split in Batches)): loops over the items in batches
- Fetch Page Content (HTTP Request): calls an HTTP API
- Extract HTML and URL (Edit Fields (Set)): sets 2 fields: html, url
- Clean HTML to Text (Code): runs custom JavaScript code
- Check Text Length (If): checks a condition and branches into true / false
- Split Text into Chunks (Code): runs custom JavaScript code
- Store in Vector Database (Pinecone Vector Store): stores documents in the Pinecone vector store, with embeddings: Embeddings OpenAI; document loader: Document Loader
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @mendable/n8n-nodes-firecrawl is verified or supports 3.0 (used in Map Website URLs).
Nodes used (14)
- Manual Trigger
n8n-nodes-base.manualTrigger - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - Firecrawl
@mendable/n8n-nodes-firecrawl.firecrawl - Code
n8n-nodes-base.code - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Pinecone Vector Store
@n8n/n8n-nodes-langchain.vectorStorePinecone - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
From the author
Complete AI support system using website data (RAG pipeline) This template provides a full end-to-end Retrieval-Augmented Generation (RAG) system using n8n. It includes two connected workflows: 1. A data ingestion pipeline that crawls a website and stores its…