Route Telegram channel posts to X, Threads, and LinkedIn using @mentions
Ready for 3.0What this workflow does
This workflow has 15 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects X (Formerly Twitter), LinkedIn and Telegram. It also calls graph.threads.net over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).
- Threads Fields (Edit Fields (Set)): sets 4 fields: access_token, client_secret, account_id…
- Parse Telegram Message (Code): runs custom JavaScript code
- Get Threads Long-Lived Token (HTTP Request): calls an HTTP API
- Switch: routes items into 6 branches
- Send Error Notification (Telegram): uses Telegram
- Create Tweet (X (Formerly Twitter)): uses X (Formerly Twitter)
- Threads Fields Copy (Edit Fields (Set)): sets 4 fields: access_token, client_secret, account_id…
- Create a post (LinkedIn): uses LinkedIn
- X Success Notification (Telegram): uses Telegram
- Create Thread (HTTP Request): calls an HTTP API (POST)
…plus 3 more steps. See the full node list below.
Services it uses
HTTP calls to: graph.threads.net
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 (9)
- X (Formerly Twitter)
n8n-nodes-base.twitter - LinkedIn
n8n-nodes-base.linkedIn - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - Telegram
n8n-nodes-base.telegram - Telegram Trigger
n8n-nodes-base.telegramTrigger - Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest
From the author
This workflow listens to messages in a designated Telegram channel and automatically posts them to X (Twitter), Threads, and LinkedIn based on simple @mention tags. Write your content once, tag which platforms you want, and let automation handle the rest. Key…