Log workflow metrics every 5 minutes
Recipe ToolsMarketing
What it does
When the clock triggers every 5 minutes, this automation creates a variable and builds a list to process. It loops through each item to update a running total and logs the result to the job report.
Who it's for
Operations teams who monitor workflow progress at regular intervals without manual checks.
Apps used
How teams use this
Track completed items every 5 minutes
Run the loop every 5 minutes to count completed items and log the total to the job report. The team sees current progress without checking manually.
Monitor queue depth throughout the day
Filter the list to only pending items and log how many remain each cycle. The team gains visibility into backlog trends without extra steps.
Notify when totals cross a limit
Add a condition after the loop to check if the total exceeds a threshold and send a notification. The same schedule and logging remain in place.
How it works
- Start the scheduled loop. The Clock starts this automation on a 5-minute schedule, running repeatedly without any manual input needed to begin.
- Initialize the total variable. Create a variable to hold the running total and build a list of items to process in the loop that follows.
- Loop and update the total. For each item in the list, update the running total and log the current value to the job report so progress is tracked.