Templates / Vector database as a big data analysis tool for AI agents [2/2 KNN]

Vector database as a big data analysis tool for AI agents [2/2 KNN]

Ready for 3.0

by Jenny ✓ · 1,784 views · created 2024-12-19 · Engineering, AI Summarization

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 workflow has 10 nodes and runs when another workflow calls it. It uses only n8n's built-in nodes. It also calls api.voyageai.com over HTTP.

How it runs

Trigger: When another workflow calls it.

  1. Image Test URL (Edit Fields (Set)): sets 1 field: imageURL
  2. Embed image (HTTP Request): calls api.voyageai.com (POST)
  3. Qdrant variables + embedding + KNN neigbours (Edit Fields (Set)): sets 4 fields: ImageEmbedding, qdrantCloudURL, collectionName…
  4. Query Qdrant (HTTP Request): calls an HTTP API (POST)
  5. Propagate loop variables (Edit Fields (Set)): sets 1 field: result
  6. Majority Vote (Code): runs custom Python code
  7. Check tie (If): checks a condition and branches into true / false
  8. Increase limitKNN (Edit Fields (Set)): sets 4 fields: limitKNN, ImageEmbedding, qdrantCloudURL…
  9. Return class (Edit Fields (Set)): sets 1 field: class

HTTP calls to: api.voyageai.com

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 (5)

From the author

Vector Database as a Big Data Analysis Tool for AI Agents Workflows from the webinar "Build production-ready AI Agents with Qdrant and n8n". This series of workflows shows how to build big data analysis tools for production-ready AI agents with the help of…

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.