Back to Templates

Generate Personalized Cold Emails from LinkedIn Jobs with GPT-4o and Gmail

Created by

Created by: Meak || meak

Meak

Last update

Last update 9 hours ago

Categories

Share


LinkedIn Job-Based Cold Email System

Most outreach tools rely on generic lead lists and recycled contact data.

This workflow builds a live, personalized lead engine that scrapes new LinkedIn job posts, finds company decision-maker emails, and generates custom cold emails using GPT — all fully automated through n8n.

Benefits

  • Automated daily scraping of “Marketing Manager” jobs in Belgium
  • Real-time leads from companies currently hiring for marketing roles
  • Filters out HR and staffing agencies to keep only real businesses
  • Enriches each company with verified CEO, Sales, and Marketing emails
  • Generates unique, human-like cold emails and subject lines with GPT-4o
  • Saves clean data to Google Sheets and drafts personalized Gmail messages

How It Works

  1. Schedule Trigger runs every morning at 08:00.
  2. Apify LinkedIn Scraper collects new “Marketing Manager” jobs in Belgium.
  3. Remove Duplicates ensures each company appears only once.
  4. Filter Staffing excludes recruiters, HR agencies, and interim firms.
  5. Save Useful Infos extracts core company data — name, domain, size, description.
  6. Filter Domain & Size keeps valid websites and companies under 100 employees.
  7. Anymailfinder API looks up CEO, Sales, and Marketing decision-maker emails.
  8. Merge + If Node validates email results and removes invalid entries.
  9. Split Out + Deduplicate ensures unique, verified contacts.
  10. Extract Lead Name (Code Node) separates first and last names.
  11. Google Sheets Node appends all enriched lead data to your master sheet.
  12. GPT-4o (LangChain) writes a 100–120 word personalized cold email.
  13. GPT-4o (LangChain) creates a short, casual subject line.
  14. Gmail Draft Node builds a ready-to-send email using both outputs.
  15. Wait Node loops until all leads are processed.

Who Is This For

  • B2B agencies targeting Belgian SMEs
  • Outbound marketers using job postings as purchase intent signals
  • Freelancers or founders running lean, automated outreach systems
  • Growth teams building scalable cold email engines

Setup

  • Apify: use curious_coder~linkedin-jobs-scraper actor + API token
  • Anymailfinder: header auth with decision-maker categories (ceo, sales, marketing)
  • Google Sheets: connect a sheet named “LinkedIn Job Scraper” and map columns
  • OpenAI (GPT-4o): insert your API key into both LangChain nodes
  • Gmail: OAuth2 connection; resource set to draft
  • n8n: store all credentials securely; set HTTP nodes to continue on error

ROI & Results

  • Save 1–3 hours per day on manual research and outreach prep
  • Contact active hiring companies when they need marketing help most
  • Scale to multiple industries or regions by changing search URLs
  • Outperform paid lead databases with fresh, verified data

Strategy Insights

  • Add funding or tech-stack data for better lead scoring
  • A/B test GPT subject lines and log open rates in Sheets
  • Schedule GPT follow-ups 3 and 7 days later for full automation
  • Push all enriched data to your CRM for advanced segmentation
  • Use hiring signals to trigger ad audiences or retargeting campaigns

Check Out My Channel

For more advanced automation workflows that generate real client results, check out my YouTube channel — where I share the exact systems I use to automate outreach, scale agency pipelines, and close deals faster.