Create and publish AI carousel posts from Telegram to Instagram, Facebook and TikTok with OpenAI, APITemplate.io and Blotato
Who is this for Content creators, social media managers, and solopreneurs who want to automate carousel post creation and multi-platform publishing from a single Telegram message. What this workflow does This workflow...
Template notes
Who is this for
Content creators, social media managers, and solopreneurs who want to automate carousel post creation and multi-platform publishing from a single Telegram message.
What this workflow does
This workflow turns a Telegram message or voice note into a fully designed carousel post published simultaneously to Instagram, Facebook, and TikTok. An AI agent drafts quotes and captions, you approve via chat, and the rest happens automatically -- image generation, publishing, and status tracking.
How it works
1. Telegram input -- Send a topic or idea to the Telegram bot as a text message or voice note. 2. Voice transcription -- If a voice note is detected, OpenAI Whisper transcribes it to text. 3. AI drafting -- An AI Agent (OpenAI GPT with conversation memory and structured output) generates a short script, 5 carousel quotes, and a social media caption with hashtags. 4. Review loop -- The draft is sent back to Telegram. You can request changes -- the agent refines until you approve. 5. Data logging -- Approved quotes and the caption are saved to a Google Sheets spreadsheet for reference. 6. Image generation -- Each of the 5 quotes is rendered as a styled carousel slide using your APITemplate.io template. 7. Multi-platform publishing -- The carousel is posted to Instagram, Facebook (with page selection), and TikTok via Blotato. 8. Status monitoring -- Each platform's publish status is polled in a retry loop. You receive a Telegram confirmation on success or an error notification if something fails.
Setup steps
1. Telegram Bot -- Create a bot via [@BotFather](https://t.me/BotFather) and add the API token as a Telegram credential in n8n. 2. OpenAI -- Add your API key as an OpenAI credential. Used for both the AI Agent and Whisper transcription. 3. Google Sheets -- Create an OAuth2 credential. Set up a spreadsheet with columns: runid, quote1–quote5, socialmediatext. Update the Sheet ID and tab in the Google Sheets node. 4. APITemplate.io -- Create an account and design a carousel slide template. Set the template ID in the five image generation nodes. 5. Blotato -- Connect your Instagram, Facebook, and TikTok accounts in Blotato. Add the Blotato API credential in n8n. Update the account and page IDs in the three publishing nodes.