Build a Tax Code Assistant with Qdrant, Mistral.ai and OpenAI
n8n template #2341Summary
Use templateThis n8n workflows builds another example of creating a knowledgebase assistant but demonstrates how a more deliberate and targeted approach to ingesting the data can produce much better results for your chatbot. In this example, a government tax code policy document is used. Whilst we could split the document into chunks by content length, we often lose the context of chapters and sections which may be required by the user. Our approach then is to first split the document into chapters and sections before importing into our vector store. Additionally, using metadata correctly is key to allow filtering and scoped queries. Example Human: "Tell me about what the tax code says about cargo for i
How to set it up
- Open template #2341 on n8n.io and click Use for free, or copy the template JSON and paste it onto an empty canvas in n8n.
- Create 3 credentials under Credentials → Add credential: OpenAI Chat Model, Embeddings Mistral Cloud, Qdrant Vector Store. 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 "Build a Tax Code Assistant with Qdrant, Mistral.ai and OpenAI" (https://n8n.io/workflows/2341). It uses: HTTP Request, Compression, AI Agent, OpenAI Chat Model, Simple Memory, Recursive Character Text Splitter, Call n8n Workflow Tool, Default Data Loader, Embeddings Mistral Cloud, Qdrant Vector Store. 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
HTTP RequestCompressionAI AgentOpenAI Chat ModelSimple MemoryRecursive Character Text SplitterCall n8n Workflow ToolDefault Data LoaderEmbeddings Mistral CloudQdrant Vector Store
Questions
Yes. Jimleuk published it free on n8n.io as a verified creator, and it has 9,214 views. It runs on n8n Cloud or a self-hosted n8n instance.
OpenAI Chat Model, Embeddings Mistral Cloud, Qdrant Vector Store. The other 7 nodes are built into n8n.
Similar workflows
NameViews
- Scale Deal Flow with a Pitch Deck AI Vision, Chatbot and QDrant Vector Store6,822
- Building RAG Chatbot for Movie Recommendations with Qdrant and Open AI31K
- Recipe Recommendations with Qdrant and Mistral6,207
- Building Your First WhatsApp Chatbot332K
- AI Voice Chatbot with ElevenLabs & OpenAI for Customer Service and Restaurants62K
- AI-Powered WhatsApp Chatbot for Text, Voice, Images, and PDF with RAG47K
- Complete business WhatsApp AI-Powered RAG Chatbot using OpenAI35K
- Advanced AI Demo (Presented at AI Developers #14 meetup)24K