{
  "name": "Find verified emails for new Google Sheets rows with Evaboot",
  "nodes": [
    {
      "parameters": {
        "content": "## Find verified emails for new Google Sheets rows\n\nEach new row in your **Leads** tab gets a professional email and its deliverability status, written back into the same row.\n\n### Setup\n1. Your sheet needs the columns `First Name`, `Last Name`, `Company`, `Company Domain`, `Email`, `Email Status`.\n2. Paste the sheet URL into both Google Sheets nodes.\n3. Add your Evaboot API key. Each email found costs 1 credit.\n\nThe company domain is optional but raises the hit rate.",
        "height": 440,
        "width": 400
      },
      "id": "6a315291-42e7-5e1f-9973-45d948b3dfd5",
      "name": "Setup",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        -460,
        -200
      ]
    },
    {
      "parameters": {
        "pollTimes": {
          "item": [
            {
              "mode": "everyMinute"
            }
          ]
        },
        "documentId": {
          "__rl": true,
          "mode": "url",
          "value": "https://docs.google.com/spreadsheets/d/REPLACE_WITH_YOUR_SHEET_ID"
        },
        "sheetName": {
          "__rl": true,
          "mode": "name",
          "value": "Leads"
        },
        "event": "rowAdded",
        "options": {}
      },
      "id": "d3b7faca-3c35-5cb3-902f-3ddc49e88dfd",
      "name": "New row in Leads",
      "type": "n8n-nodes-base.googleSheetsTrigger",
      "typeVersion": 1,
      "position": [
        0,
        0
      ]
    },
    {
      "parameters": {
        "resource": "emailFinder",
        "operation": "findSingle",
        "firstName": "={{ $json['First Name'] }}",
        "lastName": "={{ $json['Last Name'] }}",
        "companyName": "={{ $json.Company }}",
        "companyDomain": "={{ $json['Company Domain'] }}"
      },
      "id": "a29fadd6-54bd-5603-9a6c-e7c35ffedf1d",
      "name": "Find email",
      "type": "@evaboot-team/n8n-nodes-evaboot.evaboot",
      "typeVersion": 1,
      "position": [
        260,
        0
      ]
    },
    {
      "parameters": {
        "operation": "update",
        "documentId": {
          "__rl": true,
          "mode": "url",
          "value": "https://docs.google.com/spreadsheets/d/REPLACE_WITH_YOUR_SHEET_ID"
        },
        "sheetName": {
          "__rl": true,
          "mode": "name",
          "value": "Leads"
        },
        "columns": {
          "mappingMode": "defineBelow",
          "value": {
            "row_number": "={{ $('New row in Leads').item.json.row_number }}",
            "Email": "={{ $json.email }}",
            "Email Status": "={{ $json.validation }}"
          },
          "matchingColumns": [
            "row_number"
          ],
          "schema": [
            {
              "id": "row_number",
              "displayName": "row_number",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "number",
              "canBeUsedToMatch": true,
              "readOnly": true,
              "removed": false
            },
            {
              "id": "Email",
              "displayName": "Email",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true,
              "removed": false
            },
            {
              "id": "Email Status",
              "displayName": "Email Status",
              "required": false,
              "defaultMatch": false,
              "display": true,
              "type": "string",
              "canBeUsedToMatch": true,
              "removed": false
            }
          ]
        },
        "options": {}
      },
      "id": "24fe606d-d26e-5e5a-b7d0-8af1c8eba9ba",
      "name": "Write email to the row",
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 4.7,
      "position": [
        520,
        0
      ]
    }
  ],
  "connections": {
    "New row in Leads": {
      "main": [
        [
          {
            "node": "Find email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Find email": {
      "main": [
        [
          {
            "node": "Write email to the row",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "meta": {
    "templateCredsSetupCompleted": false
  },
  "tags": []
}