Automation library · Data collection

Create stylized product photography with Airtable and Gemini

Started by another system calling it, and works across Airtable. It hands the judgement calls to Gemini. 30 steps, 1 branch, 1 loop or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: Gemini

30 stepsLarge: read it before trusting it with anything live
1Branch: places the flow splits
1Loop or waits
1Service it connects to

The flow

Starts it 1Model 3Logic 15Service 11

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

  1. 1WebhookWebhookStarts it
  2. 2parametersSetLogic
  3. 3Get JobAirtableService
  4. 4Update job statusAirtableService
  5. 5Clean upSetLogic
  6. 6Split productsSplit OutLogic
  7. 7Split templatesSplit OutLogic
  8. 8Get productsAirtableService
  9. 9Get templatesAirtableService
  10. 10Edit productsSetLogic
  11. 11Edit templatesSetLogic
  12. 12Download product imageHttp RequestService
  13. 13Loop over templatesSplit In BatchesLogic
  14. 14Merge templates dataMergeLogic
  15. 15All combinationsMergeLogic
  16. 16Split reference imagesSplit OutLogic
  17. 17SwitchSwitchLogic
  18. 18Get reference imageAirtableService
  19. 19Generate with 1 refGoogle GeminiModel
  20. 20Generate with 2 refsGoogle GeminiModel
  21. 21Generate with 3 refsGoogle GeminiModel
  22. 22Edit reference imageSetLogic
  23. 23MergeMergeLogic
  24. 24Download reference imageHttp RequestService
  25. 25Extract from FileExtract From FileService
  26. 26AggregateAggregateLogic
  27. 27Collect variablesSetLogic
  28. 28Create Result recordAirtableService
  29. 29Upload attachmentHttp RequestService
  30. 30Update job status (done)AirtableService

How it's built

Starts on
Another system calling it
Steps
30, with 1 branch, 1 loop or waits
Size
Large: read it before trusting it with anything live
Connects to
Airtable
Model
Gemini

Questions

What does it need to run?

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