{
  "name": "Send weekly low‑stock alerts from WooCommerce to Slack and Jira",
  "nodes": [
    {
      "id": "c6f72eec-9aae-49c6-9abd-eb8cd04358e9",
      "name": "Format Low Stock Message",
      "type": "n8n-nodes-base.code",
      "position": [
        -192,
        1296
      ]
    },
    {
      "id": "edabdcc0-e9c2-489f-bc4f-14c7129caefa",
      "name": "Format Urgent Low Stock Message",
      "type": "n8n-nodes-base.code",
      "position": [
        192,
        1872
      ]
    },
    {
      "id": "5ad562cc-fe26-454c-9569-461a5b258c63",
      "name": "Get many products from WooCommerce",
      "type": "n8n-nodes-base.wooCommerce",
      "position": [
        -784,
        1568
      ]
    },
    {
      "id": "bb41f575-f1c0-4d84-9294-9abe592df4f8",
      "name": "Separate products to low stock and very low stock",
      "type": "n8n-nodes-base.code",
      "position": [
        -576,
        1568
      ]
    },
    {
      "id": "63f53062-3a39-484d-bc4e-9400f8be31f9",
      "name": "Format Urgent Low Stock Message for Jira",
      "type": "n8n-nodes-base.code",
      "position": [
        -208,
        1872
      ]
    },
    {
      "id": "e63258d7-1ea0-4b67-bea3-7dae80ff85ac",
      "name": "Create an Issue in Jira",
      "type": "n8n-nodes-base.jira",
      "position": [
        -16,
        1872
      ]
    },
    {
      "id": "0af43599-f69e-41ab-95a9-8672e6cbb473",
      "name": "Send Urgent Low Stock Alert to Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        384,
        1872
      ]
    },
    {
      "id": "58c3b42b-cc26-47be-a6bc-fdacafafd7e4",
      "name": "Send Low Stock Alert to Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        0,
        1296
      ]
    },
    {
      "id": "cdd6a207-7719-467a-940c-d9169c5db387",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1856,
        848
      ],
      "parameters": {
        "width": 624,
        "height": 1344,
        "content": "## How It Works\n\nThis workflow automatically monitors product inventory levels in WooCommerce on a scheduled basis and sends alerts when stock falls below defined thresholds.\n\n-> Every Monday at midni"
      }
    },
    {
      "id": "a08c3dfc-25d0-4dc6-8551-69d202f9b41a",
      "name": "Inventory Check Scheduler",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -1120,
        1568
      ]
    },
    {
      "id": "5e5c7e59-b8a0-47dd-a9f5-b4318fea17d8",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1184,
        1472
      ],
      "parameters": {
        "width": null,
        "height": 272,
        "content": "Runs the workflow automatically every Monday at midnight without manual intervention."
      }
    },
    {
      "id": "dc8b14cf-a874-4eec-9457-1d6787b576ff",
      "name": "Sticky Note10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -896,
        1312
      ],
      "parameters": {
        "width": 512,
        "height": 432,
        "content": "This part fetches all products from WooCommerce and analyzes their inventory levels.\n\nOnly products with managed stock are considered.\nEach product’s stock quantity is compared against category-wise t"
      }
    },
    {
      "id": "d22ca891-b33e-4aab-8b0a-930a298c56c4",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -288,
        1056
      ],
      "parameters": {
        "width": 560,
        "height": 416,
        "content": "This section prepares a formatted Slack message listing all products with low stock levels.\n\nThe alert includes:\n - Product name\n - Current stock\n - Category\n\n\nThe message is sent to the low stock Sla"
      }
    },
    {
      "id": "20930bc8-f1b7-4894-95eb-311db10ee411",
      "name": "Sticky Note12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -288,
        1568
      ],
      "parameters": {
        "width": 832,
        "height": 480,
        "content": "This part handles products with very low (urgent) stock.\n\nFirst, a Jira issue is created with:\n - A clear summary\n - High priority\n - Detailed product list in the description\n\nAfter the Jira issue is "
      }
    }
  ],
  "connections": {
    "Create an Issue in Jira": {
      "main": [
        [
          {
            "node": "Format Urgent Low Stock Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Low Stock Message": {
      "main": [
        [
          {
            "node": "Send Low Stock Alert to Slack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Inventory Check Scheduler": {
      "main": [
        [
          {
            "node": "Get many products from WooCommerce",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Urgent Low Stock Message": {
      "main": [
        [
          {
            "node": "Send Urgent Low Stock Alert to Slack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get many products from WooCommerce": {
      "main": [
        [
          {
            "node": "Separate products to low stock and very low stock",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Urgent Low Stock Message for Jira": {
      "main": [
        [
          {
            "node": "Create an Issue in Jira",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Separate products to low stock and very low stock": {
      "main": [
        [
          {
            "node": "Format Low Stock Message",
            "type": "main",
            "index": 0
          },
          {
            "node": "Format Urgent Low Stock Message for Jira",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}