Automate Lead Generation with n8n & Airtable Integration

This n8n workflow automates lead data collection and enrichment from web sources, filters valid leads, and saves them to Airtable, eliminating manual work and speeding up outreach preparation.
manualTrigger
httpRequest
airtable
+3
Workflow Identifier: 1747
NODES in Use: Manual Trigger, HTTP Request, If, Set, Airtable, Sticky Note
Automate lead gen with n8n and Airtable

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What This Lead Generation Workflow Does

This workflow automates the process of getting lead data from websites or LinkedIn profiles.
It fixes the problem of manual data collection by scraping, cleaning, filtering, and saving leads automatically.
Users get a ready-to-use list of leads saved in Airtable for quick outreach.

The workflow triggers with a manual start.
It sends an HTTP request to a lead scraping API and gets detailed lead info with emails, job titles, and company details.
Then it filters out leads that don’t have emails.
Next, it edits and formats fields to keep data clear and consistent.
Finally, the clean leads are saved into an Airtable base.


Tools and Services Used


Who Should Use This Workflow

Anyone who needs to gather lead contacts without spending hours doing it manually.
Good for marketing managers, sales teams, and outreach coordinators with little time for data entry.

The workflow works well if a user has basic n8n experience and access to Airtable and a lead scraping API.


Beginner Step-by-Step: How to Use This Workflow in Production

1. Import the Workflow

  1. Download the workflow file using the Download button on this page.
  2. Open the n8n editor where you work on workflows.
  3. Use the “Import from File” option and upload the saved workflow file.

2. Configure Credentials and Settings

  1. Add your Airtable API Key in the Airtable node credentials.
  2. Fill in the Base ID and Table name where leads will be saved.
  3. Update the HTTP Request node, especially the “url” parameter in the JSON body to target the website or domain you want.

3. Test the Workflow

  1. Run the workflow manually by clicking the Manual Trigger node and then pressing “Execute Node” or “Run Workflow”.
  2. Watch the data go through each node in the editor panel to make sure leads come through and save properly.

4. Activate for Production

  1. Once the test works, toggle the workflow’s “Active” switch on.
  2. You can trigger it manually anytime or attach a Schedule node to automate future runs.

Workflow Inputs, Processing, and Outputs

Inputs

  • Trigger fromManual Trigger node starting workflow.
  • Target URL or domain set in HTTP request for specific leads.
  • Lead scraping API response containing lead contacts.

Processing Steps

  • HTTP Request node calls API and gets lead data JSON.
  • If node filters out leads missing any email field.
  • Set node formats lead data fields, mapping names and emails.
  • Airtable node adds cleaned leads to the right base and table.

Outputs

  • Airtable base updated with new, valid lead contacts.
  • Filtered, clean data ready for email outreach or sales calls.
  • Reduced manual effort and better quality data than copying manually.

Customization Ideas

  • Add more lead fields like phone numbers or social links in the Set node.
  • Change totalRecords in the HTTP node to get more or fewer leads per run.
  • Use a different Airtable base or table to organize leads by campaign or region.
  • Make the filter stricter by also filtering on job titles or locations.

Troubleshooting

  • Problem: No leads saved in Airtable.
    Cause: Filter removes all leads or API returns empty.
    Fix: Disable filter node and test HTTP Request node output.
  • Problem: Airtable authentication error.
    Cause: Invalid or expired API Key.
    Fix: Update Airtable credentials with valid API Key.

Prerequisites and Notes

  • n8n account: Cloud or self-host n8n instance to run workflows.
  • Airtable account: with API Key, base, and table to save leads.
  • Access to HTTP Request node: To call the lead scraping API.
  • Some basic skills to import workflows and update settings.

Example Lead Scrape Request JSON

This is the JSON sent to the lead scraping API inside the HTTP Request node.
You can update the “url” value as needed.

{
  "getPersonalEmails": true,
  "getWorkEmails": true,
  "totalRecords": 500,
  "url": ""
}

Example Field Mapping in Set Node

Use expressions to assign the scraped data to clean, correct field names.
Example from the Set node named “Edit Fields”:

{
  "first_name": "={{ $json.first_name }}",
  "last_name": "={{ $json.last_name }}",
  "email": "={{ $json.email }}",
  "headline": "={{ $json.headline }}"
}

Example Airtable Field Mapping

In the Airtable node, map JSON fields to Airtable columns:

{
  "first_name": "={{ $json.first_name }}",
  "email_address": "={{ $json.email }}",
  "organization_name": "={{ $json.organization }}"
}

Summary

✓ Automates collecting, cleansing, and saving lead data.
✓ Gives ready-to-use Airtable contacts for marketing and sales.
✓ Saves users 5+ hours a week by replacing manual work.
✓ Lowers errors by filtering and formatting lead info.
✓ Easy to run on-demand and customize for own needs.

→ Best for teams needing fast, accurate lead lists.
→ Simplifies lead scraping with clear steps and configuration.
→ Helps keep sales pipelines full with valid emails.

Automate lead gen with n8n and Airtable

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

Users download the workflow file from this page, import it using “Import from File” inside the n8n editor, then add Airtable API Key, base and table info. They update the HTTP Request node’s url parameter and test the workflow before activating it.
The workflow uses n8n automation platform, a lead scraping API called through HTTP Request nodes, and Airtable to store cleaned leads. Manual Trigger starts the workflow, and Filter and Set nodes process data.
This happens when all leads get filtered out or no data is received from the API. Fix by disabling the filter node temporarily and checking the HTTP Request node output.
Yes, after setting it up and testing, users can add a Schedule node in n8n to trigger the workflow automatically at desired intervals instead of manual starts.

Promoted by BULDRR AI

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.