Cron Automate

For the Cron Automate platform, this workflow runs daily at 12:15 PM to query Elasticsearch for alerts. If alerts are detected, it automatically creates a work item in Azure DevOps, ensuring timely responses to critical issues. If no alerts are found, it performs no action, optimizing resource use while maintaining oversight.

7/8/2025
5 nodes
Medium
schedulemediumelasticsearchnoopautomationlogicconditionalapiintegration
Categories:
Schedule TriggeredMedium Workflow
Integrations:
ElasticsearchNoOp

Target Audience

This workflow is ideal for:
- Data Analysts: Who need to monitor and react to changes in Elasticsearch data.
- Project Managers: Looking to automate task creation based on specific conditions in their project management tools.
- DevOps Engineers: Who want to ensure alerts are efficiently managed through automated processes.
- Business Analysts: Requiring insights from data and automated reporting mechanisms.

Problem Solved

This workflow addresses the need for automated alert management by:
- Scheduling regular checks on Elasticsearch data at 12:15 PM daily.
- Creating work items in Azure DevOps when certain conditions are met, ensuring timely responses to critical alerts.
- Reducing manual intervention, thus saving time and minimizing errors in task management.

Workflow Steps

  • Cron Trigger: The workflow starts at 12:15 PM every day, activating the subsequent nodes.
    2. Elasticsearch Query: It queries Elasticsearch to retrieve relevant data, particularly focusing on alerts.
    3. Check for Alerts: The workflow evaluates whether the total number of hits exceeds a defined threshold. If it does:
    - Proceed to create a work item.
    - If not, it moves to a No Operation node, effectively doing nothing.
    4. Create Work Item: If alerts are found, a work item is created in Azure DevOps, facilitating task management and response.
    5. No Operation: If no alerts are found, the workflow concludes without any action, preserving system resources.
  • Customization Guide

    Users can customize this workflow by:
    - Modifying the Cron Trigger: Change the hour and minute in the Cron Trigger parameters to adjust the schedule as needed.
    - Altering Elasticsearch Query: Update the query options in the Elasticsearch Query node to target different datasets or conditions.
    - Adjusting Alert Conditions: In the Check for Alerts node, users can modify the conditions to fit specific thresholds relevant to their use case.
    - Changing Work Item Creation: Update the URL and parameters in the Create Work Item node to integrate with different projects or types of work items in Azure DevOps.
    - Adding Additional Nodes: Users can include more nodes to extend functionality, such as sending notifications or logging actions.