High-Volume Qualified Lead Generation using API and Airtable - n8n Workflow

Use this powerful n8n workflow to scrape enriched leads from an external API (like Apollo) and automatically save only qualified contacts into your Airtable database. Deploy this n8n template today.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

Markdown-formatted string. B2B Sales Development Representatives (SDRs) needing automated lead list building. Growth Marketers looking for efficient lead generation n8n templates. Operations Managers who need to centralize high volumes of qualified contact data. Users leveraging external APIs (like Apollo) to enrich contact data and requiring an robust n8n node pipeline for data hygiene.

Overview

Lead generation often involves manual data scraping, filtering, and entry, which is time-consuming and prone to errors. This efficient n8n workflow solves this by providing an automated pipeline. Starting with a manual n8n trigger, it calls a specified API endpoint (designed for lead enrichment, retrieving hundreds of records), applies a critical qualification filter (checking for a valid email), and cleans the data structure using an n8n node before securely storing the validated leads in an Airtable database. This n8n workflow is designed for scalability, allowing users to effortlessly capture and organize thousands of enriched leads in seconds, ensuring that only high-quality data enters the CRM system.

How it Works

This automation begins with the manual n8n trigger, which initiates the entire sequence.


  1. Trigger and Scrape: The 'When clicking ‘Test workflow’' n8n trigger manually starts the process. The flow immediately moves to the 'Scrape Leads' n8n node, which is configured as an HTTP Request. This n8n node sends a request to a designated lead API, requesting up to 500 records and explicitly asking for both personal and work emails.

  2. Qualification Check: The data retrieved from the API is then processed by the 'Filter leads without email' n8n node (an If node). This is the critical qualification step. The n8n workflow proceeds only if the contact record contains a valid email address.

  3. Data Structuring: Qualified leads pass to the 'Edit Fields' n8n node (a Set node). This n8n node performs necessary data transformation, mapping the raw API fields (like organizationname, title) into clean, standardized keys (e.g., organization, currentjob_title) suitable for the Airtable schema. This step ensures data hygiene within the n8n workflow.

  4. Database Storage: Finally, the structured data reaches the 'Save Leads in database' n8n node. This Airtable n8n node connects to the specified 'Lead Gen - Mastersheet' base and 'Leads' table, creating a new record for each qualified lead, completing the automated lead generation n8n workflow.

Installation Guide

To deploy this comprehensive n8n workflow template, follow these steps:


  1. Import: Copy the provided JSON code and paste it into your n8n instance using the 'New' -> 'Import from JSON' option.

  2. API Setup ('Scrape Leads' n8n node): Edit the 'Scrape Leads' HTTP Request n8n node. You must replace the placeholder URL with the actual API endpoint of your lead generation service (e.g., Apollo, ZoomInfo). Ensure the headers and authentication required by that API are correctly configured in this n8n node.

  3. Airtable Credentials: Click on the 'Save Leads in database' n8n node. Set up or select your Airtable Personal Access Token credentials. The n8n workflow requires access to create records.

  4. Airtable Base Configuration: Verify that the 'Base' and 'Table' selections within the Airtable n8n node match your intended destination. The field mappings defined in the 'Edit Fields' n8n node must correspond exactly to the column names in your target Airtable table.

  5. Testing: Save the n8n workflow and run a 'Test workflow' execution to verify data flow from the API through the filter and into Airtable.

Node Details

This n8n workflow utilizes several key n8n nodes to achieve robust lead automation:

When clicking ‘Test workflow’ (Manual Trigger n8n trigger):
Function: Serves as the starting point. It's the simplest n8n trigger type for immediate, on-demand execution.
Key Configuration: Activated simply by clicking 'Test workflow' or 'Execute workflow' in the n8n UI.
Scrape Leads (HTTP Request n8n node):
Function: Interacts with the external lead generation API to pull bulk contact data. This n8n node is the data source.
Key Configuration: Sends a JSON body requesting up to 500 records, setting getPersonalEmails and getWorkEmails to true.
Filter leads without email (If n8n node):
Function: Acts as the qualification gate. It ensures that only leads containing an email address are allowed to proceed through the n8n workflow.
Key Configuration: Checks if the expression {{ $json.email }} exists.
Edit Fields (Set n8n node):
Function: Cleans and standardizes the lead data fields, preparing them for the structured database schema.
Key Configuration: Explicitly maps source fields like organizationname to target fields like organization. This is crucial for seamless data insertion into the next n8n node.
Save Leads in database (Airtable n8n node):
Function: The final action, saving the qualified, enriched leads into a centralized Airtable database.
* Key Configuration: Operation set to create. Requires configured Airtable credentials and precise column mapping for fields such as email
address, firstname, currentjobtitle, and organizationwebsite.

Related n8n Workflows

Free

Nodes: 6 Nodes
Updated: December 26 2025
View all
Created by

Building Badass AI Agents for Marketing. Pre-made, ready-to-use, fully customizable.

Featured*