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": [
450,
300
],
"parameters": {},
"typeVersion": 1
},
{
"name": "Gmail",
"type": "n8n-nodes-base.gmail",
"position": [
650,
300
],
"parameters": {
"toList": [
"recipient@email.com"
],
"message": "=Workflow: {{$json[\"workflow\"][\"name\"]}}\nError: {{$json[\"execution\"][\"error\"][\"message\"]}}\nLast node executed: {{$json[\"execution\"][\"lastNodeExecuted\"]}}\nExecution URL: {{$json[\"execution\"][\"url\"]}}\nStacktrace:\n{{$json[\"execution\"][\"error\"][\"stack\"]}}",
"subject": "=n8n Workflow Failure: {{$json[\"workflow\"][\"name\"]}}",
"resource": "message",
"additionalFields": {}
},
"credentials": {
"gmailOAuth2": "<your credential>"
},
"typeVersion": 1
}
],
"connections": {
"Error Trigger": {
"main": [
[
{
"node": "Gmail",
"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.
gmailOAuth2
About this workflow
Error Gmail. Uses errorTrigger, gmail. Event-driven trigger; 2 nodes.
Source: https://github.com/Zie619/n8n-workflows — original creator credit. Request a take-down →