Templates / Build website Q&A chatbot with RAG, OpenAI GPT-4o-mini and Supabase Vector DB

Build website Q&A chatbot with RAG, OpenAI GPT-4o-mini and Supabase Vector DB

Needs changes

by InfyOm Technologies ✓ · 3,408 views · created 2025-07-21 · Support Chatbot, AI RAG

Needs changes. This template uses 2 thing(s) that n8n 3.0 removes: HTML Extract, AI Agent v1 (old agent modes). 2 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 14 nodes and runs when a chat message arrives (plus 1 other trigger). Along the way it connects Supabase Vector Store, Embeddings Cohere, Postgres Chat Memory and OpenAI Chat Model.

How it runs

Trigger: When a chat message arrives (plus 1 other trigger).

  1. Question & Answer Retrieve (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (Data From Supabase Vector Store); memory: Chat Memory
  2. Website Data Scrapping (HTTP Request): calls an HTTP API
  3. HTML Extract: uses HTML Extract
  4. Convert to File: converts data to a file (to json)
  5. Supabase Vector Store: stores documents in the Supabase vector store, with embeddings: Embeddings Cohere; document loader: Default Data Loader

Services it uses

Supabase Vector StoreEmbeddings CoherePostgres Chat MemoryOpenAI Chat Model

Scraping pages by hand? Firecrawl is a simpler option (10% off for new users).

Before you upgrade to n8n 3.0

2 things in this workflow are removed in n8n 3.0. Fix them before you upgrade:

  • HTML Extract: replace with HTML node, 'Extract HTML Content' operation.
  • AI Agent v1 (old agent modes) in Question & Answer Retrieve (v1.8): 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.0Replace with
HTML Extract
HTML Extract
HTML node, 'Extract HTML Content' operation
AI Agent v1 (old agent modes)
Question & Answer Retrieve (v1.8)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (12)

From the author

✅ What problem does this workflow solve? Many websites lack a smart, searchable interface. Visitors often leave due to unanswered questions. This workflow transforms any website into a Retrieval-Augmented Generation (RAG) chatbot—automatically extracting…

Excerpt from InfyOm Technologies's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.