Automation library · Content

Create and publish UGC social videos from Telegram with OpenAI

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

LargeCalls a model: OpenAI

41 stepsLarge: read it before trusting it with anything live
0Branches: places the flow splits
2Loops or waits
3Services it connects to

The flow

Starts it 1Model 9Logic 6Service 25

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

  1. 1OpenAI Video Prompt GeneratorLm Chat Open AiModel
  2. 2Reasoning AnalyzerTool ThinkModel
  3. 3Parse Video Prompt JSONOutput Parser StructuredModel
  4. 4When Image Received in TelegramTelegram triggerStarts it
  5. 5Parse Image Prompt JSONOutput Parser StructuredModel
  6. 6OpenAI Image Prompt GeneratorLm Chat Open AiModel
  7. 7AI Video Prompt GeneratorAgentModel
  8. 8Set Telegram Bot TokenSetLogic
  9. 9Download Image from TelegramTelegramService
  10. 10UGC Image Prompt GeneratorAgentModel
  11. 11Format VEO3 API RequestCodeLogic
  12. 12Resolve Image URL from TelegramHttp RequestService
  13. 13Upload Image to Google DriveGoogle DriveService
  14. 14Generate Edited ImageHttp RequestService
  15. 15Generate Video with VEO3Http RequestService
  16. 16Analyze Image with OpenAIOpen AiModel
  17. 17Log Idea in Google SheetsGoogle SheetsService
  18. 18Wait for Image RenderWaitLogic
  19. 19Wait for Video RenderWaitLogic
  20. 20Save Image Analysis to SheetsGoogle SheetsService
  21. 21Fetch Generated ImageHttp RequestService
  22. 22Fetch Rendered VideoHttp RequestService
  23. 23Read Video ConfigurationGoogle SheetsService
  24. 24Create Social Caption with OpenAIOpen AiModel
  25. 25Set Video Prompt SchemaSetLogic
  26. 26Save Video Metadata to SheetsGoogle SheetsService
  27. 27Notify Telegram with Video URLTelegramService
  28. 28Send Video Preview to TelegramTelegramService
  29. 29Upload Video to BlotatoBlotatoService
  30. 30Publish Video to TikTokBlotatoService
  31. 31Publish Video to LinkedInBlotatoService
  32. 32Publish Video to FacebookBlotatoService
  33. 33Publish Video to InstagramBlotatoService
  34. 34Publish Video to XBlotatoService
  35. 35Publish Video to YouTubeBlotatoService
  36. 36Publish Video to ThreadsBlotatoService
  37. 37Publish Video to BlueskyBlotatoService
  38. 38Publish Video to PinterestBlotatoService
  39. 39Merge Publishing ResultsMergeLogic
  40. 40Update Status in SheetsGoogle SheetsService
  41. 41Notify Telegram of PublicationTelegramService

How it's built

Starts on
An incoming Telegram message
Steps
41, 2 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Google Drive, Google Sheets, Telegram
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Google Drive, 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 41 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 41 steps before you point it at anything that matters.