Monitor automation errors with lookup tables
Utilities
What it does
When a scheduled interval arrives, this automation monitors for errors and logs them to a lookup table. Someone receives an email when an error is found, and the table is updated to mark the issue as resolved.
Who it's for
Engineering teams who need to track automation failures and monitor error patterns without manual intervention.
How teams use this
Monitor critical automation failures
Track errors from key workflows in a lookup table and get notified when they occur. The team sees patterns over time without checking logs manually.
Escalate persistent errors to on-call
Route unresolved errors to an on-call engineer by adding a condition that checks rerun count and sends a notification. The lookup table stays the same.
Track errors by automation name
Add a filter to the lookup table search so errors are grouped by the automation that failed. Include the automation name in the log output for faster triage.
How it works
- Run on a scheduled interval. The automation starts at a specified time or frequency so errors are checked consistently without someone having to start it manually.
- Search the error log table. Look up an entry in the Error Logs lookup table that matches the current error so the automation knows if this is a repeat issue.
- Update the error record. Update the entry in the Error Logs lookup table to mark it as resolved or increment the rerun count based on whether the error cleared.
- Log the error message. Log the error message to the lookup table output so the details are captured and someone can review the error pattern later.