π¬ Create and publish AI carousel posts from Telegram to Instagram, Facebook and TikTok with OpenAI, APITemplate.io and Blotato
β‘ 579 views Β· π¬ Content Creation & Video
π‘ Pro Tip β Since TikTok doesnβt have a public API, getting data usually means fragile HTTP scraping. ScraperNode is a community node that gives you clean JSON for TikTok profiles, videos, and comments β drop it into your workflow and skip the parsing.
Description
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
- Telegram input β Send a topic or idea to the Telegram bot as a text message or voice note.
- Voice transcription β If a voice note is detected, OpenAI Whisper transcribes it to text.
- 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.
- Review loop β The draft is sent back to Telegram. You can request changes β the agent refines until you approve.
- Data logging β Approved quotes and the caption are saved to a Google Sheets spreadsheet for reference.
- Image generation β Each of the 5 quotes is rendered as a styled carousel slide using your APITemplate.io template.
- Multi-platform publishing β The carousel is posted to Instagram, Facebook (with page selection), and TikTok via Blotato.
- 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
- Telegram Bot β Create a bot via @BotFather and add the API token as a Telegram credential in n8n.
- OpenAI β Add your API key as an OpenAI credential. Used for both the AI Agent and Whisper transcription.
- Google Sheets β Create an OAuth2 credential. Set up a spreadsheet with columns:
run_id,quote1βquote5,social_media_text. Update the Sheet ID and tab in the Google Sheets node. - APITemplate.io β Create an account and design a carousel slide template. Set the template ID in the five image generation nodes.
- 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.
Requirements
- Community node:
@blotato/n8n-nodes-blotatoβ self-hosted n8n only - OpenAI API key
- Google Sheets OAuth2 credentials
- APITemplate.io account and template
- Blotato account with connected social media profiles
- Telegram Bot token
How to customize
- AI prompt β Edit the system message in the βAI: Draft & Revise Postβ node to change tone, quote count, or output structure.
- Carousel design β Modify or replace the APITemplate.io template ID to use your own visual design.
- Platforms β Remove or add publishing nodes if you only need some platforms (e.g., Instagram only).
- Approval flow β Adjust the approval keywords in the AI prompt (currently: βapprovedβ, βokβ, βlooks goodβ, βship itβ).
- Retry timing β Change the wait durations in the status-check loops to match your preferred polling interval.
π Nodes Used
Google Sheets, Telegram, Telegram Trigger, APITemplate.io, AI Agent, OpenAI Chat Model
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File