{
  "name": "Automated B2B lead generation: Google Maps to Sheets with BrowserAct & Telegram",
  "nodes": [
    {
      "id": "cad3e086-dac4-4ca5-80a3-e492c6368940",
      "name": "When clicking ‘Execute workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -16,
        208
      ]
    },
    {
      "id": "9c04e503-f939-4c28-89bc-2cc22776cd0d",
      "name": "Run a workflow task",
      "type": "n8n-nodes-browseract-workflows.browserAct",
      "position": [
        128,
        208
      ]
    },
    {
      "id": "2a2affd0-5b77-455e-a9e5-c08ec7d4b726",
      "name": "Get details of a workflow task",
      "type": "n8n-nodes-browseract-workflows.browserAct",
      "position": [
        288,
        208
      ]
    },
    {
      "id": "f509147d-1705-4a59-b043-0465a776fda9",
      "name": "Code in JavaScript",
      "type": "n8n-nodes-base.code",
      "position": [
        528,
        208
      ]
    },
    {
      "id": "dfed60e0-2757-4b52-9c0c-7d7e776c47d7",
      "name": "Append or update row in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        784,
        208
      ]
    },
    {
      "id": "d497ae80-0325-4b81-86cf-c7138340471a",
      "name": "Send a text message",
      "type": "n8n-nodes-base.telegram",
      "position": [
        944,
        208
      ]
    },
    {
      "id": "f61586d9-57b9-4834-9ad6-9111f66bbb8c",
      "name": "Sticky Note - Intro",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -640,
        -16
      ],
      "parameters": {
        "width": 592,
        "height": 450,
        "content": "## Try It Out!\n### This n8n template automates lead generation by scraping Google Maps for local businesses and notifying you in real-time.\n\n### How it works\n* The workflow is triggered **manually**. "
      }
    },
    {
      "id": "23ee6098-c6ee-4b34-b0be-7961e1e0e91b",
      "name": "Sticky Note - How to Use",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -640,
        448
      ],
      "parameters": {
        "width": 592,
        "height": 192,
        "content": "## How to use\n\n1.  **Set up Credentials:** Add your credentials for **BrowserAct**, **Google Sheets**, and **Telegram** to the workflow.\n2.  **Set up BrowserAct Template:** Ensure you have the **“Goog"
      }
    },
    {
      "id": "b378f720-cd97-49ee-ba44-7d0ba5def18c",
      "name": "Sticky Note - Need Help",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -32,
        448
      ],
      "parameters": {
        "width": 592,
        "height": 184,
        "content": "### Need Help?\n* #### [How to Find Your BrowseAct API Key & Workflow ID](https://www.youtube.com/watch?v=pDjoZWEsZlE)\n\n* #### [How to Connect n8n to Browseract](https://www.youtube.com/watch?v=RoYMdJa"
      }
    },
    {
      "id": "1a151165-a2a8-449e-b86a-ba9041276cb8",
      "name": "Sticky Note - Scraping Stage",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        96,
        -16
      ],
      "parameters": {
        "width": 336,
        "height": 184,
        "content": "### 🌐 1. Scrape & Wait\n\n* **Run a workflow task:** This node starts your Google Maps scraper. This is where you define your search criteria. You can easily change the `Location`, `Bussines_Category`, "
      }
    },
    {
      "id": "0b656160-6845-465a-9214-8d42af212d07",
      "name": "Sticky Note - Processing Stage",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        448,
        -16
      ],
      "parameters": {
        "width": 272,
        "height": 180,
        "content": "### 🧹 2. Parse & Split Data\n\nThis **Code** node is a crucial step. Scrapers often return a list of businesses as a single block of text.\n\nThis code takes that text, parses it, and correctly splits it "
      }
    },
    {
      "id": "bdf3eaa7-ce2d-4016-a42e-b23d500044a5",
      "name": "Sticky Note - Output Stage",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        736,
        400
      ],
      "parameters": {
        "width": 384,
        "height": 152,
        "content": "### 💾 3. Save & Notify\n\n* **Google Sheets:** This node adds each lead to your spreadsheet. The `appendOrUpdate` operation smartly prevents duplicate entries based on the business name.\n* **Telegram:**"
      }
    },
    {
      "id": "11f15220-b2db-45fe-b267-d430b45152da",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        96,
        176
      ],
      "parameters": {
        "width": 336,
        "height": 192,
        "content": ""
      }
    },
    {
      "id": "e1330d28-8edb-45ae-8609-45d93cc7ad3d",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        448,
        176
      ],
      "parameters": {
        "width": 272,
        "height": 192,
        "content": ""
      }
    },
    {
      "id": "4ac8d392-6e06-4b7a-bef3-1db2db27988c",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        736,
        192
      ],
      "parameters": {
        "width": 384,
        "height": 192,
        "content": ""
      }
    }
  ],
  "connections": {
    "Code in JavaScript": {
      "main": [
        [
          {
            "node": "Append or update row in sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Run a workflow task": {
      "main": [
        [
          {
            "node": "Get details of a workflow task",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Append or update row in sheet": {
      "main": [
        [
          {
            "node": "Send a text message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get details of a workflow task": {
      "main": [
        [
          {
            "node": "Code in JavaScript",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "Run a workflow task",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}