Skip to main content

Automated lead generation & contact enrichment with Hunter.io and Perplexity AI

Workflow preview

Workflow preview
100%
Automated lead generation & contact enrichment with Hunter.io and Perplexity AI preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Who is this for? This template is ideal for B2B founders, solopreneurs, growth marketers, SDRs, or anyone looking to scale their lead generation and enrichment with no code tools to low code tools....

Best for

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

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.googlesheets, n8n-nodes-base.if, @n8n/n8n-nodes-langchain.lmchatopenrouter, @n8n/n8n-nodes-langchain.chainllm, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.chattrigger, n8n-nodes-base.merge

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Velebit from Innovatio.

Original n8n.io source

1.1 Workflow description

Title
Automated lead generation & contact enrichment with Hunter.io and Perplexity AI
Workflow name
Automated lead generation & contact enrichment with Hunter.io and Perplexity AI

Who is this for?

This template is ideal for B2B founders, solopreneurs, growth marketers, SDRs, or anyone looking to scale their lead generation and enrichment with no-code tools to low-code tools.

Whether you're building your first lead pipeline or upgrading a manual spreadsheet, LeadAIgen automates the entire discovery → enrichment → logging process using AI and verified email data.


What problem does this solve?

Lead sourcing and enrichment are time-consuming, inconsistent, and often require multiple tools or manual scraping.

This workflow solves that by chaining AI + contact discovery, validating everything, and storing clean, structured data in Google Sheets — ready for outreach or CRM sync.


What this workflow does:

✅ Accepts an industry/topic prompt via chat trigger or Telegram,
🤖 Uses OpenRouter (Perplexity) to find 15 relevant companies with domains,
📤 Parses the results, filters duplicates based on your Google Sheet,
📩 Enriches each domain with up to 3 real personal emails using Hunter.io,
💡 If no emails found → Fallback AI tries to locate general email info,
📊 Updates your Google Sheet with all valid enriched leads (status: “Enriched”),
🔁 Runs in safe batches of 10 to protect your API limits,
🛠️ Includes logic to clean data, validate JSON, and slice leads.


Setup:

  • Create Google Sheets, Hunter.io, and OpenRouter credentials in your n8n instance
  • Import the JSON workflow
  • Set your OpenRouter model (default = Perplexity Sonar Large)
  • Connect your Google Sheet (must contain a header row with Domain, Status, etc.)
  • Paste your Hunter API key into the Hunter.io node
  • (Optional) Add Telegram Bot trigger to chat with your lead generator

🗒 Color-coded workflow notes:

To make customization easier, this template includes Innovatio's signature visual sticky note system inside the n8n canvas.

You’ll find:

🟩 Green Notes → Main Steps
The core logic blocks — from company generation to AI fallback and Google Sheets update.

🟦 Blue Notes → Personalization Tips
How to adapt filters, prompts, and data mappings for your business needs.

🟨 Yellow Notes → Optional / Advanced
Expand with Telegram chat triggers, Airtable integration, CRM push, or lead scoring logic.

🟫 Gray Notes → Welcome, Outro & Upgrade Suggestions
Clear guidance and CTAs if you want help scaling this further.

👉 Each node includes comments or setup notes so you can learn the system as you use it.


How to customize this workflow?

🎯 Swap Google Sheets for Airtable for relational views and tagging,
🤖 Replace Perplexity with GPT-4, Claude, or Mixtral inside OpenRouter,
📬 Auto-send enriched leads to Gmail, Slack, or your CRM,
🗣️ Connect this to Telegram for on-the-go company generation,
🔁 Want dynamic lead scoring or auto-categorization? We can help — [email protected]


Final notes

This template was designed by Velebit from Innovatio.
External links (e.g. documentation or support email) lead only to official sources with no affiliate tracking or paid placements.

A separate license applies to the paid version on Gumroad, which includes commercial use rights, extended fallback logic, and advanced upgrade tips.

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 - When clicking ‘Test workflow’

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

Block 2 - Leads List

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

Block 3 - If

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

Block 4 - OpenRouter Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenRouter - lmChatOpenRouter
Config choices
Version 1

Block 5 - Company Finder

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.5

Block 6 - Code2

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

Block 7 - Leads List2

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

Block 8 - If1

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

Block 9 - Leads List3

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

Block 10 - When chat message received

Type / Role
@n8n/n8n-nodes-langchain.chatTrigger - chatTrigger
Config choices
Version 1.1

Block 11 - OpenRouter Chat Model1

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenRouter - lmChatOpenRouter
Config choices
Version 1

Block 12 - Company Finder1

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.5

Block 13 - Merge

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

Block 14 - Leads List4

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

Block 15 - If2

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

Block 16 - Slice down to 10

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

Block 17 - Find real user data with Hunter

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

Block 18 - Clean Hunter output

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

Block 19 - Sticky Note2

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

Block 20 - Sticky Note8

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

Block 21 - Sticky Note

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

Block 22 - Sticky Note5

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

Block 23 - Sticky Note7

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

Block 24 - Sticky Note18

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

Showing the first 24 of 64 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Automated lead generation & contact enrichment with Hunter.io and Perplexity AI
Complexity advanced
Nodes 64
Categories Lead Generation, Multimodal AI
Author Velebit from Innovatio
Published 19 Apr 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/3616/3616.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 Automated lead generation & contact enrichment with Hunter.io and Perplexity AI do?

Who is this for? This template is ideal for B2B founders, solopreneurs, growth marketers, SDRs, or anyone looking to scale their lead generation and enrichment with no code tools to low code tools....

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.