šŸš€ Just Built a Custom AI Chatbot in n8n Using RAG! (Inspired by Nate’s Tutorials)
Hey everyone! Super pumped to share a project I’ve been working on—a fully automated AI chatbot in n8n that retrieves answers from Nate Herk’s tutorials! šŸŽÆ
I absolutely love AI automation projects like this, and I’m always looking to connect with others who are building cool stuff! Would love to hear your thoughts on this.
What I Built & How It Works
I wanted a chatbot that could accurately answer questions based on Nate’s n8n tutorials—without relying on traditional APIs. So, here’s what I did:
Step 1: Selecting Videos & Structuring Data
First, I picked some of Nate’s best videos on AI agents & n8n automation:
šŸ“Œ The Ultimate AI Team in n8n – No-Code Personal Assistant
šŸ“Œ OpenAI Fires Back at Deep Seek with a New Reasoning Model: o3-mini
šŸ“Œ How to Locally Host Deep Seek R1 for FREE in Under 10 Minutes in n8n
šŸ“Œ How to Actually Build Agents with Deep Seek R1 in n8n
šŸ“Œ How I’d Teach a 10-Year-Old to Build AI Agents
šŸ“Œ How I Wish Someone Explained AI Agents to Me (as a Beginner)
šŸ“Œ Best Model for RAG
šŸ“Œ AI Agent Prompting Masterclass
šŸ“Œ 5 n8n Tips You NEED to Know
Then, I added these as sources in NotebookLM and used a custom prompt to generate structured text files for each. The output was good but needed refining, so I ran it through ChatGPT to make the structure optimized for embedding.
Step 2: Storing Data in Pinecone Vector Database
To make the chatbot retrieve answers efficiently:
āœ… Used Hugging Face’s "sentence-transformers/all-MiniLM-L6-v2" for embedding.
āœ… Created a 384-dimension index in Pinecone.
āœ… Stored all processed video content in the vector database.
Step 3: Building the AI Agent in n8n
For the chatbot workflow:
āœ… Integrated Google Drive in n8n to fetch the structured text files.
āœ…Used Claude 3.5 Haiku (20241022) as the AI model (since I had some Anthropic credits).
āœ… Implemented Window Buffer Memory for better context retention.
āœ… Added ā€œAnswer with Vector Storeā€ as a tool to fetch relevant responses.
Final Results šŸ’”
After testing, the chatbot accurately retrieves information from Nate’s tutorials, answering in a structured way. It works fully offline, running on my local n8n instance, so I can’t share access (plus, my Anthropic credits are limited šŸ˜…).
I've attached images of both workflows and some Q&A examples with the chatbot. Let me know what you think! Would love to connect with others building AI automation in n8n—let’s share ideas and grow together! šŸš€
Drop your thoughts below! ā¬‡ļø
7
7 comments
Girish Garry
4
šŸš€ Just Built a Custom AI Chatbot in n8n Using RAG! (Inspired by Nate’s Tutorials)
AI Automation Society
skool.com/ai-automation-society
A community built to master no-code AI automations. Join to learn, discuss, and build the systems that will shape the future of work.
Leaderboard (30-day)
Powered by