Automation library · Content

Bulk AI Image Generator, Rename Engine & 4× Upscaler

Started by a clock, and works across Google Drive, Google Sheets and Telegram. It hands the judgement calls to OpenAI. 46 steps, 3 branches, 2 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

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

The flow

Starts it 3Model 3Logic 22Service 18

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

  1. 1Schedule TriggerSchedule triggerStarts it
  2. 2OpenAILm Chat Open AiModel
  3. 3Schedule Trigger1Schedule triggerStarts it
  4. 4Error TriggerError triggerStarts it
  5. 5Set Date InfoCodeLogic
  6. 6Prompt GeneratorChain LlmModel
  7. 7Google Sheets1Google SheetsService
  8. 8Log ErrorGoogle SheetsService
  9. 9Telegram1TelegramService
  10. 10filter data dateCodeLogic
  11. 11Split PromptsFunctionLogic
  12. 12Create Loop IndexesFunctionLogic
  13. 13Google SheetsGoogle SheetsService
  14. 14Merge BatchesMergeLogic
  15. 15Set TopicSetLogic
  16. 16Select PromptCodeLogic
  17. 17Google Sheets2Google SheetsService
  18. 18Check the folderGoogle DriveService
  19. 19Check sheetGoogle DriveService
  20. 20Folder Exists?IfLogic
  21. 21Sheet Exists?IfLogic
  22. 22Set Folder ID drive folderCodeLogic
  23. 23Create Folder for imagesGoogle DriveService
  24. 24Set Folder ID sheetCodeLogic
  25. 25Create New SheetGoogle DriveService
  26. 26Merge2MergeLogic
  27. 27Edit FieldsSetLogic
  28. 28Generate ImageHttp RequestService
  29. 2920 secondsWaitLogic
  30. 30Get ImagesHttp RequestService
  31. 31Check if it has data?IfLogic
  32. 32Split OutSplit OutLogic
  33. 33WaitWaitLogic
  34. 34Download ImagesHttp RequestService
  35. 35Comp ImagesEdit ImageService
  36. 36Resize Image X2Edit ImageService
  37. 37Analyze imagesOpen AiModel
  38. 38MergeMergeLogic
  39. 39Split Out dataSplit OutLogic
  40. 40Code4CodeLogic
  41. 41Parse OpenAI ResponseCodeLogic
  42. 42Upload ImagesGoogle DriveService
  43. 43NumberingCodeLogic
  44. 44Google Sheets3Google SheetsService
  45. 45Google Sheets4Google SheetsService
  46. 46TelegramTelegramService

How it's built

Starts on
A clock
Steps
46, with 3 branches, 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 a clock.

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 46 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 46 steps before you point it at anything that matters.