Website Knowledge Chatbot (RAG + Supabase)
Turns any website into a chatbot that answers from the site's own content. Pages are scraped, embedded and stored in Supabase, and questions are answered with retrieved context.

On this page
How it works
- Enter a website URL to start ingestion.
- The page content is scraped, cleaned and split into chunks.
- Embeddings are created and stored in the Supabase vector store.
- Chat questions retrieve the most relevant chunks and AI writes the answer.
Use cases
- Website support bots
- Documentation assistants
- Internal knowledge bases
What you need
This workflow connects to these apps.
- OpenAI
- HTTP
- Supabase
You'll need an n8n instance, on n8n Cloud or self-hosted, and these credentials. Our credentials guide shows how to create each one.
- Cohere account
- OpenAI account
- Postgres account
- Supabase account
Setup
- Download the JSON and import it into n8n with Import from File, or copy it and paste it onto an empty canvas. The import guide walks through both.
- Connect the credentials listed above.
- Point the Sheets, Airtable, Drive, and Slack nodes at your own files and channels.
- Replace placeholder emails, phone numbers, and form links with your own.
- Times use the America/New York timezone and dates use MM/DD/YYYY. Change them if you need to, then test and activate. The setup guide covers this step by step.
Nodes
| Node | Type |
|---|---|
| When chat message received | chatTrigger |
| HTML Extract | htmlExtract |
| Default Data Loader | documentDefaultDataLoader |
| Recursive Character Text Splitter | textSplitterRecursiveCharacterTextSplitter |
| Supabase Vector Store | vectorStoreSupabase |
| Enter Website Url | formTrigger |
| Website Data Scraping | httpRequest |
| Convert to File | convertToFile |
| Embeddings Cohere | embeddingsCohere |
| Question & Answer Retrieve | agent |
| Data From Supabase Vector Store | vectorStoreSupabase |
| Embeddings With Cohere | embeddingsCohere |
| Chat Memory | memoryPostgresChat |
| OpenAI Chat Model | lmChatOpenAi |
Frequently asked questions
Turns any website into a chatbot that answers from the site's own content. Pages are scraped, embedded and stored in Supabase, and questions are answered with retrieved context. It's a 18-node n8n workflow.
An n8n instance, on n8n Cloud or self-hosted, and credentials for Cohere, OpenAI, Postgres, and Supabase. It uses only nodes that ship with n8n, so there's nothing else to install.
Download the JSON, then in n8n create a new workflow, open the menu in the top right, and choose Import from File. You can also copy the JSON and paste it onto an empty canvas.
Yes. It's free to download, import, and change, with no sign-up. You only pay for the apps it connects to, where those aren't free on your plan.



