
Curated by n8n Markets team
Last updated: July 10, 2026
Architecture : User message │ ▼ Chat Trigger ──► AI Agent ◄──── Simple Memory (conversation history) │ ▲ (decides to │ │ grounded answer call tool) ▼ │ Qdrant Vector Store (retrieve as tool) │ ▼ Embeddings: mistral-embed (1024-dim) │ ▼ Qdrant Cloud · collection: rag_mistral (cosine similarity search) How it works: 1)A chat message triggers the workflow 2)The AI Agent (powered by Mistral Cloud Chat Model) decides whether to query the knowledge base 3)The question is embedded with mistral-embed (1024 dimensions) and Qdrant returns the most similar document chunks (cosine distance) 4)Retrieved chunks are injected into the prompt, and Mistral generates a grounded answer Simple Memory keeps the conversation context across turns
Prerequisites A running n8n instance (self-hosted or cloud) — this project uses n8n self-hosted at localhost:5678 A free Mistral AI API key A free Qdrant Cloud cluster + API key Steps 1)Clone / download this repo and import rag-chatbot-workflow.json into n8n (Workflows → Import from File) 2)Add credentials in n8n: Mistral Cloud API — used by both the Chat Model and the Embeddings node Qdrant API — cluster endpoint URL + API key 3)Create the Qdrant collection Name: rag_mistral Vector size: 1024 Distance: Cosine 4)Ingest your documents Run an ingestion workflow with the Qdrant node in Insert Documents mode, using the same mistral-embed embeddings, so your documents are chunked, embedded, and stored. 5)Chat! Open the workflow's chat panel and ask a question from your documents. Watch the nodes light up: Trigger → Agent → Qdrant → Embeddings → Answer.
Installation: Download the workflow JSON and import it into n8n (Workflows → Import from File) Create two credentials in n8n: Mistral Cloud API — get a free API key at console.mistral.ai (used by the Chat Model and Embeddings nodes) Qdrant API — your cluster endpoint URL + API key from cloud.qdrant.io In Qdrant Cloud, create a collection named rag_mistral with vector size 1024 and distance Cosine Ingest your documents: run a workflow with the Qdrant node in "Insert Documents" mode using the same mistral-embed embeddings, so your knowledge base is loaded into the collection Usage: Open the workflow and click the chat panel at the bottom Ask a question related to your ingested documents The AI Agent embeds your question, retrieves the most similar chunks from Qdrant, and generates a grounded answer with conversation memory across turns To restrict answers strictly to your documents, add a system message in the AI Agent node telling it to only use the knowledge_base tool
Included in Builder Pro — $19/mo, 4,177 premium workflows
Templates are reviewed before they are listed. Test with your own credentials and data before running it in production.
100% Secure Checkout
Refund requests within 7 days of a new subscription
0 reviews
No reviews yet.
Log in to ask a question.
No questions yet. Be the first to ask!