Sales email lead scraping instructions for Sophie¶
Install the Chrome Google Maps scraping extension¶
Prerequisites¶
- Google Chrome browser
- Airtable Personal Access Token with
data.records:writescope - Access to the Sales emails base in Airtable
Step 1: Download the extension¶
- Create a new folder named in your root (C:) directory, named “MCC_scraper”
- Download the zip file containing the extension to the above directory
- Unzip it
You should now have a folder named "Google Maps search results scraper Chrome extension" containing:
manifest.jsonpopup.htmlpopup.jsoptions.htmloptions.jsicons/folder
Step 2: Install in Chrome¶
- Open Chrome and navigate to
chrome://extensions/ - Enable Developer mode (toggle in top-right corner)
- Click Load unpacked
- Navigate to
C:\MCC_scraper\ - Click the Google Maps search results scraper Chrome extension folder (single click to highlight, don't double-click)
- Click Select Folder
- The extension icon won't immediately appear in your toolbar. You first have to navigate to it using the puzzle piece tool, and toggle the pin control to pin the extension to your toolbar:
- The extension icon should appear in your toolbar
Step 3: Configure Airtable settings¶
- Right-click the extension icon in your toolbar
- Select Options
- Enter the following:
| Field | Value |
|---|---|
| Airtable Personal Access Token | patCgzwikWczEQ7KV.17e94a97d48232c0eb996e041d51b38a07886525d753484013040395492fecc4 |
| Airtable Base ID | appDaFRJSxle3TqBA |
| Airtable Table ID | tblQ8VYyUg1LsFKL1 |
- Click Save Settings
Install the Python email scraper¶
Step 1: Install Python¶
- Go to python.org/downloads
- Download the latest Python 3.x installer for Windows
- Run the installer
- IMPORTANT : Tick the checkbox "Add Python to PATH" at the bottom of the first screen
- Click Install Now
- Wait for installation to complete, then click Close
Verify Python installed correctly¶
- Open Command Prompt (press
Win + R, typecmd, press Enter) - Type
python --versionand press Enter - You should see something like
Python 3.12.0
If you see an error, Python wasn't added to PATH. Uninstall and reinstall, making sure to tick "Add Python to PATH".
Step 2: Download the script files¶
- If you haven’t already, create a new folder named in your root (C:) directory, named “MCC_scraper”
- Download the Scrape_email zip file to that folder
- Unzip it
The unzipped folder should contain:
scrape_emails.py- The main scriptconfig.txt- Configuration fileREADME.md- Documentation
Step 3: Install Playwright¶
- Open Command Prompt as Administrator:
- Press
Win + S, typecmd - Right-click Command Prompt and select Run as administrator
- Click Yes if prompted
- Run the following commands one at a time:
Wait for it to finish, then run:
This downloads the Chromium browser (~150MB). Wait for it to complete.
Scrape leads from Google Maps¶
- Search Google Maps for prospective leads (e.g., "childcare chatswood") as guided by Glenn/Jordan
- Open Chrome Extension by clicking the Google Maps Lead Scraper extension icon
- Select campaign — Select the target Instantly campaign from the dropdown (campaigns are fetched from Airtable's 'Instantly campaigns' table)
- Click Scrape — Extension opens each result’s details tile, and scrapes the following fields :
- Business name
- Address
- Street (parsed from address)
- Suburb / city (parsed from address)
- Post code
- Website
- Phone
- In-extension deduplication — Extension dedupes by business name within a single scrape (prevents duplicate sponsored listings)
- Save to Airtable — Click "Save to Airtable", which pushes records to the 'Leads scraped from Google Maps' table in the Sales emails base
- The list of leads in the extension will be cleared
Scrape email addresses for those leads¶
- Open Command Prompt (press Win + R, type cmd, press Enter)
- Navigate to the script folder by copying and pasting the below command into the Command Prompt, then pressing Enter: cd C:\MCC_scraper\Scrape_email
- Run the script by copying and pasting the below command into the Command Prompt, then pressing Enter: python scrape_emails.py
- Wait for the scraper to announce that it has finished. It will say something like this:
Manual check and handover¶
- Check all leads in the Is it a lead? view of the ‘Leads scraped from Google Maps’ table to ensure that all data looks good (especially names and email addresses, as these are critical to the email campaign).
- Notify Glenn that the leads are ready for qualification