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

Tägliche n8n-Workflow-Statusberichte per Gmail senden, nur wenn Probleme auftreten

Läuft täglich um 06:30 oder auf Abruf, prüft n8n-Workflows und Ausführungen auf verpasste Zeitpläne, Fehler und riskante Sub-Workflow-Aufrufe und sendet einen Bericht nur, wenn Probleme gefunden werden.

Was sie bewirkt

## Daily n8n instance health check ### How it works This workflow runs daily at 06:30 or on demand to audit the health of an n8n instance. It loads configuration, fetches published workflows and recent executions, filters the workflows in scope, and checks for missed schedules, errored runs, unprotected failure paths, and risky sub-workflow calls. It then builds a digest and sends an email only when there is something that needs attention; otherwise it ends without notification. ### Setup steps - Configure the n8n credentials used by the n8n nodes so they can read workflows and executions from the target instance. - Set the Config node values for alertEmail, scopeTags, instanceUrl, and defaultTimezone. - Configure the Gmail credentials and sender settings for the Email Health Digest node. - Verify the daily schedule time and timezone match the desired monitoring window. ### Customization Adjust scopeTags and the code-node checks to change which workflows are monitored, how far back execution history is reviewed, and what conditions should trigger the digest email.

Die Schritte

  1. When Every Day at 6:30 AM
  2. Manual Execution Trigger
  3. Set Configuration Parameters
  4. Get Published Workflows
  5. Apply Workflow Scope
  6. Get Recent Error Logs
  7. Identify Scheduled Workflows
  8. Retrieve Last Runs
  9. Verify Missed Schedules
  10. Identify Errored Executions
  11. Detect Silent Failures
  12. Review Sub-workflow Invocations
  13. Assemble Digest Report
  14. Evaluate Digest Sending

Insgesamt 16 Schritte.

Ähnliche Automatisierungen