Business Lead Generation with Apify Web Scraping and Google Sheets Storage
## This flexible template scrapes business listings for any industry and location, perfect for sales teams, marketers, and researchers. ### Good to know - Works with any business category (restaurants, contractors, retailers, etc.) - Fully customizable search parameters - Results automatically organized in Google Sheets - Built-in delay ensures scraping completes before data collection ## How it works 1. Trigger: Manual or scheduled start 2. Apify Configuration: Sets scraping parameters (industry, location, data fields) 3. Scraping Execution: Runs the web scraping job 4. Data Processing: Cleans and structures the raw data 5. Storage: Saves results to your Google Sheets ### What is Apify? Apify is a web scraping tool; in this workflow, the data is scraped from a Google Maps scraper: **https://apify.com/compass/crawler-google-places** ## How to use ### Apify Small # Lead Generation (Purple) **https://apify.com/compass/crawler-google-places** 1. Add location and industry to scrape (Apify) 2. Add the number of leads to output (Apify) 3. Copy over the JSON file into N8N 4. Copy & paste API endpoint Get Run URL in N8N ### Apify Large # Lead Generation (Grey) #### Configure the Manual Trigger When clicking, Execute workflow node is ready to use as-is. This triggers the entire lead generation process. #### Setup Start Results (Apify) Node Get Your Apify API Information #### Go to Apify.com and create a free account Navigate to Settings → Integrations → API tokens. Copy your API token. Find the Google Maps scraper actor ID: #### Configure the HTTP Request (start results) Method: POST URL: Replace enter apify (get run) with: https://api.apify.com/v2/acts/nwua9Gu5YrADL7ZDj/runs?token=YOUR_API_TOKEN C. Customize the JSON Body Parameters In the JSON body, modify these key fields: Location & Search: locationQuery: Change Toronto to your target city searchStringsArray: Change [barber] to your business type Examples: [restaurants], [dentists], [contractors] #### Configure the HTTP Request (start results) Method: GET URL: Enter the get dataset URL from Apify #### Split Out Node Select fields to append in the Google Sheet #### Test the Configuration Click Execute workflow to test. Check that the Apify job starts successfully. Note the job ID returned for the next section. This section initiates the scraping process and should complete in 30-60 seconds depending on your lead count. #### Setup Google Sheets Create a new Google Sheet with these columns: - title (business name) - address (full address) - state (state/province) - neighborhood (area/district) - phone (contact number) - emails (email addresses) Copy your Google Sheets document ID for workflow configuration ## Requirements - Apify account - Google Sheets document - Google OAuth credentials ## Customization Options ### For different use cases: - Lead Gen: Get business leads - Local SEO: Collect competitor data - Market Research: Analyze industry trends ### Advanced modifications: - Add email enrichment - Integrate with CRM systems - Set up automatic daily runs
New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.
Part of a bundle
Lead Generation Machine
This workflow is one of 8 in the bundle — $49.00 for all of them.
That is $6.13 each, vs $9.99 for this one alone.
View bundleSecure checkout powered by Stripe
Support
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related Marketing workflows
- Automate UGC Video Creation and Instagram Posting with Google Gemini and Veo 3$9.99
- Automate Lead Generation and Cold Email Outreach$14.99
- Automate Professional Video Ad Creation from Product Images$19.99
- Track SEO Keyword Rankings with Bright Data MCP and GPT-4o AI Analysis$14.99
- Automate Google Maps Data Scraping and Email Discovery for Local Business Outreach$14.99
- Automate AI-Driven Social Media Content for Auto Services$19.99
More from Jordan Lee
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.