🎣 Local Business Lead Discovery and Enrichment Agent

⚑ 1,690 views · 🎣 Lead Generation & Enrichment

πŸ’‘ Pro Tip β€” For lead enrichment, ScraperNode can pull LinkedIn profiles, company data, and job listings directly into your pipeline β€” useful for building prospect lists without manual research.

View All Scrapers

Description

A weekly agent that finds local businesses with weak or missing web presence, and scores them as sales leads for web agencies, freelance developers, and digital consultants.

The agent searches local business directories in your target area. It scrapes each business website with Firecrawl, evaluates quality signals, scores opportunity as High / Medium / Low, deduplicates against a database so you never process the same business twice, and sends you a clean weekly email with fresh leads ready to act on.


What problem is it solving?

Finding clients who genuinely need your help is the hardest part of running a web agency or freelance business. Cold outreach to random businesses wastes time. This workflow automates prospecting: it identifies businesses that have strong reviews but a weak digital presence.

The deduplication layer means every lead in your inbox is genuinely new. The scoring system means you can focus on High-opportunity leads first and work down as needed.


What this workflow does

  1. Triggers on a weekly schedule (Mondays at 9:00 AM)
  2. Randomises the search seed each run to explore different categories and areas, reducing repetition across weeks
  3. AI agent searches local business directories for target business types in the configured area
  4. Firecrawl scrapes each business website to evaluate quality signals:
    • Mobile-friendliness
    • Outdated design indicators
    • Missing key pages (contact, services, booking)
    • Tech signals (old frameworks, no HTTPS)
    • Freshness (last updated, stale content)
  5. Scores each lead as High / Medium / Low opportunity, with a written reason for why it’s a lead
  6. Deduplicates against the marco_leads Postgres table β€” businesses already in the database are skipped
  7. Saves new leads to the database with full enrichment data
  8. Sends a Gmail digest with the week’s new leads, formatted for quick review

Setup

  1. Create the database table β€” run the SQL provided in the workflow’s sticky note to create the marco_leads table in Supabase (or any Postgres database)
  2. Connect Postgres credentials β€” point them at your Supabase project
  3. Connect Firecrawl credentials β€” used for directory and website scraping
  4. Connect OpenAI credentials β€” used by the AI agent for discovery and scoring
  5. Configure Gmail β€” set your Gmail address in the Gmail node as the sender and recipient
  6. Adjust the target parameters β€” update the AI agent’s instructions with your preferred city, radius, and business types
  7. Activate the workflow β€” it will run automatically every Monday at 9:00 AM

How to customize this workflow to your needs

πŸ”— Nodes Used

Postgres, Gmail, Schedule Trigger, AI Agent, OpenAI Chat Model

πŸ“₯ Import

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

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