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 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.

0
Downloads
1
Views
8.34
Quality Score
intermediate
Complexity
Author:Feras Dabour(View Original →)
Created:3/27/2026
Updated:3/27/2026

🔒 Please log in to import templates to n8n and favorite templates

Workflow Visualization

Loading...

Preparing workflow renderer

Comments (0)

Login to post comments