🎣 Automate LinkedIn profile research & email outreach with Apify, Gemini & Sheets

⚡ 1,019 views · 🎣 Lead Generation & Enrichment

💡 Pro Tip — If you’re pulling LinkedIn data through HTTP requests or dealing with API restrictions, there’s a community node called ScraperNode that handles this natively. It has dedicated scrapers for profiles, companies, jobs, and people search — you just pass a URL and get structured data back.

View All Scrapers

Description

This n8n template from Intuz provides a complete and automated solution for deep-dive lead research and hyper-personalized email generation.

It transforms a basic list of LinkedIn profiles into a campaign-ready database by first enriching contacts with detailed career data and then using AI to craft unique, context-aware emails based on each individual’s professional journey.

Who’s this workflow for?

How it works

1. Scheduled Data Fetch: The workflow runs automatically on a schedule, fetching a list of leads (containing LinkedIn URLs) from a Google Sheet.

2. Enrich Profiles with Apify: For each lead that hasn’t been processed, it uses an Apify actor to scrape their LinkedIn profile, extracting key information like their “About” section and detailed work experience.

3. Update Central Database: The scraped career history is saved back into a “Profile Data” column in the original Google Sheet, creating a rich, centralized lead profile.

4. AI Email Personalization: The workflow sends the complete, enriched profile data to a Google Gemini AI model via LangChain, using a sophisticated prompt that instructs it to act as an expert B2B copywriter.

5. Craft a Unique Hook: The AI analyzes the lead’s entire career journey to find unique “nuggets”—like long tenure, specific achievements, or unusual career paths—and uses them to write a compelling opening line.

6. Save the Final Email Draft: The AI-generated subject line and personalized email body are saved back into the Google Sheet, leaving you with a ready-to-send, hyper-personalized outreach campaign.

Setup Instructions

1. Google Sheets Setup:

2. Apify Connection:

3. Google Gemini AI Connection:

4. Configure the Schedule:

5. Activate Workflow:

Key Requirements to Use This Template

Connect with us

For Custom Worflow Automation

Click here- Get Started

đź”— Nodes Used

Google Sheets, Schedule Trigger, Basic LLM Chain, Structured Output Parser, Google Gemini Chat Model

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup