Templates / Build a financial documents assistant using Qdrant and Mistral.ai

Build a financial documents assistant using Qdrant and Mistral.ai

Ready for 3.0

by Jimleuk ✓ · 19,148 views · created 2024-07-10 · Document Extraction, AI RAG

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 23 nodes and runs when a chat message arrives (plus 2 other triggers). Along the way it connects Embeddings Mistral Cloud, Mistral Cloud Chat Model and Qdrant Vector Store.

How it runs

Trigger: When a chat message arrives (plus 2 other triggers).

  1. Question and Answer Chain: answers questions over your documents (RAG), with model: Mistral Cloud Chat Model; retriever: Vector Store Retriever
  2. Set Variables (Edit Fields (Set)): sets 5 fields: directory, file_added, file_changed…
  3. Handle File Event (Switch): routes items into 3 branches
  4. Search For Existing Point (HTTP Request): calls an HTTP API (POST)
  5. Search For Existing Point (HTTP Request): calls an HTTP API (POST)
  6. Read File (Read/Write Files from Disk): reads a file from disk
  7. Has Existing Point? (If): checks a condition and branches into true / false
  8. Has Existing Point? (If): checks a condition and branches into true / false
  9. Prepare Embedding Document (Edit Fields (Set)): sets 2 fields: data, file_location
  10. Delete Existing Point (HTTP Request): calls an HTTP API (POST)

…plus 3 more steps. See the full node list below.

Services it uses

Embeddings Mistral CloudMistral Cloud Chat ModelQdrant Vector Store

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (15)

From the author

This n8n workflow demonstrates how to manage your Qdrant vector store when there is a need to keep it in sync with local files. It covers creating, updating and deleting vector store records ensuring our chatbot assistant is never outdated or misleading.…

Excerpt from Jimleuk's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.