{
  "nodes": [
    {
      "id": "1",
      "type": "input",
      "data": {
        "selected": false
      },
      "position": {
        "x": 0,
        "y": 0
      },
      "className": "node"
    },
    {
      "id": "node_1",
      "type": "action",
      "position": {
        "x": 0,
        "y": 144
      },
      "data": {
        "label": "New action",
        "config": {},
        "type": "action",
        "selected": false,
        "actionType": "set-groups",
        "groups": [
          {
            "id": "g_elig",
            "name": "ELIGIBLE ITEMS",
            "conditionMatching": 1,
            "conditions": [
              {
                "type": "and",
                "variable": {
                  "path": "cart.lines[0].merchandise.product.hasTags",
                  "variableName": "Product Tags",
                  "variableType": "String![]"
                },
                "operator": "IsNotAnyOf",
                "value": "no-discount",
                "isArray": false
              },
              {
                "type": "and",
                "variable": {
                  "path": "cart.lines[0].merchandise.product.inCollections",
                  "variableName": "Product Collections",
                  "variableType": "Int![]"
                },
                "operator": "IsNotAnyOf",
                "value": [
                  {
                    "id": "gid://shopify/Collection/1001",
                    "title": "New Arrivals"
                  },
                  {
                    "id": "gid://shopify/Collection/1002",
                    "title": "Gift Cards"
                  }
                ],
                "isArray": false
              }
            ]
          }
        ]
      },
      "className": "node"
    },
    {
      "id": "node_2",
      "type": "action",
      "position": {
        "x": 0,
        "y": 481
      },
      "data": {
        "label": "New action",
        "config": {},
        "type": "action",
        "selected": false,
        "actionType": "apply-discount",
        "discountType": "percentage",
        "value": 15,
        "message": "15% off storewide",
        "strategy": "ALL",
        "target_groups": [
          "g_elig"
        ],
        "applies_to_each_item": false,
        "qty_enabled": false,
        "qty": ""
      },
      "className": "node"
    }
  ],
  "edges": [
    {
      "id": "1-hThen-node_1",
      "source": "1",
      "sourceHandle": "hThen",
      "target": "node_1",
      "animated": false
    },
    {
      "id": "node_1-hThen-node_2",
      "source": "node_1",
      "sourceHandle": "hThen",
      "target": "node_2",
      "animated": false
    }
  ]
}