Skip to main content

B2B outreach automation: LinkedIn to email sequence with GPT, AnyMailFinder & Perplexity

Workflow preview

Workflow preview
100%
B2B outreach automation: LinkedIn to email sequence with GPT, AnyMailFinder & Perplexity preview
Open on n8n.io

Important notice

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

1. Workflow Overview

B2B Outreach Automation: Email Finder & Sequence Writer — n8n Template This template is built for founders, SDR teams, and agencies who prospect on LinkedIn and want the entire cold outreach pip...

Best for

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

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.chainllm, @n8n/n8n-nodes-langchain.outputparserstructured, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.httprequest, n8n-nodes-base.wait, n8n-nodes-base.googlesheets

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
B2B outreach automation: LinkedIn to email sequence with GPT, AnyMailFinder & Perplexity
Workflow name
B2B outreach automation: LinkedIn to email sequence with GPT, AnyMailFinder & Perplexity

🚀 B2B Outreach Automation: Email Finder & Sequence Writer — n8n Template

This template is built for founders, SDR teams, and agencies who prospect on LinkedIn and want the entire cold-outreach pipeline automated. It turns a simple LinkedIn profile URL into a verified email and a fully personalized 5-step email sequence—then logs everything to Google Sheets for tracking and iteration.

No more switching tools, copying data, or writing follow-ups by hand.
One run = research → verified email → 1 intro + 4 follow-ups → clean sheet update.


🔧 Workflow Capabilities

  • LinkedIn → Verified Email: Finds professional emails from LinkedIn profiles using AnyMailFinder, including email_status (e.g., verified/catch-all).
  • Contextual Research: Pulls company insights with Perplexity and scrapes LinkedIn profile details via Apify for richer personalization.
  • AI Email Writing: Generates 1 personalized intro email + 4 strategic follow-ups with subject lines using OpenAI; enforces a strict JSON structure to avoid messy output.
  • Google Sheets CRM: Writes all results back to your sheet (emails, names, titles, subjects, bodies, status).
  • Safe & Scalable: Processes leads in batches, with optional wait/rate-limits to respect APIs; supports append-or-update logic to prevent duplicates.

⚙️ How It Works

  1. Read new leads from Google Sheets (rows where Email status is empty).
  2. Discover the contact’s email via AnyMailFinder using the LinkedIn URL.
  3. Enrich with Perplexity company research + Apify LinkedIn scrape; clean profile data into a concise summary.
  4. Generate a complete sequence (intro + 4 follow-ups) via OpenAI with your base template and service description.
  5. Write Back to Google Sheets: subjects, bodies, verified email, status, and core fields (Full Name, Title, Company).
  6. Loop to the next profile.

🛠️ Easy Setup

  • Connect APIs (Google Sheets, OpenAI, AnyMailFinder, Apify, Perplexity).
  • Add your keys & paste your email template.
  • Fill the Google Sheet, run a test, then scale.

🎁 What You Get

  • Production-ready n8n workflow (JSON) for Cloud or Self-Hosted.
  • Pre-mapped Google Sheet structure.
  • Step-by-step setup notes inside Sticky Notes.
  • 10 bonus cold email templates to swap into the base prompt.

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 - Set Email Template

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

Block 3 - Email

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

Block 4 - Structured Output Parser2

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 5 - OpenAI Chat Model4

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 6 - OpenAI Chat Model5

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 7 - HTTP Request

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

Block 8 - Wait

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

Block 9 - Get row(s) in sheet1

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

Block 10 - Limit1

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

Block 11 - Loop Over Items1

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

Block 12 - Set input1

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

Block 13 - If3

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

Block 14 - Personal LinkedIn Account POST

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

Block 15 - Set credentials

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

Block 16 - Message a model

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

Block 17 - Code

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

Block 18 - Update no find email

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

Block 19 - Update Final

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

Block 20 - Sticky Note

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

Block 21 - Sticky Note1

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

Block 22 - Sticky Note2

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

Block 23 - Sticky Note3

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

Block 24 - Sticky Note5

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

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

3. Summary Table

Workflow B2B outreach automation: LinkedIn to email sequence with GPT, AnyMailFinder & Perplexity
Complexity advanced
Nodes 25
Categories Lead Nurturing, Multimodal AI
Author LukaszB
Published 27 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7929/7929.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 B2B outreach automation: LinkedIn to email sequence with GPT, AnyMailFinder & Perplexity do?

B2B Outreach Automation: Email Finder & Sequence Writer — n8n Template This template is built for founders, SDR teams, and agencies who prospect on LinkedIn and want the entire cold outreach pip...

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