Automate Your LinkedIn Engagement with AI-Powered Comments! 💬✨
Needs changesWhat this workflow does
This AI workflow has 10 nodes and runs when a chat message arrives. Along the way it connects OpenAI Chat Model and Telegram.
How it runs
Trigger: When a chat message arrives.
- LLM: Extract Post ID (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI Chat Model
- Unipile: Get Post Details (HTTP Request): calls an HTTP API
- LLM: Generate Comment (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (LLM: Refine Comment (Thinking))
- Unipile: Comment on Post (HTTP Request): calls an HTTP API
- Unipile: Add Post Reaction (HTTP Request): calls an HTTP API
- Telegram: uses Telegram
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in LLM: Generate Comment (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) LLM: Generate Comment (v1.9) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (7)
- HTTP Request
n8n-nodes-base.httpRequest - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - AI Agent
@n8n/n8n-nodes-langchain.agent - Telegram
n8n-nodes-base.telegram - Think Tool
@n8n/n8n-nodes-langchain.toolThink
From the author
Tutorial Video This n8n workflow is your ultimate tool for smart LinkedIn interaction, leveraging the power of AI to generate witty comments and engage with posts via the Unipile API. Perfect for community managers, marketers, or anyone looking to scale their…