Developer & DevOps
Cron Automation
5 nodes
221
104
Scheduled trigger
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.Define execution schedule using standard Cron expressions
- 2.Send dynamic query to target Elasticsearch indices
- 3.Process returned results using conditional logic branches
- 4.Execute conditional actions based on query results
- 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
221
Downloads
104
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (5)
Cron Trigger
Cron
Elasticsearch Query
Elasticsearch
Check for Alerts
If
Create Work Item
HTTP Request
No Operation, do nothing
No Op