Skip to main content

Personalized LinkedIn outreach with GPT-4O, PhantomBuster & Google Sheets

Workflow preview

Workflow preview
100%
Personalized LinkedIn outreach with GPT-4O, PhantomBuster & Google Sheets preview
Open on n8n.io

Important notice

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

1. Workflow Overview

This sophisticated n8n workflow transforms raw LinkedIn leads into personalized, high converting connection requests using GPT 4O AI and PhantomBuster automation. The system processes LinkedIn prof...

Best for

  • Lead Generation automation workflows
  • AI Chatbot automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.httprequest, n8n-nodes-base.googlesheets, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.aggregate, n8n-nodes-base.limit, n8n-nodes-base.gmail, n8n-nodes-base.scheduletrigger, n8n-nodes-base.stickynote

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Personalized LinkedIn outreach with GPT-4O, PhantomBuster & Google Sheets
Workflow name
Personalized LinkedIn outreach with GPT-4O, PhantomBuster & Google Sheets

Overview

This sophisticated n8n workflow transforms raw LinkedIn leads into personalized, high-converting connection requests using GPT-4O AI and PhantomBuster automation. The system processes LinkedIn profile data, generates authentic icebreakers, and automatically sends connection requests twice daily, creating a hands-off lead generation machine that maintains human authenticity while scaling outreach efforts.

Key Benefits

🤖 AI-Powered Personalization Generate unique, human-like icebreakers for every LinkedIn connection request using GPT-4O, ensuring each outreach feels personal and authentic rather than automated.

⚡ Automated Workflow Execution Run your entire lead generation pipeline automatically twice daily (10 AM and 5 PM) USA Time with zero manual intervention required.

📊 Smart Data Management Seamlessly manage leads across multiple Google Sheets with automatic data cleanup, duplicate prevention, and organized lead tracking.

🎯 PhantomBuster Integration Leverage PhantomBuster's powerful LinkedIn automation to send connection requests at scale while maintaining platform compliance.

📈 Scalable Processing Process leads in optimized batches of 10 to maintain quality while scaling your outreach efforts effectively and remain within LinkedIn’s weekly connection request limits.

📧 Real-Time Monitoring Receive email notifications whenever connection requests are sent, keeping you informed of your campaign progress.

🔄 Continuous Operation Self-maintaining system that processes new leads, cleans up completed tasks, and prepares for the next cycle automatically.

💼 Professional Template System Uses proven icebreaker templates that follow the format: "Hey [name], loved seeing [personalized detail]. I'm also into [relevant connection], thought I'd connect."

How It Works

Phase 1: Lead Acquisition & Processing

The workflow begins with scheduled triggers that activate twice daily. Upon activation, the system first cleans up previously processed leads from the source Google Sheet to prevent duplicates. It then retrieves fresh LinkedIn profile data including names, titles, company information, locations, and profile URLs.

Phase 2: AI-Powered Personalization Engine

Retrieved leads are processed in batches of 10 through a sophisticated GPT-4O integration. The AI analyzes each LinkedIn profile and generates personalized icebreakers following a proven template structure. The system is specifically programmed to paraphrase LinkedIn information rather than copy it directly, ensuring messages feel human-written rather than automated.

Phase 3: Data Storage & Campaign Launch

Processed leads with their AI-generated icebreakers are stored in a dedicated Google Sheet for tracking and analysis. The system then aggregates all processed data and triggers a PhantomBuster agent that executes the actual LinkedIn connection requests using the personalized messages.

Phase 4: Cleanup & Notification

After successful campaign launch, the system removes processed leads from the source sheet, sends email confirmation notifications, and prepares for the next scheduled execution cycle.

Required Setup & Dependencies

Core Integrations:

  • Google Sheets API access with OAuth2 authentication
  • OpenAI API key for GPT-4O access
  • PhantomBuster account with API key and configured LinkedIn agent
  • Gmail account for notifications

Google Sheets Structure:

  • Source Sheet: Contains raw LinkedIn data (firstName, lastName, title, companyName, location, etc.)
  • Destination Sheet: Stores processed leads with icebreakers and tracking information

PhantomBuster Configuration:

  • LinkedIn connection request automation agent
  • Proper agent ID configuration in the HTTP request node
  • Valid API key with sufficient credits

Business Use Cases

Sales Development Representatives (SDRs) Automate personalized outreach to potential clients while maintaining the human touch that drives connection acceptance rates.

Recruitment Agencies Scale candidate outreach with personalized messages that reference specific experience and skills from LinkedIn profiles.

Business Development Generate partnerships and collaboration opportunities through targeted, personalized connection requests to industry leaders.

Coaches & Consultants Build professional networks by connecting with potential clients using AI-generated icebreakers that reference their specific challenges and opportunities.

Marketing Agencies Develop client relationships through personalized outreach that demonstrates understanding of their business and industry.

Revenue Potential

Direct Lead Generation:

  • Process 20 leads daily (10 per execution × 2 runs)
  • Average 25% connection acceptance rate = 5 new connections daily
  • Convert 10% of connections to qualified leads = 15 qualified leads monthly
  • Close 20% of qualified leads at $2,000 average deal size = $6,000 monthly revenue

Agency Services:

  • Offer as white-label service to clients at $500-1,500 monthly recurring revenue per client
  • Manage 10-20 client accounts for $5,000-30,000 monthly recurring revenue

SaaS Model:

  • Package as LinkedIn automation SaaS with tiered pricing ($49-299/month)
  • Target 100+ subscribers for $5,000-30,000 monthly recurring revenue

Difficulty Level & Build Time

Difficulty: Intermediate to Advanced Estimated Build Time: 4-6 hours Technical Requirements: Understanding of API integrations, Google Sheets operations, and basic workflow logic

Setup Complexity:

  • API key management and authentication setup
  • Google Sheets structure creation and permission configuration
  • PhantomBuster agent setup and testing
  • AI prompt engineering for optimal icebreaker generation

Detailed Setup Steps

1. Google Sheets Preparation

Create two Google Sheets:

  • Source Sheet: Structure with columns for firstName, lastName, location, title, companyName, titleDescription, linkedInProfileUrl
  • Destination Sheet: Include all source columns plus id, photo_url, icebreaker, email_status fields

2. API Credentials Configuration

  • OpenAI: Generate API key with GPT-4O access
  • Google Sheets: Set up OAuth2 credentials in n8n
  • PhantomBuster: Create account, set up LinkedIn connection agent, obtain API key
  • Gmail: Configure OAuth2 for notification emails

3. PhantomBuster Agent Setup

  • Create LinkedIn connection request automation agent
  • Configure with proper message templates and targeting parameters
  • Test agent functionality and note the agent ID for n8n configuration

4. Workflow Import & Configuration

  • Import the provided n8n workflow JSON
  • Update all credential references to match your configured accounts
  • Modify Google Sheet IDs in all relevant nodes
  • Update PhantomBuster agent ID and API key in HTTP request node

5. AI Prompt Optimization

  • Review and customize the GPT-4O prompt for your specific use case
  • Test icebreaker generation with sample data
  • Adjust tone and style parameters as needed

6. Schedule Configuration

  • Set appropriate trigger times based on your target timezone
  • Consider LinkedIn usage patterns for optimal engagement

7. Testing & Validation

  • Run workflow manually with test data
  • Verify Google Sheets integration and data flow
  • Test PhantomBuster integration with small batch
  • Confirm email notifications are working

Advanced Customization Options

Enhanced AI Personalization

  • Integrate additional data sources (company websites, news articles) for richer context
  • Add industry-specific icebreaker templates
  • Implement A/B testing for message variations

CRM Integration

  • Connect to Salesforce, HubSpot, or Pipedrive for seamless lead management
  • Add lead scoring based on profile analysis
  • Implement automated follow-up sequences

Analytics & Reporting

  • Add detailed tracking and analytics dashboard
  • Implement conversion tracking from connection to closed deal
  • Generate automated performance reports

Multi-Platform Expansion

  • Extend to Twitter/X and Instagram outreach
  • Add email finder integration for multi-channel campaigns
  • Implement unified contact management across platforms

Advanced Filtering

  • Add AI-powered lead qualification before outreach
  • Implement company size, industry, and role-based filtering
  • Add sentiment analysis for optimal timing

This workflow represents a complete, production-ready solution that can immediately start generating leads and revenue while providing a foundation for advanced customization and scaling.

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 - Trigger PhantomBuster Agent

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 2 - Add to Google Sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 3 - Personalize Outreach

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.6

Block 4 - Aggregate

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

Block 5 - Get row(s) in sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 6 - Limit1

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

Block 7 - Delete rows or columns from sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 8 - Delete rows or columns from sheet1

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 9 - Send a message

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

Block 10 - Schedule Trigger1

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 11 - Schedule Trigger2

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 12 - Sticky Note

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

Block 13 - Sticky Note1

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

Block 14 - Sticky Note2

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

Block 15 - Sticky Note3

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

Block 16 - Sticky Note4

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

3. Summary Table

Workflow Personalized LinkedIn outreach with GPT-4O, PhantomBuster & Google Sheets
Complexity advanced
Nodes 16
Categories Lead Generation, AI Chatbot
Author Hassan
Published 29 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9080/9080.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 Personalized LinkedIn outreach with GPT-4O, PhantomBuster & Google Sheets do?

This sophisticated n8n workflow transforms raw LinkedIn leads into personalized, high converting connection requests using GPT 4O AI and PhantomBuster automation. The system processes LinkedIn prof...

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 Lead Generation, AI Chatbot use case.