n8n Lead Generation Web Scraping

Scrape targeted leads from Google Maps & LinkedIn to Supabase

Automate your lead generation with this n8n workflow that scrapes contact details using Apify and stores them directly in Supabase

Download Template JSON · n8n compatible · Free
n8n workflow diagram for scraping leads from Google Maps and LinkedIn

What This Workflow Does

This automation solves the time-consuming challenge of manual lead research by automatically extracting targeted business contacts from Google Maps and LinkedIn profiles. It combines data from both platforms to create comprehensive lead records with contact details, company information, and social profiles.

The workflow uses Apify's scraping capabilities to handle the technical complexities of data extraction, then structures and stores the collected leads in Supabase for easy access integration with your CRM or marketing tools. This eliminates hours of manual research while ensuring data consistency and accuracy.

Screenshot of the n8n workflow scraping leads
The workflow in action showing scraped data being processed

How It Works

1. Configure search parameters

The workflow starts by defining your target criteria - location, industry keywords, company size, or other filters that match your ideal customer profile.

2. Scrape Google Maps business listings

Apify extracts business names, addresses, phone numbers, and websites from Google Maps based on your location and category filters.

3. Enrich with LinkedIn data

The workflow cross-references the Google Maps results with LinkedIn to add key decision-maker names, email formats, and professional details.

4. Clean and structure data

n8n nodes standardize phone formats, validate email patterns, and remove duplicates create consistent lead records.

5. Store in Supabase

The finalized lead records are saved to your Supabase database with proper categorization for easy segmentation and integration.

Pro tip: Schedule this workflow to run weekly for fresh leads while respecting platform rate limits.

Who This Is For

This template delivers the most value for B2B sales teams, recruitment agencies, and business development professionals who need targeted lead lists. It's particularly effective for:

  • Local service providers targeting specific geographic areas
  • Tech companies selling to particular industries
  • Recruiters sourcing candidates with specific skills
  • Marketing agencies building prospect lists for clients

What You'll Need

  1. An n8n instance (cloud or self-hosted)
  2. Apify account with credits for scraping
  3. Supabase database with write permissions
  4. Clear targeting criteria for your ideal leads

Quick Setup Guide

  1. Download and import the JSON template into your n8n instance
  2. Connect your Apify account in the first node
  3. Configure your Supabase connection details
  4. Set your search parameters (location, industry keywords)
  5. Test with small scrape before running full extraction

Key Benefits

Save 10+ hours weekly by automating lead research that would otherwise require manual searches across multiple platforms.

Improve lead quality with combined data points from both professional (LinkedIn) and local business (Google Maps) sources.

Ensure data freshness with scheduled scrapes that keep your CRM with up-to-date contacts.

Scale your outreach while maintaining targeting precision through customizable search filters.

Frequently Asked Questions

Common questions about lead scraping and web scraping automation

Scraping leads from Google Maps and LinkedIn provides targeted business contacts with accurate contact details. Google Maps offers local business data while LinkedIn provides professional profiles. Together they create comprehensive lead lists.

This automation saves hours of manual research while ensuring data accuracy and consistency. Compared to buying lead lists, scraped data is more current and tailored to your specific criteria.

  • Combines professional + local business data
  • Higher accuracy than purchased lists
  • Fully customizable targeting

Apify simplifies web scraping by handling proxies, CAPTCHAs, and rate limiting automatically. It extracts structured data from websites without coding. For lead generation, Apify can scrape contact details, company info, and social profiles.

Unlike manual scraping, Apify maintains compliance with platform terms while scaling to thousands of profiles. The service automatically retries failed requests and handles website changes gracefully.

  • No coding required
  • Handles technical challenges automatically
  • Compliant with platform terms

Supabase provides a scalable database with real-time capabilities perfect for lead management. It allows easy segmentation, filtering, and integration with other tools. Unlike spreadsheets, Supabase maintains data relationships.

The PostgreSQL foundation ensures reliability while the API enables seamless connection to CRM systems. You can trigger actions when new leads added or set up automatic lead scoring directly in the database.

  • Better than spreadsheets for large datasets
  • Real-time updates
  • Easy CRM integration

B2B service providers, recruitment agencies, and local service businesses gain the most from this workflow. Companies targeting specific industries, locations, or company sizes can build hyper-targeted lead lists.

The automation is particularly valuable for businesses with high-touch sales processes needing quality leads at scale. Industries like commercial real estate, SaaS, and professional services see immediate ROI from targeted outreach.

  • Best for B2B sales teams
  • Ideal for niche targeting
  • Valuable for local service businesses

Frequency depends on your sales cycle and market dynamics. Most businesses scrape weekly for fresh leads while avoiding platform restrictions. High-volume operations may run smaller daily scrapes.

The key is balancing data freshness with sustainable scraping practices that maintain access to platforms. We recommend starting with monthly scrapes and increasing frequency as you validate results.

  • Weekly for most businesses
  • Adjust based on sales cycle length
  • Monitor platform rate limits

Effective lead scraping focuses on quality over quantity. Target specific niches with detailed filters to get relevant contacts. Combine multiple data points (location, industry, job titles) for better targeting.

Regularly verify email formats and phone numbers. Most importantly, ensure your outreach strategy aligns with the data you collect. The best scraping strategy mirrors your ideal customer profiles used in your marketing.

  • Quality beats quantity every time
  • Multi-source validation increases accuracy
  • Align with existing customer profiles

Yes, GrowwStacks specializes in custom lead generation automations tailored to your specific needs. We can build workflows targeting your ideal customer profile, integrating with your CRM, and optimizing data quality.

Our solutions handle complex scraping scenarios while maintaining platform compliance and data security. Whether you need industry-specific filters, custom data enrichment, or unique integration requirements, we can develop a perfect-fit automation.

  • Tailored to your ideal customer profile
  • Seamless CRM integration
  • Compliant with all platform policies

Need a Custom Lead Scraping Automation?

This free template is a starting point. Our team builds fully tailored lead generation systems for your specific needs.