{
  "name": "Recover Abandoned Wix Carts With an Automated SMS Nudge",
  "nodes": [
    {
      "name": "Wix — Cart Abandoned",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4,
      "parameters": {
        "method": "POST",
        "url": "https://api.example.com/replace-with-real-endpoint",
        "sendBody": true,
        "options": {}
      },
      "notes": "Wix has no dedicated n8n node — use an HTTP Request to the Wix API. Use the abandoned-checkout trigger/event.",
      "position": [
        260,
        300
      ]
    },
    {
      "name": "Wait 1 Hour",
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1,
      "parameters": {
        "amount": 1,
        "unit": "hours"
      },
      "notes": "Give the shopper time to return on their own.",
      "position": [
        500,
        300
      ]
    },
    {
      "name": "Wix — Order Lookup",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4,
      "parameters": {
        "method": "POST",
        "url": "https://api.example.com/replace-with-real-endpoint",
        "sendBody": true,
        "options": {}
      },
      "notes": "Wix has no dedicated n8n node — use an HTTP Request to the Wix API. Look up by email to see if they already completed checkout.",
      "position": [
        740,
        300
      ]
    },
    {
      "name": "Guard",
      "type": "n8n-nodes-base.if",
      "typeVersion": 2,
      "parameters": {
        "conditions": {
          "conditions": [
            {
              "leftValue": "={{ $json.recovery_url }}",
              "rightValue": "",
              "operator": {
                "type": "string",
                "operation": "notEmpty"
              }
            }
          ],
          "combinator": "and"
        }
      },
      "notes": "Continue only if the cart is still open.",
      "position": [
        980,
        300
      ]
    },
    {
      "name": "Send SMS",
      "type": "n8n-nodes-base.twilio",
      "typeVersion": 1,
      "parameters": {
        "operation": "send",
        "message": "=Still thinking it over? Finish here: {{ $json.recovery_url }}"
      },
      "notes": "Use a Twilio number; WhatsApp requires an approved sender.",
      "position": [
        1220,
        300
      ]
    },
    {
      "name": "Respond / Finish",
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "parameters": {},
      "notes": "End of flow — extend with extra steps as needed.",
      "position": [
        1460,
        300
      ]
    }
  ],
  "connections": {
    "Wix — Cart Abandoned": {
      "main": [
        [
          {
            "node": "Wait 1 Hour",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait 1 Hour": {
      "main": [
        [
          {
            "node": "Wix — Order Lookup",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wix — Order Lookup": {
      "main": [
        [
          {
            "node": "Guard",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Guard": {
      "main": [
        [
          {
            "node": "Send SMS",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "Send SMS": {
      "main": [
        [
          {
            "node": "Respond / Finish",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
