Monitor failed jobs and notify via email
Recipe Tools
What it does
When a scheduled interval triggers, this automation searches a lookup table for failed job entries. If any exist, it sends an email so someone can investigate the failures.
Who it's for
IT teams who need to monitor job failures and get alerted when issues occur.
How teams use this
Monitor critical job failures daily
Run this automation each morning to check overnight job failures and get an email alert. The team starts each day knowing what broke and can prioritize fixes.
Alert ops on production job errors
Point this automation at a production job lookup table and send alerts to an ops email address. The same flow works for any job type you track.
Include job details in the alert
Add a step to format the failed job entries with timestamps and error codes before sending the email. The notification becomes more actionable with context.
How it works
- Run on a specified interval. This automation runs on a schedule you set, such as hourly or daily, to check for new failed jobs.
- Search the failed jobs lookup table. Search entries in the Admin Errored jobs lookup table to find all jobs that failed since the last check.
- Check if failures exist. If the list of failed jobs is greater than zero, the automation proceeds to send a notification. Otherwise it ends.
- Send email with failed job details. Send an email notification with the failed job entries so the team can investigate and resolve the issues.