🎣 Scrape Google Maps leads and find emails with Apify and Anymailfinder

735 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

Scrape Google Maps leads and find emails with Apify and Anymailfinder

Short Description

This workflow automates lead generation by scraping business data from Google Maps using Apify, enriching it with verified email addresses via Anymailfinder, and storing the results in a NocoDB database. It’s designed to prevent duplicates by checking against existing records before saving new leads.


Key Features


Who This Workflow Is For


How It Works

  1. Trigger: The workflow starts when you submit the initial form with a business type (e.g., “plumber”), a city, a country code, and the number of results you want.
  2. Scrape Google Maps: It sends the query to Apify to scrape Google Maps for matching businesses.
  3. Process Leads: The workflow loops through each result one by one.
  4. Clean Data: It extracts the main website domain from the URL provided by Google Maps.
  5. Check for Duplicates: It queries your NocoDB database to see if the business (placeId) has already been saved. If so, it skips to the next lead.
  6. Find Emails: If a valid website domain exists, it uses Anymailfinder to find associated email addresses.
  7. Store Lead: The final data, including the business name, address, phone, website, and any found emails, is saved as a new row in your NocoDB table.

Setup Requirements

Required Credentials

Database Structure

You need to create a table in your NocoDB instance with the following columns. The names should match exactly.

Table: leads (or your preferred name)


Customization Options


Installation Instructions

  1. Import the workflow into your n8n instance.
  2. Create the required table structure in your NocoDB instance as detailed above.
  3. Configure the credentials for Apify, Anymailfinder, and NocoDB in the respective nodes.
  4. In the two NocoDB nodes (“Get all the recorded placeIds” and “Create a row”), select your project and table from the dropdown menus.
  5. Activate the workflow. You can now run it by filling out the form in the n8n UI.

🔗 Nodes Used

HTTP Request, NocoDB, n8n Form Trigger

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup