How to Scrape Google Maps Business Data with Make.com and ApiFy

How to Scrape Google Maps Business Data with Make.com and ApiFy

Building an effective lead generation strategy often requires gathering business information at scale. This article demonstrates how to create a workflow that automatically extracts business data from Google Maps and enriches it with additional contact information not available through Google’s interface.

The Problem with Manual Data Collection

When searching for businesses on Google Maps (for example, searching for “dentist in Warsaw”), you’ll encounter two significant challenges:

  • Manually gathering information business by business is extremely time-consuming
  • Google Maps doesn’t provide all the contact information you might need (like email addresses)

An automated solution can address both problems by quickly extracting available information and supplementing it with additional contact details.

Tools Needed for the Workflow

This solution leverages three primary tools:

  1. Make.com – The workflow automation platform
  2. ApiFy – Web scraping tool with pre-built actors for data extraction
  3. Google Sheets – For storing and organizing the collected data

Setting Up Your Google Sheet

Before building the workflow, prepare a Google Sheet with the following columns to store your business data:

  • Name
  • Address
  • Website
  • Phone Number
  • Email
  • Instagram
  • Facebook

Building the Workflow in Make.com

Step 1: Set Up ApiFy Connection

Begin by creating a new scenario in Make.com and adding the ApiFy Run Connector module. You’ll need to:

  1. Create an ApiFy account if you don’t have one (new users receive $5 credit)
  2. Get your API token from ApiFy (Settings > API Integration)
  3. Create a connection in Make.com using your API token

Step 2: Configure the Google Maps Extractor

Select the “Google Maps Extractor” actor and configure it with the following parameters:

  • Search term (e.g., “dentist”)
  • Location (e.g., “Warsaw, Poland”)
  • Maximum results (start with a small number for testing)
  • Language

This actor will extract basic business information available on Google Maps.

Step 3: Add the Get Dataset Items Module

Add an ApiFy Get Dataset Items module to retrieve the results from the Google Maps Extractor. Connect it to the dataset ID from the first module.

Step 4: Add the Contact Details Scraper

To enrich the data with email addresses and social media links, add another ApiFy Run Connector module with the “Contact Details Scraper” actor. Configure it to:

  • Use the website URLs from the previous module as input
  • Set the maximum pages per URL to at least 2 (to look beyond just the homepage)

Step 5: Retrieve and Aggregate the Contact Details

Add another Get Dataset Items module to retrieve the results from the Contact Details Scraper. Then add an Array Aggregator module to combine all data points for each business into a single record.

Step 6: Connect to Google Sheets

Add a Google Sheets module to add rows to your prepared spreadsheet. Map the fields from the Array Aggregator to the corresponding columns in your Google Sheet:

  • Title → Name
  • Address → Address
  • Website → Website
  • Phone → Phone Number
  • Emails → Email
  • Instagram → Instagram
  • Facebook → Facebook

Running the Workflow

When you run the completed workflow, it will:

  1. Search Google Maps for your specified business type and location
  2. Extract basic business information
  3. Visit each business’s website to find email addresses and social media links
  4. Compile all data into your Google Sheet

Further Applications

Once you have this data, you can extend the workflow to:

  • Generate personalized outreach emails using AI
  • Create targeted marketing campaigns
  • Build custom CRM entries
  • Analyze business trends in specific geographic areas

This automated approach saves countless hours of manual data collection and provides richer business information than what’s available through Google Maps alone.

Leave a Comment