Developer & DevOps

Search Elasticsearch and filter results with dynamic processing

17 nodes 282 114 Automatic trigger
Download

Workflow Description

An automated workflow that receives manual requests, queries Elasticsearch via HTTP, filters results based on custom conditions, and processes data dynamically. Supports parallel data splitting and image editing within the pipeline for optimized performance.

How it works

  1. 1.Receive manual trigger request through n8n interface
  2. 2.Send HTTP request with query parameters to Elasticsearch endpoint
  3. 3.Apply filter conditions to retrieve matching results
  4. 4.Split processed data for parallel execution
  5. 5.Edit or transform images attached to results
  6. 6.Store final data in workflow variables for export

Use cases

  • Execute advanced searches across large document repositories and log databases
  • Filter and refine search results according to business-specific criteria
  • Automate search-and-retrieve workflows within DevOps and developer pipelines

Requirements

  • Active Elasticsearch instance with accessible API endpoint and authentication credentials
  • Basic knowledge of Elasticsearch query syntax and JSON structure
  • Permissions to process and manipulate images and sensitive data

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

Elasticsearch

Details

Trigger Automatic trigger
Nodes 17
Apps 1
Views 282
Downloads 114

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (17)

/

When clicking "Test workflow"

Manual Trigger

#1

Fetch Source Image

HTTP Request

#2

Split Out Results Only

Split Out

#3

Filter Score >= 0.9

Filter

#4

Crop Object From Image

Edit Image

#5

Set Variables

Set

#6

Use Detr-Resnet-50 Object Classification

HTTP Request

#7

Upload to Cloudinary

HTTP Request

#8

Create Docs In Elasticsearch

Elasticsearch

#9

Sticky Note

Sticky Note

#10

Sticky Note1

Sticky Note

#11

Sticky Note2

Sticky Note

#12

Sticky Note3

Sticky Note

#13

Sticky Note4

Sticky Note

#14

Fetch Source Image Again

HTTP Request

#15

Sticky Note8

Sticky Note

#16

Sticky Note5

Sticky Note

#17