Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

Basic RAG chat

n8n template #5028
This workflow demonstrates a simple Retrieval-Augmented Generation (RAG) pipeline in n8n, split into two main sections: 🔹 Part 1: Load Data into Vector Store Reads files from disk (or Google Drive). Splits content into manageable chunks using a recursive text splitter. Generates embeddings using the Cohere Embedding API. Stores the vectors into an In-Memory Vector Store (for simplicity; can be replaced with Pinecone, Qdrant, etc.). 🔹 Part 2: Chat with the Vector Store Takes user input from a chat UI or trigger node. Embeds the query using the same Cohere embedding model. Retrieves similar chunks from the vector store via similarity search. Uses Groq-hosted LLM to generate a final answer ba

Hand off to your agent

Prompt

Help me set up the n8n workflow "Basic RAG chat" (https://n8n.io/workflows/5028). It uses: Question and Answer Chain, Embeddings Cohere, Vector Store Retriever, Recursive Character Text Splitter, Simple Vector Store, Default Data Loader, Groq Chat Model. 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

Similar workflows

NameViews
  1. Telegram chat with PDF16K
  2. Automated Book Summarization with DeepSeek AI, Qdrant Vector DB & Google Drive472
  3. Advanced AI Demo (Presented at AI Developers #14 meetup)24K
  4. Supabase Insertion & Upsertion & Retrieval24K
  5. Breakdown Documents into Study Notes using Templating MistralAI and Qdrant22K
  6. Build a Financial Documents Assistant using Qdrant and Mistral.ai17K
  7. Bitrix24 AI-Powered RAG Chatbot for Open Line Channels4,903
  8. Document Analysis & Chatbot Creation with Llama Parser, Gemini LLM & Pinecone DB2,769
Buy me a coffee