I made a full walkthrough on how to build a RAG based support agent using n8n, Firecrawl, Supabase and OpenAI. Sharing it here because RAG sounds complex, but the setup is actually pretty simple once you see the steps.
Here’s the quick breakdown of the workflow:
1. Scrape the website with Firecrawl
It grabs every page and formats everything into clean markdown.
2. Upload the files to Drive
Just to store all the scraped content in one place.
3. Pull the files into n8n
Download each file so n8n can process them.
4. Convert markdown into text
Supabase needs plain text before embedding.
5. Create a Supabase vector store
Run one SQL snippet and your table is ready.
6. Embed and upload
n8n chunks the text, embeds it and sends it to Supabase.
7. Connect a Telegram bot
This becomes the front end for talking to the agent.
8. Build the agent
The agent pulls relevant info from Supabase and answers based on what’s actually in your data.
The video walks through every step if you want to build one yourself. If you want more step by step tutorials like this, please subscribe to my channel. I will be posting more in the upcoming weeks :)