Workflow: Errortrigger Workflow
Integrations: errorTrigger, mailgun, stopAndError

{"nodes": [{"name": "Error Trigger", "type": "n8n-nodes-base.errorTrigger", "position": [250, 500], "parameters": {}, "typeVersion": 1, "id": "981d62bb-eb3b-46df-9114-b25d46301a28", "notes": "This errorTrigger node performs automated tasks as part of the workflow."}, {"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, "id": "6d6d39c6-7b23-4bee-aa40-776d39391ab5", "notes": "This mailgun node performs automated tasks as part of the workflow."}, {"id": "error-11418145", "name": "Error Handler", "type": "n8n-nodes-base.stopAndError", "typeVersion": 1, "position": [1000, 400], "parameters": {"message": "Workflow execution error", "options": {}}}], "connections": {}, "name": "Errortrigger Workflow", "description": "Automated workflow: Errortrigger Workflow. This workflow processes data and performs automated tasks.", "settings": {"executionOrder": "v1", "saveManualExecutions": true, "callerPolicy": "workflowsFromSameOwner", "errorWorkflow": null, "timezone": "UTC", "executionTimeout": 3600, "maxExecutions": 1000, "retryOnFail": true, "retryCount": 3, "retryDelay": 1000}, "meta": {"instanceId": "workflow-23f531dc", "versionId": "1.0.0", "createdAt": "2025-09-29T07:07:44.462084", "updatedAt": "2025-09-29T07:07:44.462094", "owner": "n8n-user", "license": "MIT", "category": "automation", "status": "active", "priority": "high", "environment": "production"}, "tags": ["automation", "n8n", "production-ready", "excellent", "optimized"], "notes": "Excellent quality workflow: Errortrigger Workflow. This workflow has been optimized for production use with comprehensive error handling, security, and documentation."}