Templates / Automate LinkedIn engagement with GPT-4o sentiment analysis & smart comments

Automate LinkedIn engagement with GPT-4o sentiment analysis & smart comments

Ready for 3.0

by Punit ✓ · 125 views · created 2025-10-08 · Social Media, AI Chatbot

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-10-19.

What this workflow does

This AI workflow has 23 nodes and runs manually, when you click “Execute workflow”. Along the way it connects OpenRouter Chat Model, Google Sheets and Telegram.

How it runs

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

  1. Search LinkedIn Posts (HTTP Request): calls an HTTP API
  2. Extract Posts from Results (Code): runs custom JavaScript code
  3. Filter Recent Posts (Code): runs custom JavaScript code
  4. Count Post Characters (Basic LLM Chain): sends a prompt to an LLM, with model: Character Count LLM Model; output parser: Parse Character Count
  5. Filter Long Non-Reposts (If): checks a condition and branches into true / false
  6. Log Post to Sheet (Google Sheets): uses Google Sheets
  7. Process Posts in Batches (Loop Over Items (Split in Batches)): loops over the items in batches
  8. Send Completion Notification (Telegram): uses Telegram
  9. Analyze Post Sentiment (Sentiment Analysis): scores sentiment with AI, with model: Sentiment Analysis LLM Model
  10. Generate AI Comment (AI Agent): runs an AI agent, with model: Comment Generation LLM Model

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

Services it uses

OpenRouter Chat ModelGoogle SheetsTelegram

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 (13)

From the author

LinkedIn Auto-Engagement AI Agent Automatically find, analyze, and engage with relevant LinkedIn posts using AI-powered sentiment analysis and comment generation 📋 Template Overview This workflow automates LinkedIn engagement by searching for relevant posts,…

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