Skip to content

Instantly share code, notes, and snippets.

@shraey96
Created January 25, 2026 11:24
Show Gist options
  • Select an option

  • Save shraey96/0f1af4860046dd5f9d3f6b899a13d383 to your computer and use it in GitHub Desktop.

Select an option

Save shraey96/0f1af4860046dd5f9d3f6b899a13d383 to your computer and use it in GitHub Desktop.
template_8 - workflow-screenshot When set as "Error Workflow" on other workflow which does fail will it send an E
{
"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": ""
},
"typeVersion": 1
}
],
"connections": {
"Error Trigger": {
"main": [
[
{
"node": "Mailgun",
"type": "main",
"index": 0
}
]
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment