Zum Inhalt springen
NEUMarktplatz und dein Team: Verkaufe, was du baust, und bekomm Pläne und Änderungen, die getestet sind, bevor du sie siehst. Neuigkeiten ansehen

Bibliothek / Monitoring, Betrieb & Störungen

Monitoring, Betrieb & Störungen

Aktive n8n-Workflows markieren, die nicht mehr laufen, über die n8n API

Läuft nach Zeitplan, liest aktive Workflows und letzte Ausführungen über die n8n API und markiert jeden Workflow, der länger als der eingestellte Schwellenwert keine Aktivität zeigt.

Was sie bewirkt

## Silent workflow check Finds workflows that are active but have not run — the failure mode that produces no failed execution and therefore no error workflow alert. ### Setup (2 minutes) 1. In n8n: Settings → n8n API → Create an API key. 2. On Get workflows, create a *Header Auth* credential: - Name: X-N8N-API-KEY - Value: your API key Reuse the same credential on Get executions. 3. In Configuration, set baseUrl to your n8n address (no trailing slash) and staleHours to how long silence is still normal. 4. Attach your own alert node after Find silent workflows. ### The catch This workflow lives inside the instance it watches. If that instance is down, restarting, or its schedule triggers did not re-register, this check does not run either — and its silence looks exactly like everything being fine. That is the one failure it cannot cover. Watching from outside is the only thing that does: https://duskwatch.me/checklist?ref=template

Die Schritte

  1. Every morning
  2. Configuration
  3. Get workflows
  4. Get executions
  5. Find silent workflows

Ähnliche Automatisierungen