OpsSource: AY Automate

Slack Error Alerting for Automations

A wrapper pattern that catches failures in any workflow and posts a formatted alert to Slack with the error message and the run link, so a broken automation gets noticed the same day instead of silently failing for weeks.

What this template does

A wrapper pattern that catches failures in any workflow and posts a formatted alert to Slack with the error message and the run link, so a broken automation gets noticed the same day instead of silently failing for weeks. It's categorized in our directory under Ops Automation internal operations: invoicing, reporting, data sync, and the glue work that keeps a business running between tools that don't talk to each other natively.

Integrations

  • Slack
    Slack
  • n8n
    n8n

Setup steps

  1. 1Add an error-trigger workflow that any other workflow can call on failure.
  2. 2Capture the failing node name and error message.
  3. 3Format and post the alert to a dedicated #automation-alerts Slack channel.
  4. 4Link back to the failed execution so debugging starts immediately.

More Ops templates

Other ops automation templates in our directory.