{
  "name": "GoHighLevel webhook → WhatsApp message (WbizTool)",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "gohighlevel-to-whatsapp",
        "options": {}
      },
      "id": "b5171dcb-6518-405c-8307-a4d20ae2c005",
      "name": "HighLevel webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [
        0,
        0
      ],
      "webhookId": "b8da3ea6-f685-4800-92b1-f7649859e84f"
    },
    {
      "parameters": {
        "conditions": {
          "options": {
            "caseSensitive": true,
            "leftValue": "",
            "typeValidation": "strict"
          },
          "conditions": [
            {
              "id": "acdeaf41-5057-49f8-9a1e-29ce7b33a444",
              "leftValue": "={{ ($json.body.customData && $json.body.customData.phone_raw) || $json.body.phone_raw || $json.body.phone }}",
              "rightValue": "",
              "operator": {
                "type": "string",
                "operation": "notEmpty",
                "singleValue": true
              }
            }
          ],
          "combinator": "and"
        },
        "options": {}
      },
      "id": "f7c01d73-c479-4a53-b963-d0895582a397",
      "name": "Has a phone number",
      "type": "n8n-nodes-base.if",
      "typeVersion": 2,
      "position": [
        240,
        0
      ]
    },
    {
      "parameters": {
        "targetType": "phone",
        "phone": "={{ ($json.body.customData && $json.body.customData.phone_raw) || $json.body.phone_raw || $json.body.phone }}",
        "countryCode": "",
        "messageType": "0",
        "message": "=Hi {{ $json.body.first_name }}, thanks for contacting us. We'll reply here on WhatsApp.",
        "whatsappClientId": 0,
        "additionalOptions": {}
      },
      "id": "df39ac2e-5a3c-4f62-8813-6412d55f40de",
      "name": "WbizTool Send Message",
      "type": "n8n-nodes-wbiztool.wbizToolSendMessage",
      "typeVersion": 1.1,
      "position": [
        480,
        -20
      ]
    }
  ],
  "connections": {
    "HighLevel webhook": {
      "main": [
        [
          {
            "node": "Has a phone number",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Has a phone number": {
      "main": [
        [
          {
            "node": "WbizTool Send Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "pinData": {},
  "meta": {
    "templateCredsSetupCompleted": false
  }
}
