# Index and query financial documents with Qdrant and Mistral: n8n workflow

> Started by an event in a connected app, and works across Qdrant. 16 steps, 3 branches: a working afternoon to understand properly.

Source: https://millionrounds.com/workflow/index-and-query-financial-documents-with-qdrant-and-mistral (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Documents and files](https://millionrounds.com/workflows?category=Documents+and+files#library)

# Index and query financial documents with Qdrant and Mistral

Started by an event in a connected app, and works across Qdrant. 16 steps, 3 branches: a working afternoon to understand properly.

Medium Retrieval

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Findex-and-query-financial-documents-with-qdrant-and-mistral)

**16 steps** Medium: a working afternoon

**3** Branches: places the flow splits

**0** Loops or waits

**1** Service it connects to

## The flow

Starts it 1 Model 4 Logic 6 Service 5

The steps in the order they run, from what starts it.

- 1 **When clicking "Test workflow"** Manual trigger *Starts it*
- 2 **Embeddings Mistral Cloud** Embeddings Mistral Cloud *Model*
- 3 **Recursive Character Text Splitter** Text Splitter Recursive Character Text Splitter *Model*
- 4 **Set Variables** Set *Logic*
- 5 **Qdrant Vector Store** Vector Store Qdrant *Model*
- 6 **Default Data Loader** Document Default Data Loader *Model*
- 7 **Handle File Event** Switch *Logic*
- 8 **Search For Existing Point** Http Request *Service*
- 9 **Search For Existing Point1** Http Request *Service*
- 10 **Read File** Read Write File *Service*
- 11 **Has Existing Point?** If *Logic*
- 12 **Has Existing Point?1** If *Logic*
- 13 **Prepare Embedding Document** Set *Logic*
- 14 **Delete Existing Point1** Http Request *Service*
- 15 **Delete Existing Point** Http Request *Service*
- 16 **Remap for File_Added Flow** Set *Logic*

## How it's built

- **Starts on:** An event in a connected app
- **Steps:** 16, with 3 branches
- **Size:** Medium: a working afternoon
- **Connects to:** Qdrant
- **Model:** None. This is plumbing, not judgement
- **Retrieval:** Answers are drawn from documents you supply, not from the model alone

## Questions

What does it need to run?

An n8n account, plus your own Qdrant account. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an event in a connected app.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Plan an afternoon. 16 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 16 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Findex-and-query-financial-documents-with-qdrant-and-mistral)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Qdrant](https://millionrounds.com/workflows?service=Qdrant#library)

## Workflows like it

Also documents and files, with the same services where possible, closest in size first.

- [**Automated document compliance validation with a local model** 17 steps · calls a model · Qdrant](https://millionrounds.com/workflow/automated-document-compliance-validation-with-a-local-model)
- [**Sync documentation vectors from GitHub with Ollama and Qdrant** 14 steps · Qdrant](https://millionrounds.com/workflow/sync-documentation-vectors-from-github-with-ollama-and-qdran)
- [**Filter by keyword within given documents with OpenAI** 18 steps · calls a model · Qdrant](https://millionrounds.com/workflow/filter-by-keyword-within-given-documents-with-openai)
- [**Build a document-based AI chatbot with Google Drive and Llama** 11 steps · calls a model · Google Drive, Qdrant](https://millionrounds.com/workflow/build-a-document-based-ai-chatbot-with-google-drive-and-llam)
- [**Build a financial documents assistant with Qdrant and Mistral** 23 steps · calls a model · Qdrant](https://millionrounds.com/workflow/build-a-financial-documents-assistant-with-qdrant-and-mistra)
- [**Process documents & build semantic search with OpenAI** 23 steps · calls a model · Google Drive, Qdrant](https://millionrounds.com/workflow/process-documents-and-build-semantic-search-with-openai)
