Automation library · Data collection

Create consistent AI characters with Google Nano Banana

Started by an event in a connected app, and works across Google Drive and Google Sheets. It hands the judgement calls to OpenAI. 28 steps, 2 branches, 2 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

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

The flow

Starts it 1Model 3Logic 11Service 13

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

  1. 1When clicking ‘Execute workflow’Manual triggerStarts it
  2. 2Json parser4Output Parser StructuredModel
  3. 3OpenAI Chat Model3Lm Chat Open AiModel
  4. 4Folder NameCodeLogic
  5. 5Story Creator AgentChain LlmModel
  6. 6Create folderGoogle DriveService
  7. 7Code1CodeLogic
  8. 8Create spreadsheetGoogle SheetsService
  9. 9Story Status UpdateGoogle SheetsService
  10. 10Move SheetGoogle DriveService
  11. 11Create Task (no callback)Http RequestService
  12. 12Edit FieldsSetLogic
  13. 13Set TaskIdSetLogic
  14. 14Add FieldsGoogle SheetsService
  15. 15Wait 1 MinWaitLogic
  16. 16Poll TaskHttp RequestService
  17. 17SwitchSwitchLogic
  18. 18Get ResultUrlsCodeLogic
  19. 19Upscale ImageHttp RequestService
  20. 20Set TaskId for upscaleSetLogic
  21. 21Wait 1 Min1WaitLogic
  22. 22Get Upscaled ImageHttp RequestService
  23. 23Switch1SwitchLogic
  24. 24Get ResultUrls from UpScaleCodeLogic
  25. 25Get BinaryHttp RequestService
  26. 26Upload fileGoogle DriveService
  27. 27Move ImagesGoogle DriveService
  28. 28Update Image StatusGoogle SheetsService

How it's built

Starts on
An event in a connected app
Steps
28, with 2 branches, 2 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Google Drive, Google Sheets
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Google Drive and Google Sheets accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an event in a connected app.

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