Auto-generate social media posts from URLs with AI, Telegram & multi-platform posting
Needs changesWhat this workflow does
This AI workflow has 33 nodes and runs on Telegram events (message). Along the way it connects Telegram, Google Sheets, OpenAI and LinkedIn and 1 more.
How it runs
Trigger: On Telegram events (message).
- If: checks a condition and branches into true / false
- Extract URL (Function): runs custom JavaScript (legacy Function node)
- Telegram: uses Telegram
- Append or update row in sheet (Google Sheets): append or update
- Fetch URL Content (HTTP Request): calls an HTTP API
- Extract Text Content (Function): runs custom JavaScript (legacy Function node)
- Facebook Post (OpenAI): uses OpenAI
- Instagram Post (OpenAI): uses OpenAI
- LinkedIn Post (OpenAI): uses OpenAI
- Merge: merges the data from its input branches
…plus 21 more steps. See the full node list below.
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:
- Function (legacy) in Extract URL, Extract Text Content: replace with Code node, mode 'Run Once for All Items'.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| Function (legacy) Extract URL, Extract Text Content | Code node, mode 'Run Once for All Items' |
Nodes used (13)
- Telegram Trigger
n8n-nodes-base.telegramTrigger - Function
n8n-nodes-base.function - HTTP Request
n8n-nodes-base.httpRequest - Google Sheets
n8n-nodes-base.googleSheets - OpenAI
@n8n/n8n-nodes-langchain.openAi - Merge
n8n-nodes-base.merge - If
n8n-nodes-base.if - Telegram
n8n-nodes-base.telegram - Code
n8n-nodes-base.code - LinkedIn
n8n-nodes-base.linkedIn - Edit Fields (Set)
n8n-nodes-base.set - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini
From the author
How it works This workflow turns any URL sent to a Telegram bot into ready-to-publish social posts: 1. Trigger: Telegram message (checks if it contains a URL). 2. Fetch & parse: Downloads the page and extracts readable text + title. 3. AI writing: Generates…