Templates / Score LinkedIn comments and draft replies with Azure OpenAI and Google Sheets

Score LinkedIn comments and draft replies with Azure OpenAI and Google Sheets

Needs changes

by Rahul Joshi ✓ · 533 views · created 2026-03-09 · Lead Generation, AI Summarization

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: Cron. 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 17 nodes and runs on a schedule (legacy Cron node) (plus 2 other triggers). Along the way it connects Google Sheets, Gmail, Azure OpenAI Chat Model and Serpapi (community) and 1 more.

How it runs

Trigger: On a schedule (legacy Cron node) (plus 2 other triggers).

  1. Search LinkedIn Posts via SerpAPI (Serp Api): uses Serp Api
  2. AI Reply Drafting Agent (AI Agent): runs an AI agent, with model: Azure OpenAI Chat Model
  3. Build Media Team Email Report (Code): runs custom JavaScript code
  4. Parse & Filter Search Results (Code): runs custom JavaScript code
  5. Format Reply for Sheet Update (Code): runs custom JavaScript code
  6. Send Email Report to Media Team (Gmail): uses Gmail
  7. Fetch Post Comments via ConnectSafely (Connect Safely Linked In): get all post comments
  8. Write AI Reply Back to Google Sheet (Google Sheets): append or update
  9. Flatten Comments into Rows (Code): runs custom JavaScript code
  10. AI Sentiment & Intent Detection Agent (AI Agent): runs an AI agent, with model: Azure OpenAI Chat Model

…plus 2 more steps. See the full node list below.

Services it uses

Google SheetsGmailAzure OpenAI Chat ModelSerpapi (community)Connectsafely Ai (community)

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • Cron in Trigger Every 15 Minutes1: replace with Schedule Trigger.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
Cron
Trigger Every 15 Minutes1
Schedule Trigger

Nodes used (9)

From the author

📊 Description Automate LinkedIn comment monitoring and turn conversations into qualified sales opportunities using AI 🤖. This intelligent agent continuously scans LinkedIn posts mentioning your brand, analyzes every comment for buyer intent and sentiment,…

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.