Personalized B2B Email Outreach with Apollo, LinkedIn, GPT-4.1 and SendGrid
> đ 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.
Related Templates
Generate Product Ad Copy & CTAs with GPT-4 for Slack and Airtable
⥠AI Copywriter Pro: Instant Ad Copy & CTA Generator Transform product details into compelling marketing copy in second...
Instagram Full Profile Scraper with Apify and Google Sheets
đ¸ Instagram Full Profile Scraper with Apify and Google Sheets This n8n workflow automates the process of scraping ful...
Compare Lists and Identify Common Items & Differences Using Custom Keys
This workflow compares two lists of objects (List A and List B) using a user-specified key (e.g. email, id, domain) and ...
đ Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments