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

Go to Workflow
37 views
Built by Rahul Joshi Rahul Joshi
Created on June 05, 2026

Description

πŸ“Š 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

Nodes Used (4)

AI Agent
@n8n/n8n-nodes-langchain.agent
Azure OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatAzureOpenAi
Code
n8n-nodes-base.code
Google Sheets
n8n-nodes-base.googleSheets