{ "nodes": [ { "name": "Error Trigger", "type": "n8n-nodes-base.errorTrigger", "position": [ 450, 300 ], "parameters": {}, "executeOnce": false, "retryOnFail": false, "typeVersion": 1, "alwaysOutputData": true, "id": "notify-slack-when-a-workflow-fails-0" }, { "name": "Slack", "type": "n8n-nodes-base.slack", "position": [ 650, 300 ], "parameters": { "channel": "YOUR_SLACK_CHANNEL", "text": "={{ `🐞 What?!\\n*This execution ${$json.workflow.name} went wrong*\\nWhy don't you go take a look ${$json.execution?.url || \"not available\"}` }}", "attachments": [], "otherOptions": {} }, "typeVersion": 1, "id": "notify-slack-when-a-workflow-fails-1" } ], "connections": { "Error Trigger": { "main": [ [ { "node": "Slack", "type": "main", "index": 0 } ] ] } }, "name": "Notify Slack When a Workflow Fails", "active": false, "pinData": {} }