Automate Business Lead Scraping from Apify to Google Sheets with Data Cleaning
π Automated Lead Scraper Workflow (Apify + n8n + Google Sheets)
π§ What It Does
This n8n workflow automates the process of scraping leads using Apify, cleaning the extracted data, and exporting it to Google Sheetsβready for use in outreach, prospecting, or CRM pipelines.
π Workflow Steps
β Start β Manually triggers the workflow. π§© Set Variables β Stores required Apify credentials:
APIFY_TOKEN: Your Apify token. APIFY_TASK_ID: The Apify task to run. πΈοΈ Run Apify Scraper β Launches the scraper and fetches the dataset. π§Ή Clean Data β Processes scraped results to:
βοΈ Strip non-numeric characters from phone numbers. βοΈ Format emails (lowercase + trimmed). π Export to Google Sheets β Appends clean data to your spreadsheet:
π’ company name β from title π phone β cleaned number π address β from scraped info
π οΈ Requirements
π·οΈ Apify Account
A valid APIFY_TOKEN An existing Apify task (APIFY_TASK_ID)
π Google Sheets Access
OAuth2 credentials set up in n8n (e.g., "Google Sheets account 2")
π¦ How to Use
βοΈ Open the Variables node and plug in your Apify credentials. π Confirm the Google Sheets node points to your desired spreadsheet. βΆοΈ Run the workflow manually from the Start node.
π₯ Output
A ready-to-use sheet of cleaned lead data containing:
Company names Phone numbers Addresses
πΌ Perfect For:
Sales teams doing outbound prospecting Marketers building lead lists Agencies running data aggregation tasks
Related Templates
Extract Title tag and Meta description from url for SEO analysis with Airtable
Extract Title tag and meta description from url for SEO analysis. How it works The workflows takes records from Airtabl...
Restore your workflows from GitHub
This workflow restores all n8n instance workflows from GitHub backups using the n8n API node. It complements the Backup ...
Build a Restaurant Voice Assistant with VAPI and PostgreSQL for Bookings & Orders
This n8n template demonstrates how to create a comprehensive voice-powered restaurant assistant that handles table reser...
π Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments