Automate Business Lead Scraping from Apify to Google Sheets with Data Cleaning
π Automated Lead Scraper Workflow (Apify + n8n + Google Sheets)
Description
π 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. An n8n automation workflow template by David Olusola.
Author
David Olusola
Platform
web
Pricing model
free
Categories
Tags
Capabilities
- 3 nodes
- 17,005 views