Automation library · Content

Create viral ads with AI: NanoBanana

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

LargeCalls a model: OpenAI

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

The flow

Starts it 1Model 6Logic 8Service 20

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

  1. 1Trigger: Receive Idea via TelegramTelegram triggerStarts it
  2. 2Structured Output ParserOutput Parser StructuredModel
  3. 3ThinkTool ThinkModel
  4. 4OpenAI Chat ModelLm Chat Open AiModel
  5. 5Telegram: Get Image FileTelegramService
  6. 6Generate Image PromptAgentModel
  7. 7Google Drive: Upload ImageGoogle DriveService
  8. 8NanoBanana: Create ImageHttp RequestService
  9. 9Parse Idea Into PromptsCodeLogic
  10. 10Wait for Image EditWaitLogic
  11. 11Download Edited ImageHttp RequestService
  12. 12Rewrite Caption (TikTok/Instagram)Open AiModel
  13. 13Seedance: Generate Video from ImageHttp RequestService
  14. 14Upload PostUpload PostService
  15. 15Wait for RenderingWaitLogic
  16. 16Download Video from SeedanceHttp RequestService
  17. 17Set: Video URLSetLogic
  18. 18Wait: Music Rendering1Http RequestService
  19. 19Wait: Music RenderingWaitLogic
  20. 20Download Music FileHttp RequestService
  21. 21Set: Audio URLSetLogic
  22. 22Merge Audio + VideoHttp RequestService
  23. 23Wait: Merge ProcessWaitLogic
  24. 24Check Merge StatusHttp RequestService
  25. 25Download Final VideoHttp RequestService
  26. 26Upload Final Video to Google DriveGoogle DriveService
  27. 27Read Brand SettingsGoogle SheetsService
  28. 28Extract Brand InfoCodeLogic
  29. 29Message a modelOpen AiModel
  30. 30Save Ad Data to Google SheetsGoogle SheetsService
  31. 31Send Video URL via TelegramTelegramService
  32. 32Send a videoTelegramService
  33. 33Post Video on Social Media (FB, TikTok, YT)Upload PostService
  34. 34Save Publishing Status to Google SheetsGoogle SheetsService
  35. 35Telegram: Send notificationTelegramService

How it's built

Starts on
An incoming Telegram message
Steps
35, 4 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 35 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 35 steps before you point it at anything that matters.