Templates / Extract leads from an Apollo search URL into Google Sheets

Extract leads from an Apollo search URL into Google Sheets

Ready for 3.0

by Salman Mehboob ✓ · 307 views · created 2026-04-20 · Lead Generation

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 10 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Google Sheets. It also calls api.apollo.io over HTTP.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Apollo Search Input (Edit Fields (Set)): sets 2 fields: url, start_page
  2. Build API Filters (Code): runs custom JavaScript code
  3. Fetch Leads (Apollo) (HTTP Request): calls api.apollo.io (POST)
  4. Extract People (Code): runs custom JavaScript code
  5. Extract Pagination Info (Edit Fields (Set)): sets 2 fields: current_page, total_pages
  6. Write to Google Sheets (Google Sheets): append
  7. Has More Pages? (If): checks a condition and branches into true / false
  8. Increment Page (Edit Fields (Set)): sets 2 fields: current_page, base_filters
  9. Rate Limit Delay (Wait): waits 2 seconds

Services it uses

Google Sheets

HTTP calls to: api.apollo.io

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (7)

From the author

Stop manually downloading CSVs or risking account bans with sketchy UI scrapers! This workflow bridges the gap between Apollo.io's powerful search filters and your Google Sheets database using Apollo's official REST API. Perfect for Sales Development Reps…

Excerpt from Salman Mehboob's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.