Back to Templates

Scrape LinkedIn comments and score lead intent using ConnectSafely, Azure OpenAI, and Google Sheets

Created by

Created by: Rahul Joshi || rahul08
Rahul Joshi

Last update

Last update 4 months ago

Categories

Share


๐Ÿ“Š Description

Automate LinkedIn lead discovery by identifying high-intent prospects directly from post comments using ConnectSafely and AI ๐Ÿค–. This workflow searches LinkedIn posts related to common sales pain points, extracts all comments safely, and evaluates each commenterโ€™s buying intent using AI. The scored leads are automatically stored in Google Sheets for easy follow-up and prioritization ๐Ÿ“ˆ. Perfect for sales, growth, and RevOps teams looking to turn conversations into qualified opportunities.

๐Ÿ” What This Template Does

๐Ÿ”Ž Searches LinkedIn posts via SerpAPI using predefined pain-point keywords
๐Ÿ”— Filters and validates relevant LinkedIn post URLs
๐Ÿ›ก๏ธ Fetches all post comments using ConnectSafely (safe, compliant LinkedIn access)
๐Ÿ“„ Flattens comments into individual lead records
๐Ÿค– Uses AI to analyze each comment and score buying intent (0โ€“100)
๐Ÿ“Š Saves enriched lead data into Google Sheets automatically

โœ… Key Benefits

โœ… Discover warm LinkedIn leads from real conversations
โœ… Uses ConnectSafely for reliable and compliant comment extraction
โœ… AI-powered intent scoring removes manual lead qualification
โœ… Automatically prioritizes high-intent prospects
โœ… Centralized lead tracking in Google Sheets
โœ… Zero manual scraping or copy-pasting

โš™๏ธ Features

  • LinkedIn post discovery via SerpAPI
  • Comment scraping powered by ConnectSafely
  • AI intent detection using Azure OpenAI (GPT-4o-mini)
  • Intent labels: No-Intent โ†’ High-Intent
  • Google Sheets integration for lead storage
  • Modular, customizable n8n workflow

๐Ÿ” Requirements

  • SerpAPI account
  • ConnectSafely LinkedIn API credentials
  • Azure OpenAI account (GPT-4o-mini deployment)
  • Google Sheets OAuth credentials
  • n8n instance (self-hosted or cloud)

๐ŸŽฏ Target Audience

  • B2B sales teams & SDRs
  • Growth marketers & lead generation agencies
  • RevOps & automation specialists
  • Founders using LinkedIn for outbound prospecting