Build a product catalog chatbot with Mistral AI, Google Drive & Supabase RAG
Needs changesWhat this workflow does
This AI workflow has 23 nodes and runs manually, when you click “Execute workflow” (plus 2 other triggers). Along the way it connects Google Drive, Embeddings Mistral Cloud, Supabase Vector Store and Mistral Cloud Chat Model.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 2 other triggers).
- Google Drive: work with file folder
- Edit Fields (Edit Fields (Set)): sets 2 fields: chatInput, sessionId
- product catalog agent (AI Agent): runs an AI agent, with model: Mistral Cloud Chat Model; 1 tool (Supabase Vector Store); memory: Simple Memory
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- extract metadata (Code): runs custom JavaScript code
- Set File ID (Edit Fields (Set)): sets 5 fields: file_id, file_type, file_title…
- Google Drive: download
- Extract from File: extracts data from a file (from json)
- Wait: waits 8 seconds
- map data into fields (Edit Fields (Set)): sets 7 fields: title, summary, topics …
…plus 3 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in product catalog agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) product catalog agent (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (16)
- Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Edit Fields (Set)
n8n-nodes-base.set - Google Drive
n8n-nodes-base.googleDrive - Extract from File
n8n-nodes-base.extractFromFile - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Character Text Splitter
@n8n/n8n-nodes-langchain.textSplitterCharacterTextSplitter - Embeddings Mistral Cloud
@n8n/n8n-nodes-langchain.embeddingsMistralCloud - Supabase Vector Store
@n8n/n8n-nodes-langchain.vectorStoreSupabase - Wait
n8n-nodes-base.wait - Manual Trigger
n8n-nodes-base.manualTrigger - Mistral Cloud Chat Model
@n8n/n8n-nodes-langchain.lmChatMistralCloud - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent
From the author
AI Product Catalog Chatbot with Google Drive Ingestion & Supabase RAG Overview This workflow builds a dual-system that connects automated document ingestion with a live product catalog chatbot powered by Mistral AI and Supabase. It includes: - Ingestion…