Log batch processing results on a schedule
Recipe ToolsMarketingWorkato
What it does
When the clock triggers every 5 minutes, this automation processes a list by looping through each item and logging results. The team monitors batch progress without manual checks.
Who it's for
Operations teams who need to track batch job completion and log outcomes automatically.
Apps used
How teams use this
Monitor batch jobs every 5 minutes
Run this automation on schedule to process a list and log each batch cycle to the job report. The team stays informed without checking manually.
Adjust the schedule for peak hours
Change the clock trigger from every 5 minutes to every 2 minutes during peak processing times. The loop and logging stay the same.
Add error handling and alerts
Include a condition to check for errors during the loop and send a notification if the batch fails. Set up error monitoring so the team is alerted immediately.
How it works
- Start the batch process every 5 minutes. The clock starts this automation on a 5-minute schedule so batch processing runs at regular intervals without manual intervention.
- Initialize variables and create list. Clock creates a repeat helper list and sets start, stop, and counter variables to prepare the loop that processes each item.
- Loop through list items with conditions. For each item in the list, Clock checks if the index equals zero, then updates variables or adds items to the batch list accordingly.
- Log batch results to job report. After the loop completes, Clock logs the batch processing outcome to the job report so the team sees what ran and when.