Skip to main content

LinkedIn email finder with AI domain detection using Google Sheets & Hunter.io

Workflow preview

Workflow preview
100%
LinkedIn email finder with AI domain detection using Google Sheets & Hunter.io 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’s it for This template is designed for recruiters, lead generation teams, agency owners, and sales professionals who collect LinkedIn profile data and need to automate the process of finding ve...

Best for

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

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.googlesheets, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatgooglegemini, n8n-nodes-base.code, n8n-nodes-base.switch, n8n-nodes-base.httprequest, n8n-nodes-base.stickynote

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
LinkedIn email finder with AI domain detection using Google Sheets & Hunter.io
Workflow name
LinkedIn email finder with AI domain detection using Google Sheets & Hunter.io

Who’s it for

This template is designed for recruiters, lead-generation teams, agency owners, and sales professionals who collect LinkedIn profile data and need to automate the process of finding verified company domains and email addresses. It is ideal for teams looking to eliminate manual research and streamline prospect enrichment.

What it does / How it works

This workflow reads contact records from a Google Sheet, including name, position, and description.
An AI agent analyzes each profile to determine the company domain. If the domain is already identifiable from the description, it is used directly.
If no domain is found, the workflow generates an intelligent search term and performs a Google Custom Search to extract the most accurate domain from real web results using another AI agent.
Once the domain is confirmed, the workflow queries Hunter.io to find the best-matching email address for the contact.
Finally, the enriched data—email and company domain—is appended back into the Google Sheet, updating each row automatically.

Requirements

  • Google Sheets OAuth2 credentials
  • Google Gemini (PaLM) API credentials
  • Hunter.io API key
  • Google Custom Search API key and CSE ID
  • A Google Sheet with columns for name, position, description, and domain

How to set up

  1. Connect your Google Sheets, Gemini, Hunter.io, and Google Search credentials.
  2. Replace the Google Sheet ID and sheet name with your own.
  3. Add your API keys to the designated nodes.
  4. Ensure column names match your sheet structure.
  5. Execute the workflow to begin enrichment.

How to customize the workflow

  • Modify AI prompts for better domain inference
  • Add additional enrichment steps (social profiles, industry tags)
  • Add fallback email providers (Snov, Apollo, etc.)
  • Change update logic to support multiple sheets or batch processing

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 ‘Execute workflow’

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

Block 2 - Get row(s) in sheet

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

Block 3 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.2

Block 4 - Google Gemini Chat Model

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

Block 5 - Code in JavaScript

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

Block 6 - Switch

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Block 7 - HTTP Request

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

Block 8 - HTTP Request1

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

Block 9 - Append or update row in sheet

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

Block 10 - HTTP Request2

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

Block 11 - Code in JavaScript1

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

Block 12 - AI Agent1

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.2

Block 13 - Google Gemini Chat Model1

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

Block 14 - Code in JavaScript2

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

Block 15 - Append or update row in sheet1

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

Block 16 - Sticky Note

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

Block 17 - Sticky Note1

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

Block 18 - Sticky Note2

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

Block 19 - Sticky Note3

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

3. Summary Table

Workflow LinkedIn email finder with AI domain detection using Google Sheets & Hunter.io
Complexity advanced
Nodes 19
Categories Lead Generation, AI Summarization
Author Pixcels Themes
Published 11 Dec 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11681/11681.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 LinkedIn email finder with AI domain detection using Google Sheets & Hunter.io do?

Who’s it for This template is designed for recruiters, lead generation teams, agency owners, and sales professionals who collect LinkedIn profile data and need to automate the process of finding ve...

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