Automate lead generation using this advanced n8n workflow. Scrape business website URLs from Google Maps, extract valid emails using regex, and export unique leads directly to Google Sheets for outreach.
Download this n8n workflow template and start using it instantly.
Lead generation requires vast amounts of accurate contact data. Manually searching Google Maps, visiting individual websites, and copying emails is slow and inefficient. This sophisticated n8n workflow solves this by creating a highly efficient, multi-step scraping pipeline.
The n8n trigger starts the process with a simple search query (e.g., 'dentists in Chicago'). It then uses an n8n node to scrape the Google Maps search results for associated business websites. The core logic involves filtering out noise (like Google internal links), looping through each target website, extracting emails using precise regular expressions, and employing multiple 'Remove Duplicates' n8n nodes to ensure a clean final list. The final step of this n8n automation is appending the validated lead data directly into Google Sheets, ready for your sales team. This n8n template is essential for anyone prioritizing scalable, automated lead sourcing.
This n8n workflow operates in four main phases:
To deploy this powerful n8n workflow, follow these steps:
Document ID and Sheet Name where you want the extracted emails to be appended. When chat message received (Trigger): This n8n trigger initiates the entire process, accepting the user's input search term for Google Maps.
Scrape Google Maps (HTTP Request n8n node): Takes the input term and constructs a URL to scrape the Google Maps search results page. This is the first crucial web scraping step in the n8n workflow.
Extract URLs (Code n8n node): Utilizes regex (regular expressions) to parse the bulky HTML response and isolate potential business website URLs.
Filter Google URLs (Filter n8n node): A logic n8n node that cleans the data stream by removing non-business related URLs (like google.com or tracking schemas) to improve scraping efficiency.
Scrape Site (HTTP Request n8n node): Fetches the full content of each unique website identified in the previous steps, forming the core of the extraction loop.
Wait (Wait n8n node): A flow control n8n node set to wait for 1 second, vital for responsible scraping and avoiding IP bans.
Extract Emails (Code n8n node): The primary extraction n8n node. It uses a specialized regex pattern to extract only valid business email formats from the website content, ignoring image links or irrelevant strings.
Remove Duplicates (2) (Remove Duplicates n8n node): Ensures that the final list of emails prepared for Google Sheets is entirely unique.
append operation to write the newly discovered, unique emails into the target Google Sheet, completing the automated n8n workflow.Use this powerful n8n workflow to automatically crawl Google Maps search results by keyword, extract valid business emails, and instantly save the verified contacts into a Google Sheets document. Start generating leads today.

Automate B2B lead generation by using this n8n workflow to scrape websites from Google Maps search results, extract business emails, and save the data to Google Sheets.

Use this powerful n8n workflow to automate lead enrichment. Triggered by a Google Sheet update, it finds business contacts using Serper.dev and extracts emails via ScrapingBee, making this a crucial n8n templates solution.

Use this powerful n8n workflow to automatically scan your Gmail inbox for potential business leads, filter out junk mail using n8n node scripting, save unique entries to Google Sheets, and send instant alerts to Slack. Get started with n8n templates.

Automate robust lead extraction from Google Maps using the Dumpling AI API integration and instantly log all business details—including contact info and ratings—directly into Google Sheets. This powerful n8n workflow saves hours of manual effort.

Hi 👋 I'm Noman Mohammad. I do a lot of things, and AI is part of that work. If you have any questions about my templates or my n8n builds, feel free to ask, and I'll gladly reply in the comments. Thank you for reading.







































