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 →
{
"name": "VivaMarket Error Handler",
"nodes": [
{
"parameters": {},
"id": "aaa00001-0000-0000-0000-000000000001",
"name": "Error Trigger",
"type": "n8n-nodes-base.errorTrigger",
"typeVersion": 1,
"position": [
400,
300
]
},
{
"parameters": {
"fromEmail": "architect.openclaw@gmail.com",
"toEmail": "albertosvallejo@gmail.com",
"subject": "={{ \"\u26a0\ufe0f VivaMarket Churn Workflow ERROR \u2014 \" + $now.format('yyyy-MM-dd') }}",
"html": "=<p><strong>Error en el workflow de retenci\u00f3n VivaMarket.</strong></p>\n<p><strong>Workflow:</strong> {{ $json.workflow?.name ?? 'desconocido' }}</p>\n<p><strong>Nodo:</strong> {{ $json.execution?.lastNodeExecuted ?? 'desconocido' }}</p>\n<p><strong>Fecha:</strong> {{ $now.format('yyyy-MM-dd HH:mm:ss') }}</p>\n<p><strong>Detalle:</strong> {{ $json.execution?.error?.message ?? 'sin detalle' }}</p>",
"options": {}
},
"id": "aaa00001-0000-0000-0000-000000000002",
"name": "Send Error Email",
"type": "n8n-nodes-base.emailSend",
"typeVersion": 2.1,
"position": [
640,
300
],
"credentials": {
"smtp": {
"name": "<your credential>"
}
}
}
],
"connections": {
"Error Trigger": {
"main": [
[
{
"node": "Send Error Email",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"tags": []
}
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.
smtp
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
VivaMarket Error Handler. Uses errorTrigger, emailSend. Event-driven trigger; 2 nodes.
Source: https://github.com/albertosvallejo/daily-customer-churn-predictor/blob/main/n8n/n8n_workflow_error_handler_workflow.json — 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.
Todoist Weekly Review Template. Uses manualTrigger, httpRequest, scheduleTrigger, emailSend. Event-driven trigger; 6 nodes.
Daily Revenue & Remaining Report. Uses mssql, emailSend. Event-driven trigger; 5 nodes.
Manual Schedule. Uses manualTrigger, n8n, scheduleTrigger, noOp. Event-driven trigger; 7 nodes.
Activity Encouragement. Uses strava, noOp, emailSend. Scheduled trigger; 6 nodes.
Manual Schedule. Uses manualTrigger, signl4, openWeatherMap, scheduleTrigger. Event-driven trigger; 5 nodes.