Error handling: Send email via Gmail on execution or trigger-level errors
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 10 nodes and runs when another workflow fails (error workflow). Along the way it connects Gmail.
How it runs
Trigger: When another workflow fails (error workflow).
- Config (Edit Fields (Set)): sets 3 fields: config.appUrl, config.emailing.sendTo, config.emailing.senderName
- Constants (Edit Fields (Set)): sets 5 fields: workflow.url, workflow.isExecutionError, errorHandlingWorkflow.id…
- Merge: merges the data from its input branches
- If: checks a condition and branches into true / false
- Gmail: uses Gmail
- HTML: parses or builds HTML
- HTML: parses or builds HTML
- KeepEitherOfHTMLs (Merge): merges the data from its input branches
- Code: runs custom JavaScript code
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 (7)
- Error Trigger
n8n-nodes-base.errorTrigger - Gmail
n8n-nodes-base.gmail - Merge
n8n-nodes-base.merge - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - HTML
n8n-nodes-base.html - Code
n8n-nodes-base.code
From the author
This error handling workflow emails detailed notifications on workflow execution and trigger errors. It extends Send email via Gmail on workflow error template by covering trigger-level errors. --- Features - Get notifications on both main workflow trigger…