Generate and publish AI short videos from Telegram using Blotato and OpenAI

Go to Workflow
8 views
Built by Dr. Firas Dr. Firas
Created on July 28, 2026

Description

Quick overview
This workflow accepts a content idea via Telegram, uses OpenAI to write a short cross-platform caption, generates a vertical AI video with Blotato, and publishes it to TikTok, Instagram, Facebook, and X (Twitter), then confirms the result back in Telegram.

How it works
Receives a message (your content idea) via a Telegram bot trigger.
Uses the incoming text to set the video prompt and posting options like TikTok privacy and the AI-generated flag.
Sends the prompt to OpenAI to generate a single short caption (max 280 characters) to reuse across all platforms.
Creates a 9:16 AI video in Blotato using a selected template and predefined template inputs (for example profile name and image).
Waits and repeatedly checks Blotato until the video render status is marked as done.
Publishes the rendered video and the generated caption to TikTok, Instagram Reels, Facebook Reels, and X (Twitter) via Blotato.
Sends a Telegram message confirming the video has been published.

Setup
Install and enable the Blotato community node in your n8n instance (or enable Verified Community Nodes on n8n Cloud) and add a Blotato API credential.
Connect your Blotato account to TikTok, Instagram, Facebook (including selecting the target Page), and X, then select the correct account IDs in each publishing step.
Add an OpenAI API credential for the caption generation model.
Create a Telegram bot, add its Telegram credential to the trigger and confirmation step, and message the bot to start the workflow.
Optionally update the Blotato template selection and template inputs (profile image URL, author/profile name, aspect ratio) and adjust the render wait time if needed.

Additional info
📥 Open full documentation on Notion

Nodes Used (3)

AI Agent
@n8n/n8n-nodes-langchain.agent
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Telegram
n8n-nodes-base.telegram