Use this powerful n8n workflow to automatically analyze images using AI object detection, crop individual objects, and index them into Elasticsearch for building a sophisticated image search tool.
Download this n8n workflow template and start using it instantly.
E-commerce platforms needing automated product image tagging.
Data scientists building large-scale image metadata knowledge bases.
Developers looking for advanced n8n templates integrating AI vision models with NoSQL databases.
Anyone needing an automated n8n node sequence for computer vision tasks and indexing.
Building a robust image search feature traditionally requires extensive backend engineering. This specialized n8n workflow template solves this by providing a complete, low-code automation solution. It leverages modern AI (Cloudflare Workers AI's DETR model) to perform precise object detection. Once objects are identified, the n8n workflow crops them out of the source image and uploads them to a reliable CDN (Cloudinary). Finally, the resulting image URLs and metadata (like the object label and bounding box) are indexed into Elasticsearch. This entire process, orchestrated by the n8n node operations, creates a highly granular, object-associated index, moving beyond simple keyword tagging to enable powerful image search capabilities using this powerful n8n workflow.
This powerful n8n workflow begins with a manual n8n trigger for testing, although it can easily be adapted to a webhook or scheduled n8n node.
Set Variables n8n node defines crucial configuration, including the source image URL and credentials for the AI model and Elasticsearch index.Use Detr-Resnet-50 Object Classification HTTP Request n8n node, which sends the binary data to Cloudflare Workers AI for object detection, relying on the configured AI model.Split Out Results Only n8n node, and then meticulously filtered by the Filter Score >= 0.9 n8n node to ensure only high-confidence detections are carried forward, guaranteeing data integrity in this n8n workflow.Crop Object From Image Edit Image n8n node uses the precise bounding box coordinates returned by the AI to cut the object out, generating a new, smaller image file for each item detected.create operation to index the data, finalizing the automated indexing process of this n8n workflow.Cloudflare API credential. This is required for the Use Detr-Resnet-50 Object Classification n8n node to access the Workers AI service.HTTP Query Auth credential named "Cloudinary API" for the Upload to Cloudinary n8n node, providing necessary API keys and ensuring the uploadpreset is correctly set in the node parameters.Elasticsearch API credential for the Create Docs In Elasticsearch n8n node, ensuring connectivity to your desired index.Set Variables n8n node and update the CLOUDFLAREACCOUNTID and the sourceimage URL. Ensure the elasticsearch_index value aligns with your Elasticsearch setup. When clicking "Test workflow" (Manual Trigger): The initiating n8n trigger for this automation, used for immediate execution and testing purposes.
Set Variables (Set n8n node): Crucial setup n8n node. Defines global parameters such as Cloudflare account details, the specific AI model (@cf/facebook/detr-resnet-50), the target sourceimage URL, and the elasticsearchindex name, essential for the rest of the n8n workflow.
Use Detr-Resnet-50 Object Classification (HTTP Request n8n node): Sends the binary image data to the Cloudflare AI endpoint for high-precision object detection, relying on the Cloudflare API credential configured in the n8n workflow.
Filter Score >= 0.9 (Filter n8n node): A core logic n8n node that ensures only AI detections with a high confidence score (0.9 or greater) are processed, maintaining data quality for the generated index.
Crop Object From Image (Edit Image n8n node): An essential image processing n8n node. It dynamically calculates the necessary crop dimensions and position based on the AI's returned bounding box data for each object detected.
Upload to Cloudinary (HTTP Request n8n node): Handles external storage by uploading the cropped binary image data to the Cloudinary CDN.
create operation to store the image URL, label, and full metadata into the specified Elasticsearch index, completing the process defined by this powerful n8n template.Deploy an advanced psychological support n8n workflow on LINE. This n8n automation uses the n8n trigger and Azure OpenAI to power a CBT therapist chatbot with robust flow control.

Automate robust customer service using this n8n workflow. It monitors Gmail, employs a multi-model AI agent (Gemini/OpenAI fallback), logs data to Google Sheets, and sends professional automated replies.

Deploy a powerful n8n workflow that connects an AI agent (GPT-4o) to Google Sheets, enabling complex data analysis and filtering via natural language. Leverage this advanced n8n templates solution.

Build a smart Voiceflow chatbot or phone agent backend using this n8n workflow. Integrate RAG with Qdrant, handle order tracking, and manage appointments via Google Calendar with n8n templates.

Use this comprehensive n8n workflow to manage targeted email marketing campaigns. Automate segmentation, validate emails, and schedule personalized delivery via Google Sheets and MailerSend.


Freelance consultant based in the UK specialising in AI-powered automations. I work with select clients tackling their most challenging projects. For business enquiries, send me an email at [email protected] LinkedIn: https://www.linkedin.com/in/jimleuk/ X/Twitter: https://x.com/jimle_uk







































