Automation library · Content

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.

LargeCalls a model: OpenAI

30 stepsLarge: read it before trusting it with anything live
4Branches: places the flow splits
2Loops or waits
1Service it connects to

The flow

Starts it 1Model 3Logic 9Service 17

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

  1. 1Receive post description from TelegramTelegram triggerStarts it
  2. 2GPT-4o miniLm Chat Open AiModel
  3. 3Platform posts schemaOutput Parser StructuredModel
  4. 4ConfigurationSetLogic
  5. 5Generate platform postsAgentModel
  6. 6Create image with GPT Image 2Http RequestService
  7. 7Create video with Seedance 2.0Http RequestService
  8. 8Wait 10s for imageWaitLogic
  9. 9Wait 30s for videoWaitLogic
  10. 10Get image statusHttp RequestService
  11. 11Get video statusHttp RequestService
  12. 12Image ready?IfLogic
  13. 13Video ready?IfLogic
  14. 14Send image preview on TelegramTelegramService
  15. 15Send video preview on TelegramTelegramService
  16. 16Ask image approval on TelegramTelegramService
  17. 17Ask video approval on TelegramTelegramService
  18. 18Image approved?IfLogic
  19. 19Video approved?IfLogic
  20. 20Publish image to XBlotatoService
  21. 21Publish image to LinkedInBlotatoService
  22. 22Publish image to FacebookBlotatoService
  23. 23Publish image to ThreadsBlotatoService
  24. 24Publish video to InstagramBlotatoService
  25. 25Publish video to TikTokBlotatoService
  26. 26Publish video to YouTube ShortsBlotatoService
  27. 27Merge image publicationsMergeLogic
  28. 28Merge video publicationsMergeLogic
  29. 29Notify image publishedTelegramService
  30. 30Notify video publishedTelegramService

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.