Skip to main content

Automated BBB lead generation with BrowserAct

Workflow preview

Workflow preview
100%
Automated BBB lead generation with BrowserAct preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Automated BBB Lead Generation with BrowserAct Overview This workflow automates business data extraction , duplicate checking , and email outreach using BrowserAct , Google Sheets , Gmail , and G...

Best for

  • Lead Generation automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.if, n8n-nodes-base.wait, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatgooglegemini, n8n-nodes-browseract.browseract, n8n-nodes-base.googlesheetstool, n8n-nodes-base.scheduletrigger, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Bakir Ali.

Original n8n.io source

1.1 Workflow description

Title
Automated BBB lead generation with BrowserAct
Workflow name
Automated BBB lead generation with BrowserAct

Automated BBB Lead Generation with BrowserAct


🚀 Overview

This workflow automates business data extraction, duplicate checking, and email outreach using BrowserAct, Google Sheets, Gmail, and Google Gemini AI — all inside n8n.

It’s designed for marketers, lead generation specialists, or automation developers who want to build a fully autonomous AI agent that finds businesses online, filters duplicates, and automatically sends personalized outreach emails.


🧩 Key Features

  • 🌐 BrowserAct Integration — Scrapes business data (name, phone, email, website, rating) from any target site.

  • 🤖 AI Data Extraction Agent — Uses Google Gemini AI to clean, structure, and validate scraped data into standardized JSON.

  • 📊 Google Sheets Sync

    • Reads all existing records
    • Checks for duplicates
    • Appends new rows automatically
  • ✉️ Automated Gmail Outreach

    • Validates email addresses
    • Sends outreach emails to valid leads
    • Logs each status (e.g., Successful, Duplicate, Pending - Invalid Email)
  • Smart Delay Control — Uses Wait node to pause execution and respect email sending limits (max 2 emails per run).


🛠️ Included Nodes

Node Function
🕓 Schedule Trigger Runs the workflow automatically on schedule
🌍 BrowserAct Scrapes or extracts business data
⚙️ If Node Checks scraping results before processing
🧠 AI Agent (Gemini) Extracts structured business info
💻 Code (JavaScript) Cleans and parses AI output into usable JSON
📩 AI Agent 2 (Gemini) Handles decision-making for email + sheet updates
📊 Google Sheets Tools Reads, appends, and manages lead data
📨 Gmail Node Sends automated outreach emails
⏱️ Wait Node Adds delay to control workflow speed

🧾 How It Works

  1. Schedule Trigger starts the automation.

  2. BrowserAct fetches business listings based on defined keywords and location.

  3. AI Agent (Gemini) extracts business details (business_name, website_url, phone_number, email_address, rating).

  4. JavaScript Code Node parses the AI’s JSON response.

  5. AI Agent 2 (Gemini) decides:

    • If duplicate → send message on your email address Duplicate data found
    • If invalid email → marks as “Pending - Invalid Email”
    • If valid email → sends via Gmail + updates Google Sheet
  6. Final output returns structured statuses for each processed business.


🖼️ Workflow Diagram

> * Schedule Trigger > * BrowserAct > * AI Agent (Gemini) > * JavaScript Code > * Gmail & Google Sheets tools

![Workflow Preview]


⚙️ Setup Instructions

  1. Connect your BrowserAct, Google Sheets, Gmail, and Google Gemini API credentials.
  2. Define search keywords and locations inside the BrowserAct node.
  3. Set your Google Sheet ID in the relevant nodes.
  4. Customize the Gmail message if needed.
  5. Activate the workflow and schedule it.

📤 Output Example

[
  {
    "business_name": "ABC Restaurant",
    "email_sent": "Successful"
  },
  {
    "business_name": "XYZ Foods",
    "email_sent": "Duplicate - Already Exist"
  },
  {
    "business_name": "Fresh Eats",
    "email_sent": "Pending - Invalid Email"
  }
]

👨‍💻 Created by

Bakir Ali Automation & AI Workflow Creator — specialized in BrowserAct, Google AI (Gemini), and n8n-based automation systems.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - If

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 2 - Wait

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 3 - AI Agent1

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.2

Block 4 - Google Gemini Chat Model1

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 5 - Run a workflow

Type / Role
n8n-nodes-browseract.browserAct - browserAct
Config choices
Version 1

Block 6 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.2

Block 7 - Google Gemini Chat Model2

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 8 - get row's in sheet

Type / Role
n8n-nodes-base.googleSheetsTool - googleSheetsTool
Config choices
Version 4.7

Block 9 - append row in sheet

Type / Role
n8n-nodes-base.googleSheetsTool - googleSheetsTool
Config choices
Version 4.7

Block 10 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 11 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Code in JavaScript

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 16 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 17 - duplicate data

Type / Role
n8n-nodes-base.gmailTool - gmailTool
Config choices
Version 2.1

Block 18 - outreach email

Type / Role
n8n-nodes-base.gmailTool - gmailTool
Config choices
Version 2.1

3. Summary Table

Workflow Automated BBB lead generation with BrowserAct
Complexity advanced
Nodes 18
Categories Lead Generation, AI Summarization
Author Bakir Ali
Published 03 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/10473/10473.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automated BBB lead generation with BrowserAct do?

Automated BBB Lead Generation with BrowserAct Overview This workflow automates business data extraction , duplicate checking , and email outreach using BrowserAct , Google Sheets , Gmail , and G...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Lead Generation, AI Summarization use case.