The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"nodes": [
{
"name": "Error Trigger",
"type": "n8n-nodes-base.errorTrigger",
"position": [
250,
500
],
"parameters": {},
"typeVersion": 1
},
{
"name": "Mailgun",
"type": "n8n-nodes-base.mailgun",
"position": [
450,
500
],
"parameters": {
"text": "=Error: {{$node[\"Error Trigger\"].data[\"execution\"][\"error\"][\"message\"]}}\n\nStack Trace:\n{{$node[\"Error Trigger\"].data[\"execution\"][\"error\"][\"stack\"]}}",
"subject": "=Workflow Error: {{$node[\"Error Trigger\"].data[\"workflow\"][\"name\"]}}",
"toEmail": "",
"fromEmail": ""
},
"credentials": {
"mailgunApi": "<your credential>"
},
"typeVersion": 1
}
],
"connections": {
"Error Trigger": {
"main": [
[
{
"node": "Mailgun",
"type": "main",
"index": 0
}
]
]
}
}
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
mailgunApi
About this workflow
Handle Errors From A Different Workflow. Uses errorTrigger, mailgun. Event-driven trigger; 2 nodes.
Source: https://github.com/Zie619/n8n-workflows — original creator credit. Request a take-down →