{
  "name": "Automate Google Maps lead generation with Perplexity AI and email verification",
  "nodes": [
    {
      "id": "a495a9d9-782f-46e0-b2f7-55476ebe4ed8",
      "name": "When clicking ‘Execute workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -1632,
        1440
      ]
    },
    {
      "id": "0e74a10e-ce5c-4616-842d-53812d1ff6e3",
      "name": "Set parameters",
      "type": "n8n-nodes-base.set",
      "position": [
        -1392,
        1440
      ]
    },
    {
      "id": "1a3392af-449c-4c1d-8bed-2fee02f2bd7d",
      "name": "Split In Batches",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -864,
        1440
      ]
    },
    {
      "id": "ea10290d-ca7c-4437-bf82-90153c203e1b",
      "name": "HTTP Request",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -448,
        1424
      ]
    },
    {
      "id": "f3911359-b48f-4860-9a9f-3e6199444d9f",
      "name": "Append row in sheet (Resultados)",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        432,
        1024
      ]
    },
    {
      "id": "b1f3ae25-09f9-4ec4-96eb-70cb99b437c3",
      "name": "JavaScript - Page Management",
      "type": "n8n-nodes-base.code",
      "position": [
        -1120,
        1440
      ]
    },
    {
      "id": "1826c04a-c862-4f4e-9242-fa307254013e",
      "name": "JavaScript1 - Places Objects",
      "type": "n8n-nodes-base.code",
      "position": [
        240,
        1024
      ]
    },
    {
      "id": "c35c5058-c07d-45cd-9c2d-e2a2c4dfd107",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1984,
        848
      ],
      "parameters": {
        "width": 2672,
        "height": 784,
        "content": "## Google Maps Data Extraction\n**What it does:**\nPages through Serper’s **Google Places** results, turns each `place` into a row, **appends to Google Sheets**, and **stops** when `places` is empty.\n\n*"
      }
    },
    {
      "id": "d62bc2a6-ad41-4bd0-bf44-fb704efb47d7",
      "name": "If End Batch",
      "type": "n8n-nodes-base.if",
      "position": [
        -192,
        1424
      ]
    },
    {
      "id": "91bf3742-845b-404c-ae80-4076e5b638ef",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -992,
        1968
      ]
    },
    {
      "id": "ef5e11b3-355f-49c8-809e-37de55f706dc",
      "name": "Convert to JSON Object1",
      "type": "n8n-nodes-base.code",
      "position": [
        -544,
        1984
      ]
    },
    {
      "id": "ede2a523-da1b-4104-a21f-46025fcd3cb1",
      "name": "Filter",
      "type": "n8n-nodes-base.filter",
      "position": [
        -1312,
        1968
      ]
    },
    {
      "id": "4a819d88-0e33-428e-a921-e3efd637425b",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1984,
        1648
      ],
      "parameters": {
        "width": 2668,
        "height": 652,
        "content": "**Workflow: Maps → Sheet → Email Verification**\n\n1. **Search & save:** Find places on Google Maps and add them to the sheet.\n2. **Fill details:** Add missing info (email + short description).\n3. **Ver"
      }
    },
    {
      "id": "f7d88b7d-4c34-454b-81b8-c2f8a6bd0767",
      "name": "Get Contact Details via Perplexity",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -752,
        1984
      ]
    },
    {
      "id": "f3dd6c14-9e38-464d-8438-034124be5e6f",
      "name": "Update row in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        512,
        1984
      ]
    },
    {
      "id": "87a8e074-faed-4ec7-9650-42b610e2e11b",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        -272,
        1984
      ]
    },
    {
      "id": "4811c3db-b958-43eb-9700-5a134e5f8e6b",
      "name": "VerificarEmails",
      "type": "@verificaremails/n8n-nodes-verificaremails.verificaremails",
      "position": [
        16,
        2048
      ]
    },
    {
      "id": "e69b897c-c75e-4254-957e-946c3038735a",
      "name": "Google Sheets Trigger",
      "type": "n8n-nodes-base.googleSheetsTrigger",
      "position": [
        -1680,
        1968
      ]
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Update row in sheet",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "VerificarEmails",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request": {
      "main": [
        [
          {
            "node": "If End Batch",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If End Batch": {
      "main": [
        [
          {
            "node": "JavaScript1 - Places Objects",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "Set parameters": {
      "main": [
        [
          {
            "node": "JavaScript - Page Management",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "Get Contact Details via Perplexity",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "VerificarEmails": {
      "main": [
        [
          {
            "node": "Update row in sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split In Batches": {
      "main": [
        [
          {
            "node": "HTTP Request",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "Update row in sheet": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets Trigger": {
      "main": [
        [
          {
            "node": "Filter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert to JSON Object1": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "JavaScript - Page Management": {
      "main": [
        [
          {
            "node": "Split In Batches",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "JavaScript1 - Places Objects": {
      "main": [
        [
          {
            "node": "Append row in sheet (Resultados)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Append row in sheet (Resultados)": {
      "main": [
        [
          {
            "node": "Split In Batches",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Contact Details via Perplexity": {
      "main": [
        [
          {
            "node": "Convert to JSON Object1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "Set parameters",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}