Skip to main content

Create and publish AI carousel posts from Telegram to Instagram, Facebook and TikTok with OpenAI, APITemplate.io and Blotato

Workflow preview

Workflow preview
100%
Create and publish AI carousel posts from Telegram to Instagram, Facebook and TikTok with OpenAI, APITemplate.io and Blotato preview
Open on n8n.io

1. Workflow Overview

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

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.telegram, @n8n/n8n-nodes-langchain.memorybufferwindow, n8n-nodes-base.telegramtrigger, n8n-nodes-base.set, n8n-nodes-base.if, @n8n/n8n-nodes-langchain.agent

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Feras Dabour.

Original n8n.io source

1.1 Workflow description

Title
Create and publish AI carousel posts from Telegram to Instagram, Facebook and TikTok with OpenAI, APITemplate.io and Blotato
Workflow name
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

  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 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: run_id, quote1quote5, social_media_text. 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.

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.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 2 - Speech to Text

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.3

Block 3 - Get Voice File

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.1

Block 4 - Window Buffer Memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 5 - Start: Telegram Message

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1

Block 6 - Extract text from Telegram message

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.2

Block 7 - Check if input is a voice message

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 8 - AI: Draft & Revise Post

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3

Block 9 - Send draft to Telegram for review

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 10 - Check if Approved

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 11 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 12 - Log approved quotes in Google Sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 13 - Notify user: preparing post

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 14 - Generate carousel slide 1

Type / Role
n8n-nodes-base.apiTemplateIo - apiTemplateIo
Config choices
Version 1

Block 15 - Generate carousel slide 5

Type / Role
n8n-nodes-base.apiTemplateIo - apiTemplateIo
Config choices
Version 1

Block 16 - Auto-fixing Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserAutofixing - outputParserAutofixing
Config choices
Version 1

Block 17 - OpenAI Chat Model (parser)

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.3

Block 18 - Collect all image URLs for publishing

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 19 - Generate carousel slide 2

Type / Role
n8n-nodes-base.apiTemplateIo - apiTemplateIo
Config choices
Version 1

Block 20 - Generate carousel slide 3

Type / Role
n8n-nodes-base.apiTemplateIo - apiTemplateIo
Config choices
Version 1

Block 21 - Generate carousel slide 4

Type / Role
n8n-nodes-base.apiTemplateIo - apiTemplateIo
Config choices
Version 1

Block 22 - Merge all carousel slides

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 23 - Extract approved quotes

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 24 - Create Instagram Post

Type / Role
@blotato/n8n-nodes-blotato.blotato - blotato
Config choices
Version 2

Showing the first 24 of 52 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Create and publish AI carousel posts from Telegram to Instagram, Facebook and TikTok with OpenAI, APITemplate.io and Blotato
Complexity advanced
Nodes 52
Categories Content Creation, Multimodal AI
Author Feras Dabour
Published 15 Mar 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/14064/14064.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Create and publish AI carousel posts from Telegram to Instagram, Facebook and TikTok with OpenAI, APITemplate.io and Blotato do?

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

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.