Skip to main content

Write personalized cold emails from LinkedIn leads with Wiza, Perplexity and GPT-5

Workflow preview

Workflow preview
100%
Write personalized cold emails from LinkedIn leads with Wiza, Perplexity and GPT-5 preview
Open on n8n.io

Important notice

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

1. Workflow Overview

What it does Submit a LinkedIn profile URL through a form. The workflow finds their email and company info using Wiza, then researches the prospect and their company with Perplexity AI to uncover r...

Best for

  • AI RAG automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.set, @n8n/n8n-nodes-langchain.outputparserstructured, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.perplexitytool, @n8n/n8n-nodes-langchain.memorybufferwindow, n8n-nodes-base.switch, @wizaco/n8n-nodes-wiza.wiza

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Write personalized cold emails from LinkedIn leads with Wiza, Perplexity and GPT-5
Workflow name
Write personalized cold emails from LinkedIn leads with Wiza, Perplexity and GPT-5

What it does

Submit a LinkedIn profile URL through a form. The workflow finds their email and company info using Wiza, then researches the prospect and their company with Perplexity AI to uncover recent news, growth signals, and pain points. Your choice of AI model uses that research to write a personalized icebreaker email with a relevant hook. The finished draft shows up in your Gmail inbox, ready to review and send.

Who's it for

Sales teams, recruiters, and marketers scaling personalized outreach without manual research.

Requirements

  • n8n (self-hosted or cloud)
  • Wiza API Key
  • OpenAI API Key
  • Perplexity API Key
  • Gmail OAuth2 credentials

How to set up

  1. Import workflow JSON into n8n
  2. Configure Wiza, OpenAI, Perplexity, and Gmail credentials
  3. Create Leads and Case Studies data tables in n8n
  4. Update business context in the "Your Offer" node
  5. Activate workflow and use the form URL

How to customize

  • Modify email templates in the "Ice Breaker Email Generator" prompt
  • Update business profile and case studies for relevance
  • Adjust AI model settings for tone and creativity

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 - Lead Information

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

Block 2 - Structured Output Parser

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

Block 3 - OpenAI Chat Model

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

Block 4 - Ice Breaker Email Generator

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

Block 5 - Lead Research Agent

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

Block 6 - Perplexity Research

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

Block 7 - Your Offer

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

Block 8 - OpenAI Chat Model2

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

Block 9 - Simple Memory

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

Block 10 - Switch1

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

Block 11 - Email Finder

Type / Role
@wizaco/n8n-nodes-wiza.wiza - wiza
Config choices
Version 1

Block 12 - Failed To Find Enrichment

Type / Role
n8n-nodes-base.form - form
Config choices
Version 2.3

Block 13 - On form submission1

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.3

Block 14 - Add To lead Database

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

Block 15 - Return Case Studies

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

Block 16 - Create a draft

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

Block 17 - Sticky Note

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

Block 18 - Sticky Note1

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

Block 19 - Sticky Note2

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

Block 20 - Sticky Note3

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

3. Summary Table

Workflow Write personalized cold emails from LinkedIn leads with Wiza, Perplexity and GPT-5
Complexity advanced
Nodes 20
Categories AI RAG
Author Mezie
Published 31 Dec 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/12342/12342.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 Write personalized cold emails from LinkedIn leads with Wiza, Perplexity and GPT-5 do?

What it does Submit a LinkedIn profile URL through a form. The workflow finds their email and company info using Wiza, then researches the prospect and their company with Perplexity AI to uncover r...

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