{
  "name": "Validate & score leads with ZeroBounce AI before sending Gmail emails",
  "nodes": [
    {
      "id": "ac20d0d3-f60f-42ce-9f15-646485473498",
      "name": "Send a message",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1424,
        880
      ]
    },
    {
      "id": "bb29a83a-234c-483a-92c9-03da28928b9c",
      "name": "Google Sheets Trigger",
      "type": "n8n-nodes-base.googleSheetsTrigger",
      "position": [
        976,
        368
      ]
    },
    {
      "id": "e870f85b-5023-4531-a0cf-e18600952cca",
      "name": "Filter by score",
      "type": "n8n-nodes-base.switch",
      "position": [
        1872,
        640
      ]
    },
    {
      "id": "32c40db3-8fce-4d13-9b0a-71f88a96cb12",
      "name": "Validate email",
      "type": "@zerobounce/n8n-nodes-zerobounce.zeroBounce",
      "position": [
        1424,
        288
      ]
    },
    {
      "id": "a42960da-b6b5-48ff-8ab7-b33bb8bb6692",
      "name": "Score email",
      "type": "@zerobounce/n8n-nodes-zerobounce.zeroBounce",
      "position": [
        1424,
        560
      ]
    },
    {
      "id": "8a449e2e-69c0-4d28-833c-c040fff2a5cb",
      "name": "Add Scoring Results",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1648,
        560
      ]
    },
    {
      "id": "b148f359-737e-483b-a393-611087e339d4",
      "name": "Add validation results",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1648,
        288
      ]
    },
    {
      "id": "0920ec59-a03e-4fdb-a31f-d97687a6f1ee",
      "name": "Email is valid?",
      "type": "n8n-nodes-base.if",
      "position": [
        1872,
        384
      ]
    },
    {
      "id": "777e9cbb-46c1-4d87-a577-ec8758bfce39",
      "name": "Validate?",
      "type": "n8n-nodes-base.if",
      "position": [
        1200,
        368
      ]
    },
    {
      "id": "1da4898e-6b7e-4369-9a7c-107290baefd9",
      "name": "Score?",
      "type": "n8n-nodes-base.if",
      "position": [
        1200,
        640
      ]
    },
    {
      "id": "4f4bd953-aadc-4ba2-b780-671a7e517337",
      "name": "Email?",
      "type": "n8n-nodes-base.if",
      "position": [
        1200,
        896
      ]
    },
    {
      "id": "930512bb-b0a2-4054-96dc-8b17afce2961",
      "name": "Add Emailed = false",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2368,
        544
      ]
    },
    {
      "id": "32df7f77-f22c-49b3-8ea2-c1fd893f8140",
      "name": "Add Emailed = true",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1648,
        880
      ]
    },
    {
      "id": "702c4c36-7c1d-4565-a3db-b2719fa73a63",
      "name": "Not valid",
      "type": "n8n-nodes-base.set",
      "position": [
        2128,
        400
      ]
    },
    {
      "id": "f6ba41cd-26df-41bf-b76e-cda296c0748f",
      "name": "Low score",
      "type": "n8n-nodes-base.set",
      "position": [
        2128,
        544
      ]
    },
    {
      "id": "fee21988-f6a7-4c85-bc6a-830f181ed7da",
      "name": "Medium score",
      "type": "n8n-nodes-base.set",
      "position": [
        2128,
        688
      ]
    },
    {
      "id": "a71f6a08-4a75-4b58-981b-a3be3d45c27d",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        368,
        240
      ],
      "parameters": {
        "width": 768,
        "height": 864,
        "content": "## ZeroBounce Email Validation, A.I Scoring & Sending with Gmail\n![ZeroBounce Logo](https://raw.githubusercontent.com/zerobounce/n8n-nodes-zerobounce/main/icons/zerobounce-logo.svg)\n\n\nThis workflow au"
      }
    }
  ],
  "connections": {
    "Email?": {
      "main": [
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "Score?": {
      "main": [
        [
          {
            "node": "Score email",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Filter by score",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Low score": {
      "main": [
        [
          {
            "node": "Add Emailed = false",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Not valid": {
      "main": [
        [
          {
            "node": "Add Emailed = false",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Validate?": {
      "main": [
        [
          {
            "node": "Validate email",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Email is valid?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Score email": {
      "main": [
        [
          {
            "node": "Add Scoring Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Medium score": {
      "main": [
        [
          {
            "node": "Add Emailed = false",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send a message": {
      "main": [
        [
          {
            "node": "Add Emailed = true",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Validate email": {
      "main": [
        [
          {
            "node": "Add validation results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Email is valid?": {
      "main": [
        [
          {
            "node": "Score?",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Not valid",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter by score": {
      "main": [
        [
          {
            "node": "Low score",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Medium score",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Email?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add Emailed = false": {
      "main": [
        []
      ]
    },
    "Add Scoring Results": {
      "main": [
        [
          {
            "node": "Filter by score",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets Trigger": {
      "main": [
        [
          {
            "node": "Validate?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add validation results": {
      "main": [
        [
          {
            "node": "Email is valid?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}