Zum Inhalt springen
NEULerne Alaaddin kennen, deinen KI-Flaschengeist mit Stimme. trig8n startet am 1. Januar 2027. Neuigkeiten ansehen

Bibliothek / Code, Git & Entwicklertools

Code, Git & Entwicklertools

Audit missing error workflows using the n8n API and Slack

On a schedule, it automates developer work using n8n API, Slack.

Was sie bewirkt

## Audit error workflow coverage in n8n and report the gaps to Slack ### Who's it for Anyone running self-hosted n8n with more than a handful of published workflows. An error workflow in n8n is not instance-wide: every workflow has to name it individually in its own settings. That checkbox is easy to forget, so most instances quietly accumulate published workflows that fail with nobody watching. This template finds them. ### How it works On a weekly schedule it reads every workflow from your own instance through the n8n public API, and keeps only the ones that can actually fail silently: published, not archived, and not an error handler themselves. Whatever is left with no error workflow attached goes on a list, and the list is posted to Slack. When it is empty nothing is sent, so a quiet channel means full coverage. ### How to set up 1. In n8n, go to Settings > n8n API and create an API key. 2. Add an n8n API credential in the Get published workflows node, using that key and your instance URL. 3. Connect Slack in the Post the gaps to Slack node and pick a channel. 4. Run it once with Test workflow, then publish it. ### Requirements Self-hosted n8n with the public API enabled, and a Slack workspace. ### How to customize the workflow The Settings node holds the two values worth changing. ignoreTag names a tag for workflows allowed to run without a handler, so they stop appearing. Set alertWhenClean to true to get the all-clear every week instead of silence. Move the schedule to daily if your instance changes often, and swap Slack for email or Telegram without touching anything upstream.

Die Schritte

  1. Every Monday morning
  2. Settings
  3. Get published workflows
  4. Find workflows with no error workflow
  5. Anything worth saying?
  6. Post the gaps to Slack
  7. Everything is covered

Ähnliche Automatisierungen