# Generate scalable e-commerce product images with OpenAI: n8n workflow

> Started by someone submitting a form, and works across Google Drive and Google Sheets. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/generate-scalable-e-commerce-product-images-with-openai (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [E-commerce](https://millionrounds.com/workflows?category=E-commerce#library)

# Generate scalable e-commerce product images with OpenAI

Started by someone submitting a form, and works across Google Drive and Google Sheets. It hands the judgement calls to OpenAI. 19 steps, 1 branch, 1 loop or waits: a working afternoon to understand properly.

Medium Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-scalable-e-commerce-product-images-with-openai)

**19 steps** Medium: a working afternoon

**1** Branch: places the flow splits

**1** Loop or waits

**2** Services it connects to

## The flow

Starts it 1 Model 4 Logic 7 Service 7

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

- 1 **Form Trigger (3 images)** Form trigger *Starts it*
- 2 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 3 **Structured Output Parser** Output Parser Structured *Model*
- 4 **If** If *Logic*
- 5 **Generate Image Prompt** Agent *Model*
- 6 **Normalize binary names** Set *Logic*
- 7 **Error Response - Missing Files** Set *Logic*
- 8 **NanoBanana: Create Image** Http Request *Service*
- 9 **Split images** Code *Logic*
- 10 **Wait** Wait *Logic*
- 11 **Upload file** Google Drive *Service*
- 12 **Analyze image** Open Ai *Model*
- 13 **Build Public Image URL** Http Request *Service*
- 14 **Download Edited Image** Http Request *Service*
- 15 **Merge** Merge *Logic*
- 16 **Download Final PNG (binary)** Http Request *Service*
- 17 **Aggregate descriptions** Code *Logic*
- 18 **Upload file Nanobanana** Google Drive *Service*
- 19 **Append row in sheet** Google Sheets *Service*

## How it's built

- **Starts on:** Someone submitting a form
- **Steps:** 19, with 1 branch, 1 loop or waits
- **Size:** Medium: a working afternoon
- **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 someone submitting a form.

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?

Plan an afternoon. 19 steps is enough that you should read each one before running it.

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

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-scalable-e-commerce-product-images-with-openai)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[Google Drive](https://millionrounds.com/workflows?service=Google+Drive#library)[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)

## Workflows like it

Also e-commerce, with the same services where possible, closest in size first.

- [**Extract website intelligence & classify ecommerce URLs** 19 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/extract-website-intelligence-and-classify-ecommerce-urls)
- [**AI-Powered Order Collection system with Vapi Phone Calls** 19 steps · Google Sheets](https://millionrounds.com/workflow/ai-powered-order-collection-system-with-vapi-phone-calls)
- [**AI blog generator for Shopify products with Gemini** 18 steps · calls a model · Google Sheets, Shopify](https://millionrounds.com/workflow/ai-blog-generator-for-shopify-products-with-gemini)
- [**Generate Shopify review outreach drafts with Apify and Hunter** 18 steps · calls a model · Apify, Gmail](https://millionrounds.com/workflow/generate-shopify-review-outreach-drafts-with-apify-and-hunte)
- [**Monitor Shopify low-stock items with OpenAI and Google Sheets** 18 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/monitor-shopify-low-stock-items-with-openai-and-google-sheet)
- [**Share Shopify New Products Across All Social Media Platforms** 18 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/share-shopify-new-products-across-all-social-media-platforms-2)
