Skip to content
Developer & DevOps

Execute Elasticsearch queries on a recurring schedule

5 nodes 553 140 Scheduled trigger
Download

Loading workflow…

Workflow Description

A scheduled automation that runs Elasticsearch queries at fixed intervals, evaluates the retrieved results against defined conditions, and performs targeted actions via HTTP requests or conditional logic based on query outcomes.

How it works

  1. 1.Trigger the workflow on the specified cron schedule
  2. 2.Send a query to Elasticsearch to retrieve matching data
  3. 3.Evaluate conditional logic on the returned results
  4. 4.Execute HTTP request or skip action based on condition evaluation

Use cases

  • Monitor error logs at regular intervals and alert the ops team if critical errors are detected
  • Extract performance metrics from Elasticsearch and push them to an external monitoring dashboard
  • Automatically archive or delete outdated log entries from Elasticsearch on a weekly basis

Requirements

  • Active Elasticsearch instance with accessible indices and sample data
  • Knowledge of cron expression syntax to define execution frequency
  • External HTTP endpoint or webhook URL to receive alerts or data (if applicable)
  • Proper authentication credentials for Elasticsearch access

Service Value

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

Apps Used

Schedule Elasticsearch

Details

Trigger Scheduled trigger
Nodes 5
Apps 2
Views 553
Downloads 140

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 (5)

Cron Trigger

Cron

#1

Elasticsearch Query

Elasticsearch

#2

Check for Alerts

If

#3

Create Work Item

HTTP Request

#4

No Operation, do nothing

No Op

#5
Stay in the loop

Fresh workflows, straight to your inbox

Get newly published DROPIDEA workflows, a clear overview of what they do, and a link to explore them.

  • New workflows
  • Clear overviews
  • Setup guides

Be first to discover what is new

Your name, your email, and one confirmation.

Email confirmation · Unsubscribe anytime