Skip to main content

Lead enrichment pipeline: Leadfeeder to Apollo to Google Sheets

Workflow preview

Workflow preview
100%
Lead enrichment pipeline: Leadfeeder to Apollo to Google Sheets preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

What This Does This automation creates a seamless daily pipeline that: Pulls yesterday's website visitors from Leadfeeder Enriches company data using Apollo.io's powerful database Delivers enric...

Best for

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

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.scheduletrigger, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.splitinbatches, n8n-nodes-base.set, n8n-nodes-base.if, n8n-nodes-base.splitout

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Lead enrichment pipeline: Leadfeeder to Apollo to Google Sheets
Workflow name
Lead enrichment pipeline: Leadfeeder to Apollo to Google Sheets

🎯 What This Does

This automation creates a seamless daily pipeline that:

  • Pulls yesterday's website visitors from Leadfeeder
  • Enriches company data using Apollo.io's powerful database
  • Delivers enriched leads to your Google Sheets with smart deduplication
  • Alerts your team via Telegram when something needs attention

💡 Why Automate Your Lead Enrichment?

⏰ Reclaim Your Time
Stop the copy-paste busywork.

🎯 Never Miss a Hot Lead
Automatically captures yesterday's visitors and enriches.

🚀 Enable Faster Outreach
Enriched records mean your SDRs can reach out the same day with full context—faster follow-up leads to higher conversion rates.

🛡️ API-Friendly Design
Built-in pagination, rate limiting (40s delay), and smart stop logic prevent API throttling and account issues.

⚡ Perfect For These Teams

📈 Growth Marketers
Maintain a daily pipeline of enriched accounts for targeted campaigns and ABM strategies.

📊 Sales Ops & SDR Managers
Ensure your reps start each day with high-quality, enriched leads in a shared workspace.

🔍 Data & BI Teams
Create a lightweight source-of-truth for lead activity without building complex ETL pipelines.

Workflow Overview

Daily Trigger (9 AM) → Fetch Account → Generate Pages → Retrieve Leads → 
Enrich with Apollo → Update Google Sheets → Send Alerts

🕘 Trigger
Runs automatically every day at 9:00 AM server time

📋 Process Flow

  1. Fetch your Leadfeeder Account ID
  2. Generate smart pagination (up to 50 pages with safety cap)
  3. Retrieve yesterday's leads in batches of 100
  4. Split and process individual records
  5. Enrich each company using Apollo's database
  6. Append or update rows in Google Sheets with deduplication

🧠 Smart Logic

  • Pre-generates page sequences with safety limits
  • Stops automatically when pages return <100 results
  • Normalizes website URLs and handles Apollo field fallbacks
  • Implements intelligent rate limiting to respect API limits

📤 Output

  • Clean, enriched data in your Google Sheets
  • Telegram alerts for any workflow errors
  • Automatic deduplication using ID matching

🚀 Quick Setup Guide

1. Import & Configure

Import the JSON workflow file to your n8n instance

2. Add Your Credentials

Set up these integrations in n8n:

  • Leadfeeder: HTTP Header Auth with Bearer token
  • Apollo: HTTP Header Auth with API key
  • Google Sheets: OAuth2 with edit permissions
  • Telegram: Bot Token + Chat ID for alerts

3. Update Sheet Configuration

  • Replace documentId with your Google Sheets URL or from list
  • Set correct sheetName (gid) in Google Sheets nodes
  • Verify column mapping matches your sheet structure

5. Test Your Setup

Run a test with yesterday's date to confirm:

  • ✅ Leads are retrieved from Leadfeeder
  • ✅ Apollo enrichment populates correctly
  • ✅ Rows append/update in Google Sheets
  • ✅ Telegram alerts work for errors

🛠️ Level Up Your Automation

CRM Integration

Push enriched leads directly into HubSpot, Salesforce, or Pipedrive for automatic sequences and follow-up campaigns.

Daily Intelligence Reports

Add Slack or email summaries highlighting high-value accounts by revenue, employee count, or industry vertical.

Smart Routing

Route leads to specific team members based on company size, industry, or geographic location.

Data Flow Structure

Each lead goes through this enrichment pipeline:

  1. Raw Lead: Company name, website, visit data from Leadfeeder
  2. Apollo Enrichment: Industry, size, revenue, contact info, social profiles
  3. Sheet Update: Merged data with smart deduplication and timestamp tracking

Support

Created by: khaisa Studio
Support: Contact for Custom Work
Category: Sales Automation, Lead Generation, Data Enrichment
Tags: lead-generation, leadfeeder, apollo, google-sheets, lead-enrichment, sales-automation

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 Note3

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

Block 2 - Sticky Note

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

Block 3 - Daily Trigger (9 AM)

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 4 - Fetch Leadfeeder Account ID

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

Block 5 - Generate Pagination Sequence

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

Block 6 - Pagination Controller

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

Block 7 - Assign Current Page Number

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

Block 8 - Retrieve Lead Data (Leadfeeder)

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

Block 9 - Check Last Page Condition

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

Block 10 - Extract Leads (Last Page)

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

Block 11 - Enrich with Apollo (Last Page)

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

Block 12 - Save Leads to Google Sheets (Last Page)

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

Block 13 - Extract Leads (Full Page)

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

Block 14 - Enrich with Apollo (Full Page)

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

Block 15 - Save Leads to Google Sheets (Full Page)

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

Block 16 - Rate Limit Delay (40s)

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

Block 17 - Workflow Error Listener

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

Block 18 - Format Error Report

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

Block 19 - Send Alert to Telegram

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

Block 20 - Sticky Note1

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

Block 21 - Sticky Note2

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

Block 22 - Sticky Note4

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

Block 23 - Sticky Note5

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

3. Summary Table

Workflow Lead enrichment pipeline: Leadfeeder to Apollo to Google Sheets
Complexity advanced
Nodes 23
Categories Lead Generation, Multimodal AI
Author Khairul Muhtadin
Published 17 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7510/7510.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 Lead enrichment pipeline: Leadfeeder to Apollo to Google Sheets do?

What This Does This automation creates a seamless daily pipeline that: Pulls yesterday's website visitors from Leadfeeder Enriches company data using Apollo.io's powerful database Delivers enric...

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, Multimodal AI use case.