Automation library · Integrations

Build hybrid RAG search over PDFs with Qdrant and Ollama

Started by someone opening a chat with it, and works across Qdrant. 20 steps, 1 branch: a working afternoon to understand properly.

MediumRetrieval

20 stepsMedium: a working afternoon
1Branch: places the flow splits
0Loops or waits
1Service it connects to

The flow

Starts it 2Model 4Logic 6Service 8

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

  1. 1When clicking ‘Execute workflow’Manual triggerStarts it
  2. 2Embeddings OllamaEmbeddings OllamaModel
  3. 3Recursive Character Text SplitterText Splitter Recursive Character Text SplitterModel
  4. 4When chat message receivedChat triggerStarts it
  5. 5Extract sparse from QdrantCodeLogic
  6. 6Read/Write Files from DiskRead Write FileService
  7. 7Qdrant Vector StoreVector Store QdrantModel
  8. 8Default Data LoaderDocument Default Data LoaderModel
  9. 9Generate the embeddings of the queryHttp RequestService
  10. 10Extract from FileExtract From FileService
  11. 11Get All PointsQdrantService
  12. 12Query Points (using the embeddings)QdrantService
  13. 13Check If Collection ExistsQdrantService
  14. 14MergeMergeLogic
  15. 15Split OutSplit OutLogic
  16. 16IfIfLogic
  17. 17Edit FieldsSetLogic
  18. 18Create CollectionQdrantService
  19. 19AggregateAggregateLogic
  20. 20Update VectorsQdrantService

How it's built

Starts on
Someone opening a chat with it
Steps
20, with 1 branch
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 someone opening a chat with it.

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. 20 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 20 steps before you point it at anything that matters.