Templates / Automate LinkedIn comment replies with GPT-3.5 & track in Google Sheets

Automate LinkedIn comment replies with GPT-3.5 & track in Google Sheets

Ready for 3.0

by Avkash Kakdiya ✓ · 1,586 views · created 2025-08-25 · Multimodal AI

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 8 nodes and runs on a schedule (every 10 minutes). Along the way it connects OpenAI and Google Sheets. It also calls api.linkedin.com over HTTP.

How it runs

Trigger: On a schedule (every 10 minutes).

  1. 📥 Fetch LinkedIn Comments (HTTP Request): calls api.linkedin.com
  2. 📊 Get Last Comment Timestamp (Google Sheets): uses Google Sheets
  3. 📊 Set Last Timestamp (Edit Fields (Set)): sets or maps fields
  4. 🔍 Filter New Comments (If): checks a condition and branches into true / false
  5. 🤖 Generate AI Reply (OpenAI): uses OpenAI
  6. 💬 Post LinkedIn Reply (HTTP Request): calls an HTTP API
  7. 💾 Store Comment Data (Google Sheets): append

Services it uses

OpenAIGoogle Sheets

HTTP calls to: api.linkedin.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (6)

From the author

How it works This workflow automates LinkedIn community engagement by monitoring post comments, filtering new ones, generating AI-powered replies, and posting responses directly on LinkedIn. It also logs all interactions into Google Sheets for tracking and…

Excerpt from Avkash Kakdiya'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.