{
  "name": "Monitor Shopify inventory & send low stock alerts to Slack",
  "nodes": [
    {
      "id": "a02768c5-a7d4-491a-b140-befbcd5f2c7b",
      "name": "Daily Inventory Check",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -840,
        340
      ]
    },
    {
      "id": "5b063339-70a3-4d41-a396-b3f49626ad78",
      "name": "Get All Products",
      "type": "n8n-nodes-base.shopify",
      "position": [
        -620,
        340
      ]
    },
    {
      "id": "c992fedb-0c21-493f-8b0b-cbd6a7335a40",
      "name": "Filter Low Stock Items",
      "type": "n8n-nodes-base.code",
      "position": [
        -400,
        340
      ]
    },
    {
      "id": "ba2f6f7f-540a-4d48-99a5-75cb28c88753",
      "name": "Check if Alerts Needed",
      "type": "n8n-nodes-base.if",
      "position": [
        -180,
        340
      ]
    },
    {
      "id": "f20e4aa3-588b-4da8-b0d4-e097711f1747",
      "name": "Format Alert Message",
      "type": "n8n-nodes-base.set",
      "position": [
        40,
        340
      ]
    },
    {
      "id": "3ddc4707-1295-41cd-a874-f0601f66c995",
      "name": "Send Inventory Alert",
      "type": "n8n-nodes-base.slack",
      "position": [
        260,
        340
      ]
    },
    {
      "id": "9b6e400f-d16d-44b3-8ee2-d68ac6a89fc3",
      "name": "Workflow Info",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1200,
        160
      ],
      "parameters": {
        "width": 320,
        "height": 400,
        "content": "## 📦 INVENTORY LOW STOCK MONITOR\n\n**Author: DAVID OLUSOLA**\n\nWORKFLOW PURPOSE:\nAutomatically monitor Shopify inventory levels and alert when products are running low\n\nSETUP REQUIREMENTS:\n- Shopify sto"
      }
    },
    {
      "id": "2b68b93f-b4a8-49d6-bb8d-87f4028cf81c",
      "name": "Features & Config",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "width": 300,
        "height": 280,
        "content": "**KEY FEATURES**:\n✅ Daily automated inventory checks\n✅ Customizable stock thresholds\n✅ Multi-variant product support\n✅ Detailed low stock reporting\n✅ Proactive restocking alerts\n\nCONFIGURATION NOTES:\n"
      }
    },
    {
      "id": "9c1250d3-08bf-47da-bdf2-40b95bcb584d",
      "name": "Business Value",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        100,
        500
      ],
      "parameters": {
        "width": 260,
        "height": 200,
        "content": "**BUSINESS VALUE**:\n🚫 Prevent stockouts\n💰 Maintain sales revenue\n📊 Better inventory management\n⏰ Proactive restocking\n\nTIME TO BUILD: 20 minutes\nDIFFICULTY: Intermediate\nROI: High - prevents lost sale"
      }
    },
    {
      "id": "9fbe2564-05df-4453-9961-fe98d0873eb4",
      "name": "Threshold Guide",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -500,
        80
      ],
      "parameters": {
        "width": 280,
        "height": 240,
        "content": "**THRESHOLD CUSTOMIZATION**:\nModify the lowStockThreshold variable in the Code node:\n\nconst lowStockThreshold = 10;\n\nChange 10 to your desired threshold:\n- 5 for fast-moving items\n- 20 for slow-moving"
      }
    }
  ],
  "connections": {
    "Get All Products": {
      "main": [
        [
          {
            "node": "Filter Low Stock Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Alert Message": {
      "main": [
        [
          {
            "node": "Send Inventory Alert",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Daily Inventory Check": {
      "main": [
        [
          {
            "node": "Get All Products",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check if Alerts Needed": {
      "main": [
        [
          {
            "node": "Format Alert Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter Low Stock Items": {
      "main": [
        [
          {
            "node": "Check if Alerts Needed",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}