🎣 Automated LinkedIn lead enrichment pipeline using Apollo.io & Google Sheets

⚑ 116 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

LinkedIn to Apollo.io Lead Enrichment System with Google Sheets

Automatically capture company and store details from LinkedIn posts, enrich them with domain names and key decision-maker (KDM) data from Apollo.io, and store everything neatly in Google Sheets.
This workflow turns LinkedIn post data into a complete, structured lead database β€” fully automated from detection to enrichment.


🧾 Summary

This workflow reads LinkedIn post data (in JSON format) received via a webhook, extracts company and location information using an AI agent, and progressively enriches the data in three stages:

  1. Find Company Domain using Apollo.io
  2. Fetch Key Decision Makers (KDMs) using the company domain
  3. Find Corporate Emails for those KDMs

All results are automatically updated in Google Sheets, ensuring your lead list remains fresh, structured, and actionable.


βš™οΈ Prerequisites

Before running the workflow, make sure you have:


🧩 Example Input (Webhook JSON)

Each LinkedIn post is received as a JSON object containing key clues:

{
  "index": 1,
  "text": "Excited to announce the opening of our new KFC store at Sky City Mall, Borivali East πŸŽ‰πŸ—\n\nLooking forward to welcoming you all to experience the Finger Lickin’ Good taste at our newest location!\n\n#KFCIndia #NewStoreOpening #Borivali #SkyCityMall #Sapphirefoods",
  "CompanyName": "MockCompany",
  "NewStoreLocation": "optional",
  "PersonPosted": "https://linkedin.com/in/mockperson",
  "PostImage": null,
  "PostLink": "https://www.linkedin.com/search/results/all/?keywords=%23kfcindia&origin=HASH_TAG_FROM_FEED",
  "extracted_at": "2025-09-08T12:05:40.044101"
}

🧠 Workflow Overview

This workflow runs in three main stages, moving from LinkedIn data β†’ company domain β†’ people β†’ emails.


Stage 1: Company Name to Company Domain 🌐

Goal: Convert each company name into its website domain using Apollo.io.

Nodes & Flow


Stage 2: Domain to Top 10 KDMs πŸ‘₯

Goal: Fetch key decision-makers (KDMs) from each company using Apollo.io.

Nodes & Flow


Stage 3: KDM Profile to Email Enricher πŸ“§

Goal: Find and store verified corporate email addresses for each KDM.

Nodes & Flow


🧰 Setup Instructions

1. Connect APIs & Credentials

2. Customize Sheet Structure

Add columns for:
CompanyName, Domain, KDMs, LinkedInProfile, Email, Status

3. Set Schedule Frequency

Each Schedule Trigger can be configured separately (e.g., Stage 1 every Monday, Stage 2 every Wednesday).

4. Optional: AI Extraction Node

Use an AI model (like OpenAI or Gemini) to extract company name and location from LinkedIn post text before enrichment.


Node TypeRecommended NameDescription
HTTP Request (Company)Find Company Domain (Apollo.io)Searches for the company’s official domain
HTTP Request (People)Find Key Decision Makers (Apollo.io)Retrieves top company contacts
HTTP Request (Emails)Find Corporate Emails (Apollo.io)Gets verified email addresses for each contact
Wait NodeAPI Delay (Rate Limit Buffer)Adds delay to avoid hitting API rate limits
Code NodePrepare KDM DataOrganizes input data for API calls

βš™οΈ Customization Tips


πŸ” Security and Publishing Notes


🧩 Troubleshooting


🎯 Example Use Case

Every week, this workflow scans new LinkedIn store-opening posts.
It extracts company names (like KFC India), finds their domains and top executives through Apollo.io, retrieves their emails, and logs everything in a Google Sheet β€” ready for your sales team to reach out.


Tags:
LinkedIn Apollo Automation LeadGeneration GoogleSheets MarketingOps DataEnrichment

πŸ”— Nodes Used

Google Sheets, HTTP Request, Webhook, Schedule Trigger, AI Agent, Structured Output Parser

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup