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

n8n-Workflow-Zustand anhand des Ausführungsverlaufs überwachen und über Telegram alarmieren

Läuft alle sechs Stunden, prüft aktive n8n-Workflows und aktuelle Ausführungen und sendet nur dann eine Telegram-Warnung, wenn Fehler oder Probleme gefunden werden.

Was sie bewirkt

### How it works This workflow runs every six hours to monitor active n8n workflows. It lists published workflows, excludes the monitor workflow itself, then loops through each remaining workflow to fetch its definition and recent execution history. After all workflows are assessed, it builds a health report and sends a Telegram alert only when issues are detected. ### Setup steps - Configure the n8n credentials used by the n8n nodes so they can list workflows, retrieve workflow details, and read executions from the target instance. - Confirm the schedule trigger interval is appropriate for your monitoring needs. - Update the exclusion logic so the monitor workflow reliably filters itself out. - Set up Telegram bot credentials and the destination chat ID, then enable the Telegram alert node after testing. ### Customization Adjust the assessment and report code nodes to change what counts as unhealthy, how many executions are reviewed, and the wording or destination of alert messages.

Die Schritte

  1. Every 6 Hours Trigger
  2. Fetch Active Workflows
  3. Filter Active Workflows
  4. Loop Over Workflow Batches
  5. Retrieve Workflow Details
  6. Fetch Recent Executions
  7. Evaluate Workflow Health
  8. Generate Health Report
  9. Check for Alerts
  10. Send Telegram Alert
  11. Send a message

Ähnliche Automatisierungen