Outreach for your product using Apollo, LinkedIn, GPT-4.1 and SendGrid

Go to Workflow
382 views
Built by Misek Misek
Created on June 07, 2026

Description

> 💛 Sticky Note:
> This Hyperpersonalized Outreach n8n template automates AI‑powered B2B email campaigns by combining Apollo.io lead scraping, LinkedIn enrichment, GPT‑4 generation, and SendGrid delivery. Follow the setup steps below to get started in minutes!

🔥 TLDR
Build a scalable, AI‑driven email outreach pipeline that:
Scrapes up to 500 leads from Apify
Enriches profiles with LinkedIn work history & posts
Filters and scores leads via Apollo.io
Generates personalized HTML emails with GPT‑4.1 .
Sends via SendGrid and logs status in Supabase

👥 Who’s It For
Sales teams, growth marketers, and founders who need:
High‑touch cold outreach at scale
Data‑driven personalisation using real profile insights
Automated lead qualification and tracking

⚙️ How It Works / What It Does
Apollo Scraper: Uses Apify HTTP nodes (no hard‑coded API keys) to pull lead data.
Supabase Sink: Persists email, linkedin_url, and ingestion timestamp.
LinkedIn Enrichment: Fetches career history and latest 5 posts via RapidAPI.
Data Validation: Conditional nodes drop incomplete or irrelevant leads.
Product Description Agent: Creates a customer profile based on the product and how it can help them.
Story Agent: Has the persona, style of speech and rules to generate reply for the customer based on the pain points and solution found by the Product Description agent.
HTML Modifier: Contains a fix format to keep the output format of each mail consistent and also generate a subject for the mail.
SendGrid Dispatch: An SMTP service which delivers emails in large quantity and also keep your mail spam free otherwise if you use gmail node your mail will go staright to spam; updates status=true/false in Supabase.

🛠️ How to Set Up
Clone the workflow JSON into your n8n instance.
Configure environment variables for Apollo.io, RapidAPI, OpenAI, SendGrid, and Supabase.
Rename credentials and test each HTTP node.
Activate the workflow and monitor executions in n8n’s UI.

✅ Requirements
n8n 0.300.0+
Accounts & API keys for Apollo.io, RapidAPI (LinkedIn), OpenAI, SendGrid, Supabase
Supabase to store LinkedIn id and gmails of leads, also useful to eliminate the risk of having duplicate data.

🎨 How to Customize
Adjust lead batch size in the Apollo HTTP node.
Swap the HTML email template to match your brand.
Add A/B subject‑line experiments by cloning the Email Agent.


> 🔐 Security Reminder: All credentials must be stored in n8n’s credential manager—never hard‑code API keys in HTTP nodes.

Nodes Used (7)

AI Agent
@n8n/n8n-nodes-langchain.agent
Code
n8n-nodes-base.code
HTTP Request
n8n-nodes-base.httpRequest
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
SendGrid
n8n-nodes-base.sendGrid
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured
Supabase
n8n-nodes-base.supabase