{ "name": "Notify warehouse from Inventory sheet and send to Slack", "nodes": [ { "id": "trigger-inventory-sheet", "name": "Incoming Trigger", "type": "n8n-nodes-base.webhook", "typeVersion": 1, "position": [ -600, 176700 ], "parameters": { "httpMethod": "POST", "path": "notify-warehouse-from-inventory-sheet-and-send-to-slack", "responseCode": 200, "responseMode": "onReceived" } }, { "id": "fetch-inventory-sheet", "name": "Fetch data from Inventory sheet", "type": "n8n-nodes-base.httpRequest", "typeVersion": 1, "position": [ -300, 176700 ], "parameters": { "method": "GET", "url": "https://api.example.com/inventory-sheet", "responseFormat": "json" } }, { "id": "send-slack", "name": "Send to Slack", "type": "n8n-nodes-base.httpRequest", "typeVersion": 1, "position": [ 300, 176700 ], "parameters": { "method": "POST", "url": "https://api.example.com/slack", "responseFormat": "json", "options": {} } }, { "id": "error-handler-600-176700", "name": "Send Error to Slack", "type": "n8n-nodes-base.slack", "typeVersion": 1, "position": [ 600, 176700 ], "parameters": { "resource": "message", "operation": "post", "channel": "#automation-alerts", "text": "={{ $json.get('error_message', 'An error occurred') }}" } } ], "connections": { "Incoming Trigger": { "main": [ [ { "node": "Fetch data from Inventory sheet", "type": "main", "index": 0 } ] ] }, "Fetch data from Inventory sheet": { "main": [ { "node": "Send to Slack", "type": "main", "index": 0 } ] }, "Send to Slack": { "main": [ [ { "node": "Send Error to Slack", "type": "main", "index": 0 } ] ] } }, "settings": {}, "active": false }