Monitor stale workflows via the n8n API and send alerts to Slack or Telegram
Ready for 3.0What this workflow does
This workflow has 8 nodes and runs on a schedule (every hour). Along the way it connects Slack and Telegram. It also calls companion.amelus.de over HTTP.
How it runs
Trigger: On a schedule (every hour).
- Monitored Workflows (Code): runs custom JavaScript code
- Get Last Success (HTTP Request): calls an HTTP API
- Evaluate Freshness (Code): runs custom JavaScript code
- Alert: Slack (Slack): uses Slack
- Alert: Telegram (Telegram): uses Telegram
- Alert: Email (Send Email): sends an email over SMTP
- Alert: WorkflowBuddy (iOS Push) (HTTP Request): calls companion.amelus.de (POST)
Services it uses
Other Telegram + Slack templates (130)
HTTP calls to: companion.amelus.de
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 - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Slack
n8n-nodes-base.slack - Telegram
n8n-nodes-base.telegram - Send Email
n8n-nodes-base.emailSend
From the author
Quick Overview This workflow runs hourly to check the last successful execution time of selected n8n workflows via the n8n REST API, and sends an alert (Slack by default, or Telegram, email, or WorkflowBuddy push) when any workflow has gone stale past its…