Get Started
Screenshot of n8n workflow
FREE TEMPLATE
Index Qdrant Image Data for Vector Search
14
Views
0
Downloads
25
Nodes
Download Template
Free
Preview Template
Utility Rating
6 / 10
Business Function
Operations
Automation Orchestrator
n8n
Integrations
Voyage AI
Qdrant
Google Cloud Storage
Trigger Type
Manual trigger
Approx setup time ≈ 45 min
Need help setting up this template?
Ask in our free Futurise community
About
Community
Courses
Events
Members
Templates

How to Index Qdrant Image Data for Vector Search?

Leon Petrou
FREE TEMPLATE
Index Qdrant Image Data for Vector Search
14
Views
0
Downloads
25
Nodes
Download Template
Free
Preview Template
Utility Rating
6 / 10
Business Function
Operations
Automation Orchestrator
n8n
Integrations
Voyage AI
Qdrant
Google Cloud Storage
Trigger Type
Manual trigger
Approximate setup time ≈ 45 minutes
Need help setting up this template?
Ask in our free Futurise community

Description

Build a repeatable pipeline that turns foldered images in cloud storage into searchable vectors. Teams use it to prepare image libraries for fast search and basic anomaly tests by class. It is ideal for product images, farm photos, or satellite scenes.

The flow starts on click, sets cluster details, then checks if a collection exists in Qdrant. If not, it creates a new collection with a named vector and a cosine distance, and builds an index on the label field for quick counts. Next it lists images from Google Cloud Storage using a folder prefix, builds public links, and pulls the class name from each folder. A filter removes one class for testing. The data is split into batches, UUIDs are generated, and the payload is shaped for two APIs. Voyage AI creates embeddings for each batch, and the vectors with payloads are uploaded to Qdrant in one call.

Setup needs accounts for Qdrant, Voyage AI, and Google Cloud Storage. You set the cluster URL, collection name, embedding size, batch size, bucket name, and prefix. Expect a clean, scalable index that cuts manual prep and supports thousands of images. Common uses include visual search, catalog checks, and anomaly testing by class.

Copy link

Tools Required

Voyage AI
Sign up
Free tier via API: first 200M text tokens (embeddings) and 150B image pixels (multimodal). After free: as low as $0.02 per 1M tokens (voyage-3.5-lite); multimodal $0.12 per 1M tokens + $0.60 per 1B pixels (min $0.00003/image).
Qdrant
Sign up
Free tier: $0, 1 GB free cluster (no credit card), accessible via REST/GRPC API
n8n
Sign up
$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.
Google Cloud Storage
Sign up
Always Free: $0, 5 GB-months Standard storage (us-west1/us-central1/us-east1), 5,000 Class A ops, 50,000 Class B ops, 100 GB egress from North America (excludes Australia & China)

What this workflow does?

  • Manual start to control when indexing runs
  • Collection existence check and conditional create to avoid errors on duplicate names
  • Payload index on the class field for fast counts and filters in Qdrant
  • Google Cloud Storage listing by prefix and automatic public link building
  • Label extraction from folder names and an optional class filter for anomaly tests
  • Batch splitting and UUID generation for reliable point IDs
  • Voyage multimodal embeddings and batch upsert to Qdrant with named vectors

What are the benefits?

  • Reduce manual upload and tagging from 4 hours to 15 minutes with batch embedding and batch upsert
  • Streamline image vector prep by about 80 percent compared to one by one scripts
  • Improve data quality by removing missing IDs and labels with UUIDs and clear payload fields
  • Handle thousands of images per run using batching without timeouts
  • Connect Google Cloud Storage, Voyage AI, and Qdrant in one flow for simple maintenance

How to set this up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with Google Cloud Storage, Qdrant and Voyage AI. See the Tools Required section above for links to create accounts with these services.
  3. In the n8n credentials manager, double click the Google Cloud Storage node and click Create new credential. Choose Google Cloud Storage OAuth2, sign in to your Google account, and grant access to the bucket that holds your images.
  4. For Qdrant, open any Qdrant HTTP Request node and click Create new credential. Select the Qdrant API credential, paste your Qdrant Cloud URL and API key from your Qdrant dashboard, and save.
  5. For Voyage AI, open the Embed node, choose HTTP Header Auth, create a new credential, set header name to Authorization and value to Bearer YOUR_VOYAGE_API_KEY. Get the key from the Voyage AI account page.
  6. Open the Qdrant cluster variables node and set qdrantCloudURL, collectionName, VoyageEmbeddingsDim, and batchSize to match your cluster and model.
  7. Open the Google Cloud Storage node and set bucketName and the list prefix to the folder that contains your images.
  8. Ensure your images are accessible via public links. If your bucket is private, allow public read for the objects or switch to signed URLs to let the embedding API fetch the images.
  9. Run the workflow with the manual trigger. Watch the execution to confirm the collection is created, the payload index on the class field is set, and batches are processed.
  10. Verify in Qdrant that the collection exists, the vector size matches your model, and points include payload fields like crop_name. Check counts to ensure the filtered class is excluded.
  11. Troubleshoot common issues: 401 or 403 means fix API keys or permissions, failed image fetch means adjust public access, and collection errors mean review the existence check and variables.

Need help or want to customize this?

Similar Templates

n8n
Operations
Automate Qdrant Crop Anomaly Detection
Use this n8n build to spot images that do not match your crop library. You send an image URL and get a clear message that says which crop it most likely matches or if it is an outlier. Data teams and ops leads use it to keep training data clean and to screen uploads fast. The flow starts with an Execute Workflow Trigger that receives the image URL. A Voyage AI call turns the image into a vector using the voyage multimodal model. The workflow then queries your Qdrant collection and checks similarity against the medoid for each crop class, using the thresholds stored with those centers. Set nodes hold your Qdrant URL, collection name, and center types so you can switch between medoid and text anchor medoid. A code step compares the highest score to the correct threshold type and returns a simple text result. The number of crop classes is pulled from Qdrant, so the query always covers all labels. You will need a Qdrant cluster with your crop data and thresholds already loaded, plus a Voyage AI API key. Expect faster reviews, fewer manual checks, and easy scaling as you add new crops. This setup works well for dataset curation, field upload screening, and quality checks for labeling teams.
3 views
view
n8n
Operations
Automate Qdrant Anomaly Thresholds
Set medoids and clear thresholds in Qdrant to spot outliers in crop clusters. This helps data teams build stable anomaly rules without hand tuning every group. It works for image or text embeddings stored in a vector database. The run starts on click. It gathers total points and crop counts, then splits by each crop name. For each group, it calls the Qdrant distance matrix, builds a sparse matrix in Python, picks the medoid, marks it in Qdrant, gets its vector, then measures distances to set a threshold using the Nth furthest point. A second branch embeds simple text crop descriptions with Voyage AI, finds a medoid by text, and sets a matching threshold. Results from both paths are merged to keep numeric and text logic aligned. You need Qdrant with a collection that has a crop_name field and vectors indexed for voyage. You also need a Voyage AI key for the text step. Expect faster rollout of anomaly checks, fewer manual reviews, and reliable limits per cluster. Good for quality control on farm imagery, dataset cleanup, and watching for changes over time in data.
7 views
view
n8n
Operations
Automate Qdrant Outlier Detection
Finding outliers at scale is hard. This flow sets a center point for each crop group and a distance cutoff so unusual items can be flagged later. Teams in data labeling, agritech, and model ops can keep datasets clean without manual review. It loads collection data from Qdrant, counts all items, and lists unique crop names. For each crop, it calls the Qdrant distance matrix, then a Python step builds a sparse matrix and chooses the medoid, which is the most central point. The flow marks this medoid in Qdrant, fetches its vector, and runs a search to set a cutoff based on the nth furthest neighbor. A second branch creates short crop text descriptions, embeds them with Voyage AI, finds a text based medoid, and writes its threshold too. Both branches rejoin to complete the setup. You need Qdrant access and a Voyage AI key. Expect faster setup, repeatable thresholds, and fewer false alarms when data changes. This fits dataset audits, incoming batch checks, and monitoring of crop images or notes in production.
9 views
view
See More Templates

These templates were sourced from publicly available materials across the web, including n8n’s official website, YouTube and public GitHub repositories. We have consolidated and categorized them for easy search and filtering, and supplemented them with links to integrations, step-by-step setup instructions, and personalized support in the Futurise community. Content in this library is provided for education, evaluation and internal use. Users are responsible for checking and complying with the license terms with the author of the templates before commercial use or redistribution.Where an original author was identified, attribution has been provided. Some templates did not include author information. If you know who created this template, please let us know so we can add the appropriate credit and reference link. If you are the author and would like this template removed from the library, email us at info@futurise.com and we will remove it promptly.