Automate B2B lead generation by extracting business contact information directly from Google Maps search results using this powerful n8n workflow and saving data to Google Sheets.
Download this n8n workflow template and start using it instantly.
This advanced n8n workflow is designed to streamline lead generation by automating the extraction of structured business data from Google Maps. It addresses the common challenge of manual data collection, providing a repeatable and efficient method for building targeted prospect lists. By utilizing a custom JavaScript n8n node for regex parsing raw HTML scraped via an HTTP request, this solution ensures high-quality data extraction—including names, addresses, phone numbers, websites, and potential emails. The resulting leads are then neatly organized in Google Sheets. This specific n8n workflow demonstrates how to leverage custom code and standard requests to create powerful data collection solutions.
lead_type) and the geographic location (location).yourgooglesheetidhere with the actual ID of your target spreadsheet.lead_type (e.g., 'Dentists', 'Lawyers') and location (e.g., 'London', 'California') to match your target market. When clicking ‘Test workflow’ (Manual Trigger n8n trigger): This simple n8n trigger starts the data extraction process, ideal for development and testing this n8n workflow.
Set Form Fields (Set n8n node): Defines the parameters for the search query, including lead_type and location. This is the primary n8n node for customizing the workflow's target.
Build Search URL (Code n8n node): A custom JavaScript n8n node that dynamically constructs the Google Maps search URL based on the defined inputs.
Scrape Google Maps1 (HTTP Request n8n node): Executes the web scraping operation against the generated URL, retrieving the raw HTML data which is essential for the next step in the n8n workflow.
Extract Business Info (Code n8n node): This advanced n8n node uses multiple, specific Regular Expressions (businessRegex, phoneRegex, etc.) to meticulously parse the raw HTML and structure the business contact information into usable JSON objects.
Save to Google Sheets (Google Sheets n8n node): Connects to your configured Google Sheets account and uses the append operation to write the extracted, structured lead data (Name, Phone, Email, Address, Website) into designated columns.
Use this powerful n8n workflow to automatically extract contact data from business card images sent via Telegram using OpenRouter AI Vision, logging clean, structured data directly into Google Sheets. Leverage this n8n template for instant digitization.

Leverage this powerful n8n workflow to automate business card extraction. Upload photos to Slack, use GPT-4o OCR for data parsing, and save contacts automatically to Google Sheets using a series of tailored n8n templates.

Instantly digitize business cards using this sophisticated n8n workflow. It combines Telegram, Google Vision OCR, and GPT-4 to extract contact data, score leads, generate personalized follow-up emails, and log everything seamlessly into Google Sheets.

Automate scraping Google Maps business leads, emails, and social media contacts using this advanced n8n workflow. Includes duplicate prevention and saves data directly 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.








































