Skip to main content

Scrape Apollo.io leads and sync them to Google Sheets with ScraperCity

Workflow preview

Workflow preview
100%
Scrape Apollo.io leads and sync them to Google Sheets with ScraperCity preview
Open on n8n.io

1. Workflow Overview

Who is this for This workflow is for B2B sales teams, growth hackers, and revenue operators who need a reliable, low cost pipeline of verified leads from Apollo.io without manually exporting CSVs o...

Best for

  • Lead Generation automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.manualtrigger, n8n-nodes-base.set, n8n-nodes-base.httprequest, n8n-nodes-base.splitinbatches, n8n-nodes-base.wait, n8n-nodes-base.if, n8n-nodes-base.code

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Alex Berman.

Original n8n.io source

1.1 Workflow description

Title
Scrape Apollo.io leads and sync them to Google Sheets with ScraperCity
Workflow name
Scrape Apollo.io leads and sync them to Google Sheets with ScraperCity

Who is this for

This workflow is for B2B sales teams, growth hackers, and revenue operators who need a reliable, low-cost pipeline of verified leads from Apollo.io -- without manually exporting CSVs or hitting Apollo's export limits. If you are prospecting into a specific industry, job title, or company size, this workflow automates the entire sourcing and storage process.

How it works

  1. You configure your target audience once in the "Configure Search Parameters" node (job titles, industry, company size, lead count).
  2. The workflow sends a scrape request to ScraperCity's Apollo filter endpoint, which pulls verified contacts at $0.0039 per contact.
  3. Because scrapes run asynchronously and can take 10-60 minutes, the workflow polls ScraperCity every 60 seconds until the job completes.
  4. Once the scrape succeeds, the workflow downloads the results, parses the CSV data, removes duplicates, and appends clean rows to your Google Sheet.

How to set up

  1. Create a ScraperCity account at scrapercity.com and copy your API key.
  2. In n8n, create an "Header Auth" credential named "ScraperCity API Key" with the header name "Authorization" and value "Bearer YOUR_KEY".
  3. Connect your Google Sheets OAuth2 credential.
  4. Set your Google Sheet document ID and sheet name in the "Save Leads to Google Sheets" node.
  5. Edit the "Configure Search Parameters" node with your target filters.

Requirements

  • ScraperCity account (scrapercity.com)
  • Google Sheets OAuth2 credential
  • A Google Sheet with headers matching the contact fields

How to customize the workflow

  • Change job titles, industry, company size, and lead count in "Configure Search Parameters".
  • Swap Google Sheets for HubSpot, Airtable, or a webhook to push leads directly into your CRM.
  • Add a Slack notification node after the final write step to alert your team when new leads arrive.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note - Overview

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Sticky Note - Configuration Section

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Sticky Note - Async Polling Loop

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note - Download and Output Section

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Sticky Note - Set API Key

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Sticky Note - Set Google Sheet ID

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - When clicking 'Execute workflow'

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 8 - Configure Search Parameters

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 9 - Start Apollo Lead Scrape

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 10 - Store Run ID

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 11 - Polling Loop Controller

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 12 - Wait 60 Seconds

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 13 - Check Scrape Status

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 14 - Is Scrape Complete?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 15 - Download Scraped Results

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 16 - Parse CSV and Format Leads

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 17 - Remove Duplicate Leads

Type / Role
n8n-nodes-base.removeDuplicates - removeDuplicates
Config choices
Version 2

Block 18 - Save Leads to Google Sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.6

3. Summary Table

Workflow Scrape Apollo.io leads and sync them to Google Sheets with ScraperCity
Complexity advanced
Nodes 18
Categories Lead Generation
Author Alex Berman
Published 04 Mar 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13856/13856.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Scrape Apollo.io leads and sync them to Google Sheets with ScraperCity do?

Who is this for This workflow is for B2B sales teams, growth hackers, and revenue operators who need a reliable, low cost pipeline of verified leads from Apollo.io without manually exporting CSVs o...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Lead Generation use case.