Send urgent failure alerts and daily digests with Gmail and data tables
Ready for 3.0What this workflow does
This workflow has 15 nodes and runs when another workflow fails (error workflow) (plus 3 other triggers). Along the way it connects Gmail.
How it runs
Trigger: When another workflow fails (error workflow) (plus 3 other triggers).
- Turn Failure Into Alert (Code): runs custom JavaScript code
- Clean Up Alert (Code): runs custom JavaScript code
- Sample Alerts (Code): runs custom JavaScript code
- Load Queued Alerts (Data table): get (row)
- Is It Urgent? (If): checks a condition and branches into true / false
- Build Digest (Code): runs custom JavaScript code
- Email: Urgent Alert Now (Gmail): send (message)
- Queue for Evening Digest (Data table): insert (row)
- Email: Daily Digest (Gmail): send (message)
- List Rows to Mark Sent (Code): runs custom JavaScript code
…plus 1 more step. See the full node list below.
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (8)
- Error Trigger
n8n-nodes-base.errorTrigger - Code
n8n-nodes-base.code - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Manual Trigger
n8n-nodes-base.manualTrigger - If
n8n-nodes-base.if - Gmail
n8n-nodes-base.gmail - Data table
n8n-nodes-base.dataTable - Schedule Trigger
n8n-nodes-base.scheduleTrigger
From the author
Quick overview This workflow centralizes n8n workflow failures and custom alerts, emailing urgent issues immediately via Gmail and batching non-urgent alerts into a single scheduled evening digest stored in an n8n Data Table. How it works 1. Triggers when…