[2/2] KNN classifier (lands dataset)

Here we're classifying existing types of satellite imagery of land types: - 'agricultural', - 'airplane', - 'baseballdiamond', - 'beach', - 'buildings', - 'chaparral', - 'denseresidential', - 'forest', - 'freeway', - 'golfcourse', - 'harbor', - 'intersection', - 'mediumresidential', - 'mobilehomepark', - 'overpass', - 'parkinglot', - 'river', - 'runway', - 'sparseresidential', - 'storagetanks', - 'tenniscourt'

Integrations Used (2)

Workflow Structure (10 nodes)
100%
Execute Workflow Trigger
Execute Workflow Trigger
Set
Image Test URL
Http Request
Embed image
Set
Qdrant variables + embedding + KNN neigbours
Http Request
Query Qdrant
Set
Propagate loop variables
Code
Majority Vote
If
Check tie
Set
Increase limitKNN
Set
Return class
Node Types:
http
code
transform
logic
trigger
Requires credentials

Prerequisites

Required Credentials (2)

HTTP Header Auth

Used by: Embed image

Docs

Qdrant

Used by: Query Qdrant

Docs

Complexity

Complex

Advanced features used. Requires n8n experience.

Setup time: ~35 min
Score: 54/100
Custom Code
Conditional Logic

When to Use This Workflow

AI-Powered Content Creation

Automate content generation, summarization, or analysis using AI capabilities.

Save hours of manual work while maintaining quality and consistency.

Real-time Response

React instantly when events happen - new orders, form submissions, or API calls.

Zero delay between trigger and action for time-sensitive workflows.

Error Reduction

Eliminate human error from routine processes with consistent automation.

Improve accuracy and reliability across your workflows.

workflow.json
{
  "id": "itzURpN5wbUNOXOw",
  "meta": {
    "instanceId": "205b3bc06c96f2dc835b4f00e1cbf9a937a74eeb3b47c99d0c30b0586dbf85aa"
  },
  "name": "[2/2] KNN classifier (lands dataset)",
  "tags": [
    {
      "id": "QN7etptCmdcGIpkS",
      "name": "classifier",
      "createdAt": "2024-12-08T22:08:15.968Z",
      "updatedAt": "2024-12-09T19:25:04.113Z"
    }
  ],
  "nodes": [
    {
      "id": "33373ccb-164e-431c-8a9a-d68668fc70be",
      "name": "Embed image",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
...

Workflow Details

Nodes
18
Trigger
Event
Source
awesome
Added
Dec 4, 2025

Need Help?

Check out the official n8n documentation for detailed guides.

Related Workflows

[3/3] Anomaly detection tool (crops dataset)

We are working here with crops dataset: Existing (so not anomalies) crops images in dataset are: - 'pearlmillet(bajra)',...

Http-request
Executeworkflow
17 nodesEvent
Curated

Build a Tax Code Assistant with Qdrant, Mistral.ai and OpenAI

Step 1. Download the Tax Code PDF [Read more about handling Zip Files](https://docs.n8n.io/integrations/builtin/core-nod...

Embeddingsmistralcloud
Documentdefaultdataloader
Textsplitterrecursivecharactertextsplitter
Http-request
38 nodesEvent
Curated

Building RAG Chatbot for Movie Recommendations with Qdrant and Open AI

Tool, calling Qdrant's recommendation API based on user's request, transformed by AI agent

Github
Embeddingsopenai
Documentdefaultdataloader
Textsplittertokensplitter
27 nodesEvent
Curated

Customer Insights with Qdrant, Python and Information Extractor

Step 1. Starting Fresh For this demo, we'll clear any existing records in our Qdrant vector store for the selected compa...

Documentdefaultdataloader
Textsplitterrecursivecharactertextsplitter
Embeddingsopenai
Http-request
37 nodesEvent
Curated

Enrich Property Inventory Survey with Image Recognition and AI Agent

1. Use Airtable to Capture Survey Photos [Read more about AirTable](https://docs.n8n.io/integrations/builtin/app-nodes/n...

Lmchatopenai
Airtable
Executeworkflow
Http-request
29 nodesEvent
Curated

Extract insights & analyse YouTube comments via AI Agent chat

... or watch set up video [13 min] [![Youtube Thumbnail](https://cflobdhpqwnoisuctsoc.supabase.co/storage/v1/object/publ...

Lmchatopenai
Toolworkflow
Memorypostgreschat
Agent
29 nodesEvent
Curated