{
  "name": "Generate business leads from Google Maps & Places API to Google Sheets",
  "nodes": [
    {
      "id": "9e017f9b-517c-4e4d-b887-26bd694d1f4b",
      "name": "Get Location Coordinates",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1248,
        144
      ]
    },
    {
      "id": "0dce7f8f-7df8-4a84-94e4-a45443c2d93e",
      "name": "Search Google Places",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1696,
        144
      ]
    },
    {
      "id": "c0002a96-8e2c-4b07-bf5a-4c0d8c6f3b5a",
      "name": "Split Results",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1920,
        144
      ]
    },
    {
      "id": "576b96c6-82cd-4bc3-8553-4360c5083f42",
      "name": "Format Lead Data",
      "type": "n8n-nodes-base.set",
      "position": [
        2368,
        144
      ]
    },
    {
      "id": "a3cc811c-b586-4adf-8e15-840c0bbc913c",
      "name": "Extraction Configs",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        800,
        144
      ]
    },
    {
      "id": "2cd4749f-118e-41ae-899f-19ccde3b2dfe",
      "name": "Main Set",
      "type": "n8n-nodes-base.set",
      "position": [
        1024,
        144
      ]
    },
    {
      "id": "44c4721a-4609-4ea2-8aa1-73ee4286cd8d",
      "name": "Prepare Search Data Set",
      "type": "n8n-nodes-base.set",
      "position": [
        1472,
        144
      ]
    },
    {
      "id": "e0b810cf-2146-47dd-8800-c9a7f866e7fc",
      "name": "If Lead is Valid",
      "type": "n8n-nodes-base.if",
      "position": [
        2144,
        144
      ]
    },
    {
      "id": "82447bb9-f0a8-45fa-bba5-96c93a7ffcbd",
      "name": "Append row in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2592,
        144
      ]
    },
    {
      "id": "a8c39d79-4fc0-49ec-b0e3-51ea9a48f9a6",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        784,
        -112
      ],
      "parameters": {
        "width": 624,
        "height": 176,
        "content": "## Generate Leads from Google Maps\nOfficial way to generate leads using Google Maps, using the Google Maps API Key.\n\nGenerate Niche-Specific Leads by filling up the business type, location you're targ"
      }
    },
    {
      "id": "b2ae012e-786d-4bfc-9ad8-755af1680c16",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1616,
        -112
      ],
      "parameters": {
        "width": 448,
        "height": 176,
        "content": "## User Input & Search\nFill out the form with your search term (business type), location, and Google Maps API key. The workflow converts your location to coordinates and then finds businesses matching"
      }
    },
    {
      "id": "15adb718-89ba-4b67-8075-ad51fcd47da2",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2256,
        -112
      ],
      "parameters": {
        "width": 448,
        "height": 176,
        "content": "## Leads Validation & Storage\nThe workflow checks each found business for valid contact info, organizes details, and automatically adds each valid lead to the Google Sheet."
      }
    }
  ],
  "connections": {
    "Main Set": {
      "main": [
        [
          {
            "node": "Get Location Coordinates",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Results": {
      "main": [
        [
          {
            "node": "If Lead is Valid",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Lead Data": {
      "main": [
        [
          {
            "node": "Append row in sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "If Lead is Valid": {
      "main": [
        [
          {
            "node": "Format Lead Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extraction Configs": {
      "main": [
        [
          {
            "node": "Main Set",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Search Google Places": {
      "main": [
        [
          {
            "node": "Split Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Search Data Set": {
      "main": [
        [
          {
            "node": "Search Google Places",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Location Coordinates": {
      "main": [
        [
          {
            "node": "Prepare Search Data Set",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}