{
  "name": "Automate e-commerce orders, inventory & feedback with Slack, Sheets & Gmail",
  "nodes": [
    {
      "id": "31e40064-5de4-424d-babe-62a8e83b1738",
      "name": "1. Webhook: New Order",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -144,
        32
      ]
    },
    {
      "id": "f0e9c946-a940-4b56-9149-b3179c919c7f",
      "name": "2. Extract Order Data",
      "type": "n8n-nodes-base.function",
      "position": [
        128,
        32
      ]
    },
    {
      "id": "74cc983a-9289-4ffc-8a97-ea89d9f91321",
      "name": "3. Send Fulfillment Notification (Slack)",
      "type": "n8n-nodes-base.slack",
      "position": [
        368,
        32
      ]
    },
    {
      "id": "3c46ccbf-17c0-4b49-8242-9c130443a53e",
      "name": "4. Schedule Trigger (Daily Inventory Check)",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -144,
        320
      ]
    },
    {
      "id": "47c27927-d61d-46b3-b07d-a2ea8cee2c1a",
      "name": "5. Read Inventory Data (Google Sheets)",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        128,
        320
      ]
    },
    {
      "id": "15e53d99-ae89-4ebc-b31a-1c55241e01bd",
      "name": "6. Filter Low Stock",
      "type": "n8n-nodes-base.function",
      "position": [
        368,
        320
      ]
    },
    {
      "id": "4c2fd977-e174-4e29-8def-9b1e8a8564ea",
      "name": "7. If Low Stock Items?",
      "type": "n8n-nodes-base.if",
      "position": [
        624,
        320
      ]
    },
    {
      "id": "2dacc683-b5dc-4509-9859-4fa48c9707a2",
      "name": "8. Send Low Stock Alert (Slack)",
      "type": "n8n-nodes-base.slack",
      "position": [
        912,
        192
      ]
    },
    {
      "id": "c652fd91-bfe9-4d9a-8ac2-a04231816a4b",
      "name": "9. No Low Stock",
      "type": "n8n-nodes-base.noOp",
      "position": [
        912,
        464
      ]
    },
    {
      "id": "68d07443-6eec-4f0d-ac35-21b3bc3c0d09",
      "name": "10. Webhook: Order Fulfilled (Delayed)",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -144,
        624
      ]
    },
    {
      "id": "d0880eff-35a7-4613-8719-49e6fe301ec4",
      "name": "11. Extract Customer Data (Feedback)",
      "type": "n8n-nodes-base.function",
      "position": [
        128,
        624
      ]
    },
    {
      "id": "e13e32a5-a6f5-489c-b049-237f972bb544",
      "name": "12. Send Feedback Request (Gmail)",
      "type": "n8n-nodes-base.gmail",
      "position": [
        368,
        624
      ]
    },
    {
      "id": "f4567995-2ffe-47c0-8fe3-c4413bfe0af1",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -208,
        272
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "847f36ce-2038-4ece-a5f7-1ddb8fc5639d",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -208,
        560
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "e6a18ab0-1702-4cf3-b2b6-bffcde008ebe",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -208,
        -48
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "1bc849ca-7ca4-45a4-a40e-ce657c5ccfaa",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1008,
        -48
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "6. Filter Low Stock": {
      "main": [
        [
          {
            "node": "7. If Low Stock Items?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1. Webhook: New Order": {
      "main": [
        [
          {
            "node": "2. Extract Order Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2. Extract Order Data": {
      "main": [
        [
          {
            "node": "3. Send Fulfillment Notification (Slack)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7. If Low Stock Items?": {
      "main": [
        [
          {
            "node": "8. Send Low Stock Alert (Slack)",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "9. No Low Stock",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "11. Extract Customer Data (Feedback)": {
      "main": [
        [
          {
            "node": "12. Send Feedback Request (Gmail)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "10. Webhook: Order Fulfilled (Delayed)": {
      "main": [
        [
          {
            "node": "11. Extract Customer Data (Feedback)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "5. Read Inventory Data (Google Sheets)": {
      "main": [
        [
          {
            "node": "6. Filter Low Stock",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "4. Schedule Trigger (Daily Inventory Check)": {
      "main": [
        [
          {
            "node": "5. Read Inventory Data (Google Sheets)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}