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