Templates / Alert on consecutive empty workflow runs with email and Slack

Alert on consecutive empty workflow runs with email and Slack

Ready for 3.0

by LeadPulse · 0 views · created 2026-11-13 · DevOps

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 9 nodes and runs on a schedule (every hour). Along the way it connects Slack.

How it runs

Trigger: On a schedule (every hour).

  1. Zero-Item Config (Edit Fields (Set)): sets 10 fields: n8nBaseUrl, workflowIds, consecutiveEmptyRuns…
  2. Split Workflow IDs (Code): runs custom JavaScript code
  3. Get Executions (HTTP Request): calls an HTTP API (GET)
  4. Detect Empty Streaks (Code): runs custom JavaScript code
  5. Has Empty Streak? (If): checks a condition and branches into true / false
  6. Send Alert Email (Send Email): sends an email over SMTP
  7. Slack Enabled? (If): checks a condition and branches into true / false
  8. Send Slack Alert (Slack): uses Slack

Services it uses

Slack

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (7)

From the author

Quick overview A filter or a changed API can make a workflow succeed while processing nothing. One empty run is often normal; three in a row usually is not. How it works 1. This workflow calls GET /api/v1/executions?includeData=true&status=success for each…

Excerpt from LeadPulse's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.