Skip to main content

Route Telegram channel posts to X, Threads, and LinkedIn using @mentions

Workflow preview

Workflow preview
100%
Route Telegram channel posts to X, Threads, and LinkedIn using @mentions preview
Open on n8n.io

1. Workflow Overview

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 whi...

Best for

  • Social Media automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.twitter, n8n-nodes-base.linkedin, n8n-nodes-base.code, n8n-nodes-base.switch, n8n-nodes-base.telegram, n8n-nodes-base.telegramtrigger, n8n-nodes-base.manualtrigger, n8n-nodes-base.set

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by 🦄 kai chen.

Original n8n.io source

1.1 Workflow description

Title
Route Telegram channel posts to X, Threads, and LinkedIn using @mentions
Workflow name
Route Telegram channel posts to X, Threads, and LinkedIn using @mentions

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 Features

  1. Smart Channel Routing: Use @mentions to specify destinations (@x, @threads, @linkedin, or @all)
  2. Clean Message Parsing: Automatically removes @mentions and hashtags before posting
  3. Success Notifications: Get confirmation messages in Telegram when posts succeed
  4. Error Handling: Receive alerts for invalid channel tags or posting failures
  5. Multi-Platform Support: Post to X, Threads, and LinkedIn simultaneously or individually
  6. Bitwise Flag System: Efficient routing logic using binary flags for platform selection

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Create Tweet

Type / Role
n8n-nodes-base.twitter - twitter
Config choices
Version 2

Block 2 - Create a post

Type / Role
n8n-nodes-base.linkedIn - linkedIn
Config choices
Version 1

Block 3 - Parse Telegram Message

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 4 - Switch

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.4

Block 5 - Send Error Notification

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 6 - Telegram Trigger

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.2

Block 7 - X Success Notification

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 8 - LinkedIn Success Notification

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 9 - Threads Success Notification

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 10 - When clicking 'Execute workflow'

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 11 - Threads Fields

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 12 - Threads Fields Copy

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 13 - Create Thread

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 14 - Publish Thread

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 15 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Get Threads Long-Lived Token

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 17 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 21 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Route Telegram channel posts to X, Threads, and LinkedIn using @mentions
Complexity advanced
Nodes 21
Categories Social Media
Author 🦄 kai chen
Published 26 Jan 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13013/13013.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Route Telegram channel posts to X, Threads, and LinkedIn using @mentions do?

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 whi...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Social Media use case.