Developer & DevOps

Cron Automation

5 nodes 222 104 Scheduled trigger
Download

Workflow Description

A scheduled automation template that executes Elasticsearch queries on recurring intervals using Cron expressions. Enables technical teams to automatically gather data, monitor metrics, and trigger actions based on predefined time-based schedules.

How it works

  1. 1.Define execution schedule using standard Cron expressions
  2. 2.Send dynamic query to target Elasticsearch indices
  3. 3.Process returned results using conditional logic branches
  4. 4.Execute conditional actions based on query results
  5. 5.Forward data to downstream systems via HTTP requests

Use cases

  • Monitor application and server performance health at specific intervals
  • Collect logs and metrics from Elasticsearch periodically for analysis
  • Perform routine maintenance tasks on indices and remove outdated data
  • Create automated alerts when anomalies or errors are detected

Requirements

  • Active connection to Elasticsearch server with read access to indices
  • Understanding of Cron syntax for scheduling execution (e.g., 0 */6 * * * for every 6 hours)
  • Clear definition of required queries and conditions before implementation
  • Available HTTP endpoints if data needs to be sent to external systems

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 222
Downloads 104

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