{
  "name": "Send WhatsApp Shipping Updates When Etsy Orders Are Fulfilled",
  "nodes": [
    {
      "name": "Etsy — Order Fulfilled",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4,
      "parameters": {
        "method": "POST",
        "url": "https://api.example.com/replace-with-real-endpoint",
        "sendBody": true,
        "options": {}
      },
      "notes": "Etsy has no dedicated n8n node — use an HTTP Request to the Etsy API. Trigger on fulfillment.",
      "position": [
        260,
        300
      ]
    },
    {
      "name": "Tracking Message",
      "type": "n8n-nodes-base.set",
      "typeVersion": 3,
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "1107",
              "name": "summary",
              "value": "=Your order shipped! Track it: {{ $json.tracking_url }} ({{ $json.tracking_number }})",
              "type": "string"
            }
          ]
        },
        "options": {}
      },
      "notes": "",
      "position": [
        500,
        300
      ]
    },
    {
      "name": "Send WhatsApp",
      "type": "n8n-nodes-base.twilio",
      "typeVersion": 1,
      "parameters": {
        "operation": "send",
        "message": "={{ $json.summary }}"
      },
      "notes": "Use a Twilio number; WhatsApp requires an approved sender.",
      "position": [
        740,
        300
      ]
    },
    {
      "name": "Respond / Finish",
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "parameters": {},
      "notes": "End of flow — extend with extra steps as needed.",
      "position": [
        980,
        300
      ]
    }
  ],
  "connections": {
    "Etsy — Order Fulfilled": {
      "main": [
        [
          {
            "node": "Tracking Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Tracking Message": {
      "main": [
        [
          {
            "node": "Send WhatsApp",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send WhatsApp": {
      "main": [
        [
          {
            "node": "Respond / Finish",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
