Send Gmail alerts for stalled scheduled workflows using the n8n API
Ready for 3.0Ready 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.
What this workflow does
This workflow has 9 nodes and runs on a schedule (every hour). Along the way it connects Gmail.
How it runs
Trigger: On a schedule (every hour).
- Settings (Edit Fields (Set)): sets 3 fields: n8nBaseUrl, silentAfterMinutes, heartbeatUrl
- Get active workflows (HTTP Request): calls an HTTP API
- Get recent executions (HTTP Request): calls an HTTP API
- Check could not run (Gmail): uses Gmail
- Find silent workflows (Code): runs custom JavaScript code
- Anything silent? (If): checks a condition and branches into true / false
- Alert (Gmail): uses Gmail
- Heartbeat (HTTP Request): calls an HTTP API
Services it uses
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 (6)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Gmail
n8n-nodes-base.gmail
From the author
Quick overview This workflow runs hourly to check your n8n instance for active, schedule-triggered workflows that have not completed an execution within a defined time window, and sends an alert email via Gmail when any workflow appears to have silently…