Create AI-powered LinkedIn posts from Telegram with GPT-4 and images
Ready for 3.0What this workflow does
This AI workflow has 45 nodes and runs on Telegram events (message) (plus 1 other trigger). Along the way it connects Telegram, OpenAI Chat Model, OpenAI and LinkedIn.
How it runs
Trigger: On Telegram events (message) (plus 1 other trigger).
- AI Intent Classifier (AI Agent): runs an AI agent, with model: Intent Classification Model; output parser: Intent Output Parser
- Clean Abandoned Drafts (Code): runs custom JavaScript code
- Route by Intent (Switch): routes items into 6 branches
- Prepare Topic from AI Intent (Code): runs custom JavaScript code
- Prepare Image Prompt from AI Intent (Code): runs custom JavaScript code
- Approve Image (Code): runs custom JavaScript code
- Get Saved Draft (Code): runs custom JavaScript code
- Prepare Feedback from AI Intent (Code): runs custom JavaScript code
- Handle Unclear Intent (Telegram): uses Telegram
- Reset User Session (Code): runs custom JavaScript code
…plus 28 more steps. See the full node list below.
Services it uses
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 (12)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Code
n8n-nodes-base.code - Telegram
n8n-nodes-base.telegram - OpenAI
@n8n/n8n-nodes-langchain.openAi - Switch
n8n-nodes-base.switch - LinkedIn
n8n-nodes-base.linkedIn - Edit Fields (Set)
n8n-nodes-base.set - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Schedule Trigger
n8n-nodes-base.scheduleTrigger
From the author
🚀 Description Turn Telegram into your personal AI-powered LinkedIn content assistant. This workflow lets you create high-quality LinkedIn posts from a simple chat message, refine them with natural feedback, generate matching AI images, and publish directly…