RAG Starter Template using Simple Vector Stores, Form trigger and OpenAI
n8n template #5010Summary
Use templateThis template quickly shows how to use RAG in n8n. Who is this for? This template is for everyone who wants to start giving knowledge to their Agents through RAG. Requirements Have a PDF with custom knowledge that you want to provide to your agent. Setup No setup required. Just hit Execute Workflow, upload your knowledge document and then start chatting. How to customize this to your needs Add custom instructions to your Agent by changing the prompts in it. Add a different way to load in knowledge to your vector store, e.g. by looking at some Google Drive files or loading knowledge from a table. Exchange the Simple Vector Store nodes with your own vector store tools ready for production. Add
How to set it up
- Open template #5010 on n8n.io and click Use for free, or copy the template JSON and paste it onto an empty canvas in n8n.
- Create 2 credentials under Credentials → Add credential: Embeddings OpenAI, OpenAI Chat Model. Then open each of those nodes and pick the credential.
- Check the model in the AI Agent node. The template may point at a model your account can't use; swap it for one you have access to.
- Click Execute workflow and step through each node's output to confirm the data looks right.
- Toggle the workflow to Active so its trigger runs on its own.
Hand off to your agent
Prompt
Help me set up the n8n workflow "RAG Starter Template using Simple Vector Stores, Form trigger and OpenAI" (https://n8n.io/workflows/5010). It uses: AI Agent, Embeddings OpenAI, OpenAI Chat Model, Simple Vector Store, Default Data Loader. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.
Paste into Claude Code and it will do the rest.
Apps and nodes
Questions
Yes. n8n Team published it free on n8n.io as a verified creator, and it has 20K views. It runs on n8n Cloud or a self-hosted n8n instance.
Embeddings OpenAI, OpenAI Chat Model. The other 3 nodes are built into n8n.
Similar workflows
NameViews
- Building Your First WhatsApp Chatbot332K
- Personalized AI Tech Newsletter Using RSS, OpenAI and Gmail53K
- Automate Email & Calendar Management with Gmail, Google Calendar & GPT-4o AI14K
- Explore n8n Nodes in a Visual Reference Library5,197
- AI Agent To Chat With Files In Supabase Storage68K
- 🤖 AI Powered RAG Chatbot for Your Docs + Google Drive + Gemini + Qdrant65K
- AI Voice Chatbot with ElevenLabs & OpenAI for Customer Service and Restaurants62K
- AI-Powered WhatsApp Chatbot for Text, Voice, Images, and PDF with RAG47K