Templates / Index legal documents for hybrid search with Qdrant, OpenAI & BM25

Index legal documents for hybrid search with Qdrant, OpenAI & BM25

Unknown

by Jenny ✓ · 3,237 views · created 2025-08-27 · AI RAG, Multimodal AI

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.

What this workflow does

This workflow has 30 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Qdrant (community). It also calls datasets-server.huggingface.co and api.openai.com over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Get Dataset Splits (HTTP Request): calls datasets-server.huggingface.co
  2. Check Collection Exists (Qdrant): collection exists
  3. Split Them All Out (Split Out): splits a list into separate items
  4. If: checks a condition and branches into true / false
  5. Get Dataset Rows (Pagination) (HTTP Request): calls an HTTP API
  6. Create Collection (Qdrant): create collection
  7. Divide Per Row (Split Out): splits a list into separate items
  8. Restructure for Deduplicating (Edit Fields (Set)): sets 2 fields: id_qa, text
  9. Deduplicate Texts (Summarize): summarizes / groups the items
  10. Restructure for Batching (Edit Fields (Set)): sets 3 fields: idx, text, ids_qa

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

Services it uses

Qdrant (community)

HTTP calls to: datasets-server.huggingface.co, api.openai.com

Before you upgrade to n8n 3.0

We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

  • Check that n8n-nodes-qdrant is verified or supports 3.0 (used in Create Collection, Check Collection Exists, Upsert Points).

Nodes used (11)

From the author

Index Legal Dataset to Qdrant for Hybrid Retrieval This pipeline is the first part of "Hybrid Search with Qdrant & n8n, Legal AI". The second part, "Hybrid Search with Qdrant & n8n, Legal AI: Retrieval", covers retrieval and simple evaluation. Overview This…

Excerpt from Jenny '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.