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

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

Unknown

by Rahul Joshi ✓ · 273 views · created 2026-02-03 · Lead Generation, AI Summarization

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 9 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Azure OpenAI Chat Model, Google Sheets, Serpapi (community) and Connectsafely Ai (community).

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Search LinkedIn Posts via SerpAPI (Serp Api): uses Serp Api
  2. Parse & Filter Search Results (Code): runs custom JavaScript code
  3. Fetch Post Comments via ConnectSafely (Connect Safely Linked In): get all post comments
  4. Flatten Comments into Rows (Code): runs custom JavaScript code
  5. AI Intent Detection Agent (AI Agent): runs an AI agent, with model: Azure OpenAI GPT-4o-mini
  6. Parse AI Intent Output (Code): runs custom JavaScript code
  7. Save Leads to Google Sheet (Google Sheets): append

Services it uses

Azure OpenAI Chat ModelGoogle SheetsSerpapi (community)Connectsafely Ai (community)

Before you upgrade to n8n 3.0

We can't fully verify this one: it relies on 2 community packages, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

  • Check that n8n-nodes-serpapi is verified or supports 3.0 (used in Search LinkedIn Posts via SerpAPI).
  • Check that n8n-nodes-connectsafely-ai is verified or supports 3.0 (used in Fetch Post Comments via ConnectSafely).

Nodes used (7)

From the author

📊 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…

Excerpt from Rahul Joshi's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.