Publish AI social posts from Telegram to LinkedIn, Instagram, Facebook and Threads with OpenAI and Blotato

Go to Workflow
2 views
Built by Dr. Firas Dr. Firas
Created on July 28, 2026

Description

Quick overview
This workflow listens for a Telegram message or voice note, uses OpenAI to turn it into a cross-platform social caption and matching AI image, publishes the post via Blotato to LinkedIn, Instagram, Facebook, and Threads, then sends a confirmation back to Telegram.

How it works
Triggers when a new Telegram message is received by your bot.
Routes the input as voice or text, downloading voice notes from Telegram and transcribing them with OpenAI.
Sends the resulting text to an OpenAI chat model to generate a single ready-to-publish caption plus an image prompt.
Generates an image with OpenAI (gpt-image-1) using the returned image prompt.
Uploads the generated image to Blotato to get a hosted media URL.
Publishes the caption and image to LinkedIn, Instagram, Facebook Pages, and Threads through Blotato.
Sends a Telegram message confirming publication and includes the posted caption.

Setup
Create a Telegram bot in @BotFather, add the bot token as a Telegram credential in n8n, and activate the Telegram Trigger.
Add an OpenAI API credential for audio transcription, caption generation, and image generation, and (optionally) adjust the model, language, image size, and quality in the configuration values.
Install and configure the Blotato community node, connect a Blotato API credential, and select your LinkedIn/Instagram/Threads accounts plus the Facebook account and Page ID in the publish steps.

Additional info
Publish AI social posts from a Telegram message to LinkedIn, Instagram, Facebook and Threads

📥 Open full documentation on Notion

Need help customizing?
Contact me for consulting and support : Linkedin

MY NEW YOUTUBE CHANNEL
👉 Subscribe to my new YouTube channel. Here I'll share videos and Shorts with practical tutorials and FREE templates for n8n.

Nodes Used (5)

AI Agent
@n8n/n8n-nodes-langchain.agent
OpenAI
@n8n/n8n-nodes-langchain.openAi
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured
Telegram
n8n-nodes-base.telegram