Automation library · Data collection

Generate consistent styled images from references with Gemini

Started by another system calling it, and works across Google Drive and Google Sheets. It hands the judgement calls to Gemini. 21 steps, 2 branches, 5 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: Gemini

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

The flow

Starts it 2Model 2Logic 8Service 9

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

  1. 1WebhookWebhookStarts it
  2. 2Respond to WebhookRespond To WebhookStarts it
  3. 3Read – Google Sheets – Pending PromptsGoogle SheetsService
  4. 4ntfy - Start AlertHttp RequestService
  5. 5Split – Process Items IndividuallySplit In BatchesLogic
  6. 6ntfy - Workflow Completion AlertHttp RequestService
  7. 7Download – Reference ImageHttp RequestService
  8. 8Wait #1WaitLogic
  9. 9Analyze – Gemini – Visual StyleGoogle GeminiModel
  10. 10If - Check Analysis ResultIfLogic
  11. 11Create – Gemini – New Image From StyleGoogle GeminiModel
  12. 12Update – Google Sheets – Error StatusGoogle SheetsService
  13. 13If - Check Image GenerationIfLogic
  14. 14Wait #4WaitLogic
  15. 15ntfy - Task Error AlertHttp RequestService
  16. 16ransform – Code – Prepare Image BinaryCodeLogic
  17. 17Upload – Google Drive – Store Generated ImageGoogle DriveService
  18. 18Wait #2WaitLogic
  19. 19Update – Google Sheets – Success StatusGoogle SheetsService
  20. 20ntfy - Task Success AlertHttp RequestService
  21. 21Wait #3WaitLogic

How it's built

Starts on
Another system calling it
Steps
21, with 2 branches, 5 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Google Drive, Google Sheets
Model
Gemini

Questions

What does it need to run?

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

What starts it?

It starts on another system calling it.

Does it use AI?

Yes. It calls Gemini. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 21 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 21 steps before you point it at anything that matters.