AI Chatbot

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.

The Website Knowledge Chatbot (RAG + Supabase) workflow on the n8n canvas, with its 18 nodes and connections
The workflow on the n8n canvas. Click to open it full size.

At a glance

Category
AI Chatbot
Nodes
18
Apps
OpenAI, HTTP, Supabase
Price
Free
Download JSON
On this page

How it works

  1. Enter a website URL to start ingestion.
  2. The page content is scraped, cleaned and split into chunks.
  3. Embeddings are created and stored in the Supabase vector store.
  4. 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

  1. 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.
  2. Connect the credentials listed above.
  3. Point the Sheets, Airtable, Drive, and Slack nodes at your own files and channels.
  4. Replace placeholder emails, phone numbers, and form links with your own.
  5. 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

NodeType
When chat message receivedchatTrigger
HTML ExtracthtmlExtract
Default Data LoaderdocumentDefaultDataLoader
Recursive Character Text SplittertextSplitterRecursiveCharacterTextSplitter
Supabase Vector StorevectorStoreSupabase
Enter Website UrlformTrigger
Website Data ScrapinghttpRequest
Convert to FileconvertToFile
Embeddings CohereembeddingsCohere
Question & Answer Retrieveagent
Data From Supabase Vector StorevectorStoreSupabase
Embeddings With CohereembeddingsCohere
Chat MemorymemoryPostgresChat
OpenAI Chat ModellmChatOpenAi

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.

Keep exploring
  • n8n canvas of the AI Crop Advisory for Farmers workflow

    Agriculture27 nodes

    AI Crop Advisory for Farmers

    Gives farmers practical, AI-generated crop advice based on their soil, crop and live weather. Advice is delivered instantly on sign-up and refreshed daily over WhatsApp.

  • n8n canvas of the AI Email Classifier & Slack Router workflow

    AI Automation11 nodes

    AI Email Classifier & Slack Router

    Reads incoming emails, has AI classify each one (support, sales, billing, HR and so on) and notifies the right team on Slack straight away.

  • n8n canvas of the AI Shopify Product Builder with Review workflow

    E-commerce37 nodes

    AI Shopify Product Builder with Review

    Creates complete Shopify products from a photo or a brief. AI writes the copy, generates images and saves everything for review, and approved products are published automatically.