Automation library · Content

Auto-create and publish AI social videos with Telegram

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

LargeCalls a model: OpenAI

37 stepsLarge: read it before trusting it with anything live
1Branch: places the flow splits
4Loops or waits
2Services it connects to

The flow

Starts it 1Model 3Logic 9Service 24

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

  1. 1Trigger Telegram Prompt or ImageTelegram triggerStarts it
  2. 2Split Prompt or Image InputCodeLogic
  3. 3Condition Input Type (Image or Text)IfLogic
  4. 4Generate Video with blotatoHttp RequestService
  5. 5Download Image from TelegramTelegramService
  6. 6Wait for blotato Video RenderingWaitLogic
  7. 7Extract Image File URLHttp RequestService
  8. 8Get blotato Video URLHttp RequestService
  9. 9Upload Image to CloudinaryHttp RequestService
  10. 10Merge Video Data (Image or Prompt)SetLogic
  11. 11Convert Image to VideoHttp RequestService
  12. 12Generate Music with PiapiHttp RequestService
  13. 13Wait for Image-to-Video RenderingWaitLogic
  14. 14Wait for Music GenerationWaitLogic
  15. 15Get Image-Based Video URLHttp RequestService
  16. 16Get Music File URLHttp RequestService
  17. 17Generate Script (GPT-4o-mini)Open AiModel
  18. 18Split ScriptCodeLogic
  19. 19Merge Video + MusicHttp RequestService
  20. 20Wait for Fusion CompletionWaitLogic
  21. 21Get Final Video URLHttp RequestService
  22. 22Generate Social Caption (GPT-4)Open AiModel
  23. 23Generate SEO Title (GPT-4)Open AiModel
  24. 24Append Video Data to Google SheetGoogle SheetsService
  25. 25Send Final Video to TelegramTelegramService
  26. 26Send Caption to TelegramTelegramService
  27. 27Assign Platform IDs for BlotatoSetLogic
  28. 28Upload Video to BlotatoHttp RequestService
  29. 29Post to InstagramHttp RequestService
  30. 30Post to YouTubeHttp RequestService
  31. 31Post to TikTokHttp RequestService
  32. 32Post to Facebook PageHttp RequestService
  33. 33Post to ThreadsHttp RequestService
  34. 34Post to Twitter (X)Http RequestService
  35. 35Post to LinkedInHttp RequestService
  36. 36Post to BlueskyHttp RequestService
  37. 37Post to PinterestHttp RequestService

How it's built

Starts on
An incoming Telegram message
Steps
37, with 1 branch, 4 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Google Sheets, Telegram
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Google Sheets and Telegram accounts, 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 37 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 37 steps before you point it at anything that matters.