# Generate 100+ ad variations from one image: n8n workflow

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

Source: https://millionrounds.com/workflow/generate-100-ad-variations-from-one-image (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [AI assistants](https://millionrounds.com/workflows?category=AI+assistants#library)

# Generate 100+ ad variations from one image

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

Medium Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fgenerate-100-ad-variations-from-one-image)

**19 steps** Medium: a working afternoon

**1** Branch: places the flow splits

**2** Loops or waits

**1** Service it connects to

## The flow

Starts it 1 Model 2 Logic 8 Service 8

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

- 1 **On form submission** Form trigger *Starts it*
- 2 **Upload file** Google Drive *Service*
- 3 **Download file to process** Google Drive *Service*
- 4 **Describe ad selected** Open Ai *Model*
- 5 **Extract from File** Extract From File *Service*
- 6 **map form answers** Set *Logic*
- 7 **Merge with image inspiration** Merge *Logic*
- 8 **Create variants of the prompt** Open Ai *Model*
- 9 **Loop Over Items** Split In Batches *Logic*
- 10 **Split Out variants** Split Out *Logic*
- 11 **Replace Me** No Op *Logic*
- 12 **Set variables for Ad generation** Set *Logic*
- 13 **Submit Request to generate image** Http Request *Service*
- 14 **Wait 10 seconds** Wait *Logic*
- 15 **Get Image status** Http Request *Service*
- 16 **Check if image is ready** If *Logic*
- 17 **Get image url** Http Request *Service*
- 18 **Download in n8n** Http Request *Service*
- 19 **Upload generated ad to output folder** Google Drive *Service*

## How it's built

- **Starts on:** Someone submitting a form
- **Steps:** 19, with 1 branch, 2 loops or waits
- **Size:** Medium: a working afternoon
- **Connects to:** Google Drive
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Google Drive account, 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-100-ad-variations-from-one-image)
- **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)

## Workflows like it

Also ai assistants, with the same services where possible, closest in size first.

- [**Generate Instagram news carousels from RSS feeds with OpenAI** 19 steps · calls a model · Google Drive, RSS](https://millionrounds.com/workflow/generate-instagram-news-carousels-from-rss-feeds-with-openai)
- [**Music Producer Chatbot with Gemini and Suno** 19 steps · calls a model · Google Drive](https://millionrounds.com/workflow/music-producer-chatbot-with-gemini-and-suno)
- [**Run Bunker Guard NPC chat and RAG lore checks with Gemini** 19 steps · calls a model · Google Drive, in-memory vectors](https://millionrounds.com/workflow/run-bunker-guard-npc-chat-and-rag-lore-checks-with-gemini)
- [**Score inspection defects and draft repair packets with OpenAI** 19 steps · calls a model · Gmail, Google Drive](https://millionrounds.com/workflow/score-inspection-defects-and-draft-repair-packets-with-opena)
- [**Answer restaurant voice queries with ElevenLabs and OpenAI** 18 steps · calls a model · Google Drive, Qdrant](https://millionrounds.com/workflow/answer-restaurant-voice-queries-with-elevenlabs-and-openai)
- [**Create AI-generated books with OpenAI and DALL-E** 18 steps · calls a model · Google Drive, S3](https://millionrounds.com/workflow/create-ai-generated-books-with-openai-and-dall-e)
