n8n
Workflow
Report N8n Workflow Errors Directly To Your Email
This n8n workflow automates tasks and integrates with various services. Report N8n Workflow Errors Directly To Your Email - ready to import and run in your n8n instance.
n8n
workflow.json
About This Script
This n8n workflow automates tasks and integrates with various services. Report N8n Workflow Errors Directly To Your Email - ready to import and run in your n8n instance.
Features:
- Automates workflow tasks
- Ready to import into n8n
- Configurable parameters
Source Code
{
"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": "#FFF59D",
"width": 424.4907862645661,
"height": 154.7766688696994,
"content": "Configuration note: update with your credentials or endpoint."
},
"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": "Configuration note: update with your credentials or endpoint.",
"color": "#FFF59D"
},
"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": {
"id": "8",
"name": "Work Gmail account"
}
},
"typeVersion": 2.1
}
],
"connections": {
"On Error": {
"main": [
[
{
"node": "Gmail",
"type": "main",
"index": 0
}
]
]
}
},
"n8n_version": "1.5.0"
}
Requirements
n8n instance, API credentials for connected services
Tags
#n8n
#automation
#workflow