This workflow follows the Error Trigger → Gmail recipe pattern — see all workflows that pair these two integrations.
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": [
{
"id": "dee0969b-e780-400c-a8d2-383a392b9432",
"name": "On Error",
"type": "n8n-nodes-base.errorTrigger",
"position": [
880,
900
],
"parameters": {},
"typeVersion": 1
},
{
"id": "018f4497-2a68-4de7-a59a-b6714d9211af",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
800,
700
],
"parameters": {
"color": 5,
"width": 424.4907862645661,
"height": 154.7766688696994,
"content": "### \ud83d\udc68\u200d\ud83c\udfa4 Setup\n1. Add your Gmail creds\n2. Add your target email\n2. Add this error workflow to other workflows\nhttps://docs.n8n.io/flow-logic/error-handling/#create-and-set-an-error-workflow"
},
"typeVersion": 1
},
{
"id": "b5d560c0-1de1-4e6c-be4d-0fef1dd42e9e",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
1140,
1080
],
"parameters": {
"width": 241,
"height": 80,
"content": "### \ud83d\udc46\ud83c\udffd Set target email here"
},
"typeVersion": 1
},
{
"id": "f1a73854-5b24-407e-9584-0448ae66f7a0",
"name": "Gmail",
"type": "n8n-nodes-base.gmail",
"position": [
1120,
900
],
"parameters": {
"sendTo": "SET YOUR EMAIL HERE",
"message": "=\u26a0\ufe0f Workflow `{{$json[\"workflow\"][\"name\"]}}` failed to run!\nYou can find the execution here: {{ $json.execution.url }}\n\nerror message from node {{ $json.execution.lastNodeExecuted }}: {{ $json.execution.error.message }}\n\n {{ $json.execution.error.stack }}",
"options": {},
"subject": "=\ud83d\udea8 Error in workflow: {{ $json.workflow.name }}",
"emailType": "text"
},
"credentials": {
"gmailOAuth2": {
"name": "<your credential>"
}
},
"typeVersion": 2.1
}
],
"connections": {
"On Error": {
"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
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Report N8N Workflow Errors Directly To Your Email. Uses errorTrigger, stickyNote, gmail. Event-driven trigger; 4 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.
This workflow sends an alert to the channel of your choice when an execution fails. Connect the tool where you want alerts to be sent (eg. Gmail, Slack, Teams, etc.) Save the workflow Turn on error no
This workflow creates a comprehensive error monitoring system for your n8n instance by automatically capturing workflow failures, logging them to Google Sheets, and sending immediate email notificatio
Error Workflow. Uses gmail, googleSheets, httpRequest, errorTrigger. Event-driven trigger; 7 nodes.
This n8n workflow provides a robust error handling and notification system for your n8n workflows. When an error occurs, it automatically logs the error details to Google Sheets, sends a notification
error-handler. Uses errorTrigger, gmail, slack, googleSheets. Event-driven trigger; 5 nodes.