Quick overview
This workflow accepts an article URL from Telegram, extracts the page text, uses OpenAI to generate a Seedance 2.0 video prompt plus platform-specific captions, creates a vertical video via the AtlasCloud Seedance API, then publishes it to TikTok, Instagram, and YouTube through Blotato and confirms back on Telegram.
How it works
- Receives a message in Telegram containing a web article URL.
- Fetches the web page HTML, strips it to plain text, and truncates the extracted content for prompting.
- Uses OpenAI to turn the URL and extracted text into a Seedance 2.0 text-to-video prompt plus TikTok and Instagram captions and a YouTube title and description.
- Submits the generated prompt to the AtlasCloud Seedance 2.0 generateVideo API with the configured duration, resolution, and FPS.
- Polls the AtlasCloud prediction endpoint on a wait interval until the video status returns completed/succeeded.
- Publishes the resulting video URL to TikTok, Instagram, and YouTube via Blotato using the generated captions and YouTube metadata.
- Sends a Telegram confirmation message that includes the video title and the final video URL.
Setup
- Create a Telegram bot with @BotFather, add Telegram credentials in n8n, and use the bot to receive messages.
- Add an OpenAI API credential for the GPT-4.1-mini chat model used to generate the prompt and captions.
- Create an AtlasCloud API key and configure an HTTP Header Auth credential (Authorization: Bearer <key>) for the two AtlasCloud HTTP requests.
- Install and enable the Blotato community node (self-hosted n8n or n8n Cloud with Verified Community Nodes), connect your TikTok/Instagram/YouTube accounts in Blotato, and select the correct account IDs in each publish step.
- Adjust the configuration values (Seedance model, duration, 720×1280 size, FPS, output language, and polling wait time) to match your desired output.
Additional info