# Create AI image and video posts from Telegram with OpenAI: n8n workflow

> Started by an incoming Telegram message, and works across Telegram. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/create-ai-image-and-video-posts-from-telegram-with-openai (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Content](https://millionrounds.com/workflows?category=Content#library)

# Create AI image and video posts from Telegram with OpenAI

Started by an incoming Telegram message, and works across Telegram. It hands the judgement calls to OpenAI. 30 steps, 4 branches, 2 loops or waits: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fcreate-ai-image-and-video-posts-from-telegram-with-openai)

**30 steps** Large: read it before trusting it with anything live

**4** Branches: places the flow splits

**2** Loops or waits

**1** Service it connects to

## The flow

Starts it 1 Model 3 Logic 9 Service 17

The steps in the order they run, from what starts it.

- 1 **Receive post description from Telegram** Telegram trigger *Starts it*
- 2 **GPT-4o mini** Lm Chat Open Ai *Model*
- 3 **Platform posts schema** Output Parser Structured *Model*
- 4 **Configuration** Set *Logic*
- 5 **Generate platform posts** Agent *Model*
- 6 **Create image with GPT Image 2** Http Request *Service*
- 7 **Create video with Seedance 2.0** Http Request *Service*
- 8 **Wait 10s for image** Wait *Logic*
- 9 **Wait 30s for video** Wait *Logic*
- 10 **Get image status** Http Request *Service*
- 11 **Get video status** Http Request *Service*
- 12 **Image ready?** If *Logic*
- 13 **Video ready?** If *Logic*
- 14 **Send image preview on Telegram** Telegram *Service*
- 15 **Send video preview on Telegram** Telegram *Service*
- 16 **Ask image approval on Telegram** Telegram *Service*
- 17 **Ask video approval on Telegram** Telegram *Service*
- 18 **Image approved?** If *Logic*
- 19 **Video approved?** If *Logic*
- 20 **Publish image to X** Blotato *Service*
- 21 **Publish image to LinkedIn** Blotato *Service*
- 22 **Publish image to Facebook** Blotato *Service*
- 23 **Publish image to Threads** Blotato *Service*
- 24 **Publish video to Instagram** Blotato *Service*
- 25 **Publish video to TikTok** Blotato *Service*
- 26 **Publish video to YouTube Shorts** Blotato *Service*
- 27 **Merge image publications** Merge *Logic*
- 28 **Merge video publications** Merge *Logic*
- 29 **Notify image published** Telegram *Service*
- 30 **Notify video published** Telegram *Service*

## How it's built

- **Starts on:** An incoming Telegram message
- **Steps:** 30, with 4 branches, 2 loops or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Telegram
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Telegram account, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an incoming Telegram message.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 30 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 30 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fcreate-ai-image-and-video-posts-from-telegram-with-openai)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Telegram](https://millionrounds.com/workflows?service=Telegram#library)

## Workflows like it

Also content, with the same services where possible, closest in size first.

- [**Auto create video Sora with Gemini and OpenAI** 30 steps · calls a model · Google Drive, Telegram](https://millionrounds.com/workflow/auto-create-video-sora-with-gemini-and-openai)
- [**Draft and track incident postmortems with OpenAI** 30 steps · calls a model · Discord, Gmail](https://millionrounds.com/workflow/draft-and-track-incident-postmortems-with-openai-2)
- [**Generate SEO-optimized WordPress blogs with Gemini and Tavily** 30 steps · calls a model · Google Sheets, Telegram](https://millionrounds.com/workflow/generate-seo-optimized-wordpress-blogs-with-gemini-and-tavil)
- [**Pick a Topic & Auto-Publish Translated Content** 30 steps · calls a model · Discord, Google Drive](https://millionrounds.com/workflow/pick-a-topic-and-auto-publish-translated-content)
- [**Clip YouTube videos into shorts with OpenShorts and Telegram** 30 steps · RSS, Telegram](https://millionrounds.com/workflow/clip-youtube-videos-into-shorts-with-openshorts-and-telegram)
- [**Create AI viral videos with NanoBanana 2 PRO and VEO3.1** 31 steps · calls a model · Telegram](https://millionrounds.com/workflow/create-ai-viral-videos-with-nanobanana-2-pro-and-veo3-1)
