Build Your Own Image Search Using AI Object Detection, CDN and ElasticSearchBuild Your Own Image Search Using AI Object Detection, CDN and ElasticSearch

1. Get Source Image [Read more about setting variables for your workflow](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.set) For this demo, we'll manually define an image to process. In production however, this image can come from a variety of sources such as drives, webhooks and more.

Workflow Structure (10 nodes)
100%
Manual Trigger
When clicking "Test workflow"
Set
Set Variables
Http Request
Fetch Source Image
Http Request
Use Detr-Resnet-50 Object Classification
Split Out
Split Out Results Only
Filter
Filter Score >= 0.9
Http Request
Fetch Source Image Again
Edit Image
Crop Object From Image
Http Request
Upload to Cloudinary
Elasticsearch
Create Docs In Elasticsearch
Node Types:
trigger
http
logic
default
transform
Requires credentials

Prerequisites

Required Credentials (3)

Cloudflare

Used by: Use Detr-Resnet-50 Object Classification

Docs

Elasticsearch

Used by: Create Docs In Elasticsearch

Docs

Http Query Auth

Used by: Upload to Cloudinary

Docs

Multiple services required

This workflow needs 3 different credentials. Make sure you have accounts for all services before importing.

Complexity

Complex

Advanced features used. Requires n8n experience.

Setup time: ~40 min
Score: 40/100
5 Integrations

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
{
  "meta": {
    "instanceId": "26ba763460b97c249b82942b23b6384876dfeb9327513332e743c5f6219c2b8e"
  },
  "nodes": [
    {
      "id": "6359f725-1ede-4b05-bc19-05a7e85c0865",
      "name": "When clicking \"Test workflow\"",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        680,
        292
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "9e1e61c7-f5fd-4e8a-99a6-ccc5a24f5528",
      "name": "Fetch Source Image",
      "type": "n8n-nodes-base.httpRequest",
...

Workflow Details

Nodes
17
Trigger
Manual
Source
awesome
Added
Dec 4, 2025

Need Help?

Check out the official n8n documentation for detailed guides.

Related Workflows

Easy Image Captioning with Gemini 1.5 Pro

Try it out! This workflow takes an image and generates a caption for it using AI. The OpenAI node has been able to do t...

Lmchatgooglegemini
Outputparserstructured
Editimage
Http-request
16 nodesManual
Curated

Narrating over a Video using Multimodal AI

Try It Out! This n8n template takes a video and extracts frames from it which are used with a multimodal LLM to generat...

Lmchatopenai
Http-request
Google-drive
Editimage
21 nodesManual
Curated

Prompt-based Object Detection with Gemini 2.0

Fig 1. Output of Object Detection ![](https://res.cloudinary.com/daglih2g8/image/upload/fauto,qauto/v1/n8n-workflows/dow...

Http-request
Editimage
14 nodesManual
Curated

Manualtrigger Workflow

Automated workflow: Manualtrigger Workflow. This workflow integrates 9 different services: elasticsearch, filter, httpRe...

Http-request
Editimage
Elasticsearch
17 nodesManual

Manualtrigger Workflow

Automated workflow: Manualtrigger Workflow. This workflow integrates 9 different services: elasticsearch, filter, httpRe...

Http-request
Editimage
Elasticsearch
17 nodesManual

Autonomous AI crawler

Text scraper tool This tool is designed to return all text from the given webpage. šŸ’” Consider adding proxy for better c...

Toolworkflow
Lmchatopenai
Outputparserstructured
Supabase
38 nodesManual
Curated