{
  "name": "Segment WooCommerce customers for targeted marketing with RFM analysis",
  "nodes": [
    {
      "id": "5db1ea37-aa49-4081-8fd0-fa9416cbcff4",
      "name": "Manual Start",
      "type": "n8n-nodes-base.start",
      "position": [
        0,
        0
      ]
    },
    {
      "id": "c6c0b7d2-e1d4-442d-aff5-b206426411bc",
      "name": "Weekly Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        0,
        200
      ]
    },
    {
      "id": "e00baa15-fd2c-444b-9c31-189d6b9986c7",
      "name": "Fetch Orders From WooCommerce",
      "type": "n8n-nodes-base.wooCommerce",
      "position": [
        200,
        0
      ]
    },
    {
      "id": "ef5905d0-4db8-4e57-bc4e-44b72d3bf4a6",
      "name": "Compute RFM Segmentation",
      "type": "n8n-nodes-base.code",
      "position": [
        480,
        0
      ]
    },
    {
      "id": "5702ae22-50a8-4a53-9fef-593a9e4c8001",
      "name": "Generate Segment Summary",
      "type": "n8n-nodes-base.code",
      "position": [
        840,
        0
      ]
    },
    {
      "id": "4b4993f8-25d0-4109-bec7-41902c065eb3",
      "name": "Build Report Page",
      "type": "n8n-nodes-base.html",
      "position": [
        1120,
        0
      ]
    },
    {
      "id": "76665a4f-a27d-42a2-81dd-4e62411a7129",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        -460
      ],
      "parameters": {
        "width": 740,
        "height": 440,
        "content": "## 🛠️ Setup Instructions for This Workflow\n\nBefore running this workflow, make sure to do the following:\n\n1. **Connect Your WooCommerce Store**  \n   Go to the `Fetch Orders From WooCommerce` node and "
      }
    }
  ],
  "connections": {
    "Manual Start": {
      "main": [
        [
          {
            "node": "Fetch Orders From WooCommerce",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Weekly Trigger": {
      "main": [
        [
          {
            "node": "Fetch Orders From WooCommerce",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Compute RFM Segmentation": {
      "main": [
        [
          {
            "node": "Generate Segment Summary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Segment Summary": {
      "main": [
        [
          {
            "node": "Build Report Page",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Orders From WooCommerce": {
      "main": [
        [
          {
            "node": "Compute RFM Segmentation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}