{
  "name": "WhatsApp Gateway - Incoming Message Email Alert",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "whatsapp-gateway-message-received",
        "responseMode": "onReceived",
        "options": {}
      },
      "id": "webhook-message-received",
      "name": "WhatsApp Gateway Webhook",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2,
      "position": [240, 300]
    },
    {
      "parameters": {
        "fromEmail": "alerts@example.com",
        "toEmail": "support-team@example.com",
        "subject": "New WhatsApp message from {{$json.body.from}}",
        "text": "Instance: {{$json.body.instance_name}}\nMessage: {{$json.body.message_text}}\nTimestamp: {{$json.body.timestamp}}"
      },
      "id": "email-alert",
      "name": "Email Alert Placeholder",
      "type": "n8n-nodes-base.emailSend",
      "typeVersion": 2,
      "position": [520, 300],
      "notes": "Replace placeholder email addresses and configure your own email credentials in n8n."
    }
  ],
  "connections": {
    "WhatsApp Gateway Webhook": {
      "main": [[{"node": "Email Alert Placeholder", "type": "main", "index": 0}]]
    }
  },
  "active": false,
  "settings": {},
  "tags": ["WhatsApp Gateway", "starter-template"]
}
