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
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
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 →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Notify-On-Error. Uses errorTrigger, emailSend. Event-driven trigger; 5 nodes.
Send An Email Using Mailgun. Uses manualTrigger, mailgun. Event-driven trigger; 2 nodes.
Send an SMS when a workflow fails. Uses errorTrigger, twilio. Event-driven trigger; 2 nodes.
Error Worflow. Uses errorTrigger, microsoftTeams. Event-driven trigger; 2 nodes.