Automated Rich Media & Text Delivery via Telegram
detail.loadingPreview
This n8n workflow allows you to automatically send rich media content like images, audio, and videos, along with formatted text, to your Telegram contacts. It intelligently handles long text messages by splitting them into manageable chunks, ensuring reliable delivery.
About This Workflow
This powerful n8n workflow streamlines the process of distributing various forms of content through Telegram. It's designed to be triggered by another workflow, receiving a chat ID and the content to be sent. The workflow first checks for any associated file links; if found, it splits them out and processes them individually. For text content, it intelligently detects if the message exceeds Telegram's character limit and splits it into smaller, digestible chunks. Finally, it sends rich media (images, audio, video) and the processed text content to the specified Telegram chat, leveraging HTML parsing for enhanced formatting.
Key Features
- Rich Media Support: Send images, audio files, and videos directly via Telegram.
- Intelligent Text Splitting: Automatically divides long text messages into multiple chunks to overcome character limits.
- Dynamic Content Delivery: Leverages data from other workflows for flexible and automated messaging.
- HTML Formatting: Supports HTML parsing for rich text messages, enhancing presentation.
- Conditional Logic: Includes an 'If' node to manage text length and determine the appropriate sending method.
How To Use
- Trigger Setup: Configure the 'When Executed by Another Workflow' node to define the expected inputs:
chatId(number) andoutput(text). - Link Handling: If your workflow provides file links in
$json.files, connect the 'Split Out the Links' node to process them. Use 'Loop Over Links' to handle multiple files. - Text Length Check: Connect the 'If text too long' node to evaluate the length of the
outputfield. - Text Chunking: If the text is too long, connect the 'Split large text by chunks' node to break it down. Then, use 'Split Out the Chunks' and 'Loop Over Text Chunks' to prepare for sending.
- Media & Text Sending: Connect the appropriate Telegram nodes ('Send back an image', 'Send back an audio', 'Send back a video', 'Send Text', 'Send Text Chunk') to the desired outgoing paths based on your workflow logic. Ensure the
chatIdandfile/textparameters are correctly mapped. - Credentials: Configure your Telegram API credentials in the 'Telegram account (SCP)' credential item within each Telegram node.
Apps Used
Workflow JSON
{
"id": "211dc0b4-1e5f-4b9e-8af4-a79ba27563a7",
"name": "Automated Rich Media & Text Delivery via Telegram",
"nodes": 19,
"category": "Marketing",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 211dc0b4-1e5f...
About the Author
Free n8n Workflows Official
System Admin
The official repository for verified enterprise-grade workflows.
Statistics
Related Workflows
Discover more workflows you might like
Automated Multi-Platform Social Media Publisher
Streamline your social media content creation and publishing with this n8n workflow. Simply fill out a web form with your caption, media (image or video), and target platforms, and let n8n automate the posting process across multiple social networks.
WhatsApp AI Assistant: LLaMA 4 & Google Search for Real-Time Insights
Instantly deploy a smart AI assistant on WhatsApp, powered by Groq's lightning-fast LLaMA 4 model. This workflow enables real-time conversations, remembers context, and provides up-to-date answers by integrating live Google Search results.
AI-Powered On-Page SEO Audit & Report Automation
Instantly generate comprehensive on-page SEO technical and content audits for any website URL. This AI-powered workflow automates the entire process, from scraping the page to delivering a detailed report directly to your inbox, empowering you to optimize for better search rankings and user engagement.