🎣 Automated BBB lead generation with BrowserAct

⚑ 182 views · 🎣 Lead Generation & Enrichment

πŸ’‘ Pro Tip β€” HTTP Request scraping tends to break when sites update their markup. If you’re scraping a major platform, check if ScraperNode covers it β€” it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.

View All Scrapers

Description

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


πŸ› οΈ Included Nodes

NodeFunction
πŸ•“ Schedule TriggerRuns the workflow automatically on schedule
🌍 BrowserActScrapes or extracts business data
βš™οΈ If NodeChecks 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 ToolsReads, appends, and manages lead data
πŸ“¨ Gmail NodeSends automated outreach emails
⏱️ Wait NodeAdds 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] Screenshot 20251128 040042.png


βš™οΈ 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.

πŸ”— Nodes Used

Schedule Trigger, AI Agent, Google Gemini Chat Model

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup