Reason Of The Workflow
This n8n workflow automatically shares content from a Telegram Channel to multiple platforms like WordPress, Facebook, X/Twitter, and LinkedIn. It uses a Switch node to detect the type of content—text, image, video, audio, or document—and sends it to the right processing and publishing nodes for each platform.
Who Is This For?
This workflow is ideal for content creators, marketers, and organizations who use a Telegram Channel as their main content hub. It eliminates the need for manual, repetitive posting across different social media and blogging platforms by instantly detecting new posts in Telegram and distributing them according to their content type.
What This Workflow Does
The SocialVibe workflow is a sophisticated automation designed to handle diverse media types and publishing requirements:
- Real-Time Triggering: It instantly activates upon the detection of a new message (
channel_post event) in your configured Telegram Channel.
- Intelligent Content Detection: It uses a Switch node and a Code node to analyze the Telegram payload and correctly identify the type of content posted (e.g., plain text, image, video, audio, or document).
- Dynamic Routing: Based on the content type, the workflow dynamically routes the item to the appropriate publishing nodes.
- Platform-Specific Publishing: It tailors the publishing action for each platform, ensuring images go to the WordPress media library, text becomes a Tweet, etc.
- Caption-as-Text: The Telegram post's caption is automatically used as the post body, Tweet text, or blog post content/excerpt.
Key Features
- Versatile Media Support: Handles over 9 different content types (Text, Photo, Video, Audio, Document, etc.).
- Dedicated WordPress Integration:
- Creates a new post/article.
- Uses an Edit Image node to automatically resize images (e.g., max 5000x5000 pixels) to optimize for web upload.
- Uploads the image to the WordPress Media Library via HTTP Request.
- Sets the uploaded image as the post's Featured Image.
- Broad Social Media Reach: Supports cross-posting to X/Twitter, Facebook Page, LinkedIn Profile, and LinkedIn Page.
- Customizable Settings: Easily adjust WordPress categories, post status, and platform-specific settings like LinkedIn target IDs.
Required Credentials & Accounts
- Telegram Bot Token: The bot must be an administrator in the source channel.
- WordPress API Credentials: For REST API access (username/password or application password).
- Facebook Graph API Credentials: With permissions to post to the target Page.
- LinkedIn OAuth2 Credentials: To post on a Profile and/or Company Page.
- Twitter/X OAuth2 Credentials: For publishing tweets.