{
  "name": "Bulk WhatsApp & Gmail messenger with Google Sheets status tracking via InboxPlus",
  "nodes": [
    {
      "id": "1103a0e5-843d-407d-ae00-493ec5e18312",
      "name": "Manual Trigger",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -1120,
        64
      ]
    },
    {
      "id": "3146c4f2-e201-45b4-9895-861882c65e0f",
      "name": "Split In Batches",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -672,
        64
      ]
    },
    {
      "id": "6dbfa0a8-e5bb-40c0-a25c-c77d4e384fc0",
      "name": "Send Gmail",
      "type": "n8n-nodes-base.gmail",
      "position": [
        640,
        224
      ]
    },
    {
      "id": "7243970d-0fdf-4241-8c9e-22940ea23bc0",
      "name": "Whatsapp Failure",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1184,
        -224
      ]
    },
    {
      "id": "acf9fa1e-7f44-4439-96a0-848daef508d6",
      "name": "Mail Failure",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1184,
        240
      ]
    },
    {
      "id": "97a875b3-999a-4926-b1a9-dc6062fc23a1",
      "name": "Sent",
      "type": "n8n-nodes-base.if",
      "position": [
        288,
        -176
      ]
    },
    {
      "id": "65471dba-5d0d-468a-a3b3-4249ce1f2c3c",
      "name": "Delivered",
      "type": "n8n-nodes-base.if",
      "position": [
        864,
        224
      ]
    },
    {
      "id": "f69e256d-782d-4628-9ec8-ef1c662dfb59",
      "name": "Get Contacts",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -896,
        64
      ]
    },
    {
      "id": "b197ed60-6cac-41a3-992a-d8163b857d84",
      "name": "Update Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1184,
        -16
      ]
    },
    {
      "id": "c4c5b14d-47be-4b59-84de-d34b6ec42cc2",
      "name": "Send template",
      "type": "n8n-nodes-base.whatsApp",
      "position": [
        64,
        -176
      ]
    },
    {
      "id": "a996d949-d34f-4be9-8b10-d03d2975e905",
      "name": "PrepareEmail email",
      "type": "@itechnotion/n8n-nodes-inboxplus.inboxPlus",
      "position": [
        0,
        224
      ]
    },
    {
      "id": "3483c1f6-e8f0-49b8-83f4-dc26926294a9",
      "name": "IF Mail Pending",
      "type": "n8n-nodes-base.if",
      "position": [
        -224,
        224
      ]
    },
    {
      "id": "4cfde84b-d557-4413-bac9-9542188ba3cc",
      "name": "IF WhatsApp Pending",
      "type": "n8n-nodes-base.if",
      "position": [
        -176,
        -176
      ]
    },
    {
      "id": "870e8784-c453-4e9e-8b4a-ccc5d42bcabe",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1648,
        -448
      ],
      "parameters": {
        "width": 496,
        "height": 912,
        "content": "## Bulk WhatsApp + Gmail Sender\n\nThis workflow sends WhatsApp messages and HTML emails in bulk using contact data stored in Google Sheets. Each contact is processed independently, allowing WhatsApp an"
      }
    },
    {
      "id": "99b14493-ee8a-46d2-8456-c7fd4c2abe18",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1136,
        -448
      ],
      "parameters": {
        "width": 592,
        "height": 912,
        "content": "## Step 1: Fetch contacts & batch processing\n\nReads contact data from Google Sheets and processes it in batches to control throughput and avoid API rate limits.\n"
      }
    },
    {
      "id": "e3dd0c5d-aa10-44e9-a57f-aae5527aa4b9",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -496,
        -448
      ],
      "parameters": {
        "width": 1008,
        "height": 416,
        "content": "## Step 3: WhatsApp message sending\n\nChecks if a phone number exists and the WhatsApp message is still pending, then sends the template and tracks delivery status."
      }
    },
    {
      "id": "6a16e169-c2de-4261-a11b-2a91876bd6ee",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -496,
        32
      ],
      "parameters": {
        "width": 1488,
        "height": 432,
        "content": "## Step 2:  Email preparation & sending\n\nBuilds an HTML email, applies the selected image mode (inline, attachment, or both), and sends the email via Gmail.\n\n"
      }
    },
    {
      "id": "ac59407a-4312-46e0-8751-c4524d6e6baf",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1024,
        -448
      ],
      "parameters": {
        "width": 400,
        "height": 912,
        "content": "## Step 4: Delivery status updates\n\nWrites success or failure results for each channel back to Google Sheets to enable tracking and safe retries.\n"
      }
    },
    {
      "id": "f7a90330-026c-4969-b642-46fd53c2a0f8",
      "name": "Has Phone Number",
      "type": "n8n-nodes-base.if",
      "position": [
        -448,
        -160
      ]
    },
    {
      "id": "54183fb2-9695-4c29-ad09-f85215cf0686",
      "name": "Has Email Address",
      "type": "n8n-nodes-base.if",
      "position": [
        -448,
        224
      ]
    },
    {
      "id": "66fe268a-c9ff-4f36-867a-b8ba18c70852",
      "name": "Build HTML Email",
      "type": "n8n-nodes-base.set",
      "position": [
        208,
        224
      ]
    },
    {
      "id": "9bc5380d-f644-4cf5-b654-238cc76b729c",
      "name": "Fetch Email Image",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        448,
        224
      ]
    }
  ],
  "connections": {
    "Sent": {
      "main": [
        [
          {
            "node": "Update Sheet",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Whatsapp Failure",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Delivered": {
      "main": [
        [
          {
            "node": "Update Sheet",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Mail Failure",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Gmail": {
      "main": [
        [
          {
            "node": "Delivered",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Contacts": {
      "main": [
        [
          {
            "node": "Split In Batches",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Sheet": {
      "main": [
        [
          {
            "node": "Split In Batches",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send template": {
      "main": [
        [
          {
            "node": "Sent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "Get Contacts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "IF Mail Pending": {
      "main": [
        [
          {
            "node": "PrepareEmail email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Build HTML Email": {
      "main": [
        [
          {
            "node": "Fetch Email Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Has Phone Number": {
      "main": [
        [
          {
            "node": "IF WhatsApp Pending",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "Split In Batches": {
      "main": [
        [
          {
            "node": "Has Phone Number",
            "type": "main",
            "index": 0
          },
          {
            "node": "Has Email Address",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Email Image": {
      "main": [
        [
          {
            "node": "Send Gmail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Has Email Address": {
      "main": [
        [
          {
            "node": "IF Mail Pending",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "PrepareEmail email": {
      "main": [
        [
          {
            "node": "Build HTML Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "IF WhatsApp Pending": {
      "main": [
        [
          {
            "node": "Send template",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}