< Go back to blog
Tutorials

September 13, 2024

How To Scrape Data from Google Maps Using Dumpling AI in Make.com

This tutorial will walk you through automating the process of scraping data from Google Maps and saving it into a Google Sheets file using Make.com. By the end of this tutorial, you will have a workflow that searches for specific locations on Google Maps (e.g., “Doctors in Winnipeg”) and extracts details such as names, addresses, ratings, and phone numbers, which are then saved to a Google Sheet.

Step 1: Setting Up a New Scenario in Make.com

  1. Log in to your Make.com account.
  2. Click on Create a new scenario from your dashboard.
  3. You will now see the scenario editor, where you can design the workflow. Begin by clicking the + icon to add your first module.

Step 2: Adding the Google Maps Search Module

  1. In the search bar, type Dumpling AI and select Search Google Maps.
  2. Set up your connection by clicking on Add and entering your Dumpling AI API key. To get this, sign up for a free trial on Dumpling AI, no credit card required, you will get 100 free credits.

Under the Query field, input the search term. For example, you can enter “Doctors in Winnipeg.”

Leave the other fields like GPS, Position, and Zoom and Place ID blank, unless you want to narrow your search results to specific coordinates or place details.

Once configured, click OK to save your module.

Step 3: Adding the Array Aggregator Module

To collect the data retrieved by Dumpling AI, you’ll need to add the Array Aggregator module. This module allows you to aggregate all the data you want to store in Google Sheets.

The place object from Dumpling AI contains the data you need, such as the website, phone number, and other details. Since this data is grouped in a collection, you need to parse it correctly to send it to Google Sheets.

Here’s how to configure it:

  1. Set the Feeder: In the Array Aggregator module, set the feeder parameter to the previous module, which is the Dumpling AI search module.
  2. Select the Target Structure Type: Under the Target Structure Type, select “Rows”. This tells the aggregator that the data will be parsed and sent to the Google Sheet as individual rows.
  3. Map the Variables: Next, map the specific variables from Dumpling AI (such as website, phone number, etc.) that you want to transfer onto the spreadsheet. This ensures that each piece of data is sent to the correct column in Google Sheets.
  4. Define Values: In the values field, input the fields you wish to extract from Google Maps. For this tutorial, we are mapping:
    • Place name (business name)
    • Address
    • Business type
    • Website URL
    • Phone number
This setup will allow the automation to correctly parse and store all relevant data from Dumpling AI directly into the Google Sheet.

Step 4: Saving Data to Google Sheets

Add the Google Sheets Module

  • Next, add the Google Sheets – Add Multiple Rows module to your scenario.
  • Connect your Google account if you haven’t already. Once connected, select the specific Google Sheets document and the sheet where the data should be stored.
  • Configure the following parameters:
    • Spreadsheet ID: Input the ID of the spreadsheet where you want the data to be stored.
    • Sheet Name: Select the name of the sheet, e.g., Sheet1.
    • Rows: Map the aggregated values (from the array aggregator) to the rows in your Google Sheet.

Step 5: Testing and Running the Scenario

Test the Scenario

  • Before running the automation, test the scenario by clicking on the “Run Once” button. This will help you verify that the Google Maps data is being scraped correctly and stored in Google Sheets.
  • Check the Google Sheets file to confirm that the correct data is appearing in the expected columns.
Scraping Data from Google Maps Using Dumpling AI and Make

Activate the Scenario

Once you’ve confirmed that everything works as expected, turn on the scenario by clicking on the “Activate” button. Your automation will now run based on the triggers you set.

Conclusion

By following these steps, you can successfully create an automation to scrape data from Google Maps and store it in a Google Sheet. This can be useful for gathering business information for various use cases such as lead generation, market research, or data collection for specific services in a particular region.

Download the blueprint used in this blog post

Click here to access the blueprint. Whether you’re just starting out or looking to refine your AI Automation skills, our community has got the tools and support to help you succeed.

Related Posts

How To Scrape Paginated Data using Dumpling AI and ChatGPT in Make.com
Tutorials

How To Scrape Paginated Data using Dumpling AI and ChatGPT in Make.com

September 17, 2024

How To Automate Social Media Content Repurposing with Airtable, Dumpling AI, Claude AI and Make.com
Tutorials

How To Automate Social Media Content Repurposing with Airtable, Dumpling AI, Claude AI and Make.com

September 11, 2024

How To Scrape Lead Data from Google Places with Dumpling AI in Make.com
Tutorials

How To Scrape Lead Data from Google Places with Dumpling AI in Make.com

September 9, 2024

How to Automate YouTube Research with Claude 3.5
Tutorials

How to Automate YouTube Research with Claude 3.5

September 5, 2024

Google Search, FLUX.1 AI Image Generation, Multilingual YouTube Transcripts + much more!

Google Search, FLUX.1 AI Image Generation, Multilingual YouTube Transcripts + much more!

August 30, 2024

How to Create Thousands of AI-Powered YouTube Shorts with ChatGPT and Canva
Tutorials

How to Create Thousands of AI-Powered YouTube Shorts with ChatGPT and Canva

August 28, 2024