# Bulk AI Image Generator, Rename Engine & 4× Upscaler: n8n workflow

> Started by a clock, and works across Google Drive, Google Sheets and Telegram. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/bulk-ai-image-generator-rename-engine-and-4-upscaler (Millionrounds; every figure on the page links to its filing or article)

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

# Bulk AI Image Generator, Rename Engine & 4× Upscaler

Started by a clock, and works across Google Drive, Google Sheets and Telegram. It hands the judgement calls to OpenAI. 46 steps, 3 branches, 2 loops or waits: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fbulk-ai-image-generator-rename-engine-and-4-upscaler)

**46 steps** Large: read it before trusting it with anything live

**3** Branches: places the flow splits

**2** Loops or waits

**3** Services it connects to

## The flow

Starts it 3 Model 3 Logic 22 Service 18

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

- 1 **Schedule Trigger** Schedule trigger *Starts it*
- 2 **OpenAI** Lm Chat Open Ai *Model*
- 3 **Schedule Trigger1** Schedule trigger *Starts it*
- 4 **Error Trigger** Error trigger *Starts it*
- 5 **Set Date Info** Code *Logic*
- 6 **Prompt Generator** Chain Llm *Model*
- 7 **Google Sheets1** Google Sheets *Service*
- 8 **Log Error** Google Sheets *Service*
- 9 **Telegram1** Telegram *Service*
- 10 **filter data date** Code *Logic*
- 11 **Split Prompts** Function *Logic*
- 12 **Create Loop Indexes** Function *Logic*
- 13 **Google Sheets** Google Sheets *Service*
- 14 **Merge Batches** Merge *Logic*
- 15 **Set Topic** Set *Logic*
- 16 **Select Prompt** Code *Logic*
- 17 **Google Sheets2** Google Sheets *Service*
- 18 **Check the folder** Google Drive *Service*
- 19 **Check sheet** Google Drive *Service*
- 20 **Folder Exists?** If *Logic*
- 21 **Sheet Exists?** If *Logic*
- 22 **Set Folder ID drive folder** Code *Logic*
- 23 **Create Folder for images** Google Drive *Service*
- 24 **Set Folder ID sheet** Code *Logic*
- 25 **Create New Sheet** Google Drive *Service*
- 26 **Merge2** Merge *Logic*
- 27 **Edit Fields** Set *Logic*
- 28 **Generate Image** Http Request *Service*
- 29 **20 seconds** Wait *Logic*
- 30 **Get Images** Http Request *Service*
- 31 **Check if it has data?** If *Logic*
- 32 **Split Out** Split Out *Logic*
- 33 **Wait** Wait *Logic*
- 34 **Download Images** Http Request *Service*
- 35 **Comp Images** Edit Image *Service*
- 36 **Resize Image X2** Edit Image *Service*
- 37 **Analyze images** Open Ai *Model*
- 38 **Merge** Merge *Logic*
- 39 **Split Out data** Split Out *Logic*
- 40 **Code4** Code *Logic*
- 41 **Parse OpenAI Response** Code *Logic*
- 42 **Upload Images** Google Drive *Service*
- 43 **Numbering** Code *Logic*
- 44 **Google Sheets3** Google Sheets *Service*
- 45 **Google Sheets4** Google Sheets *Service*
- 46 **Telegram** Telegram *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 46, with 3 branches, 2 loops or waits
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Google Drive, Google Sheets, Telegram
- **Model:** OpenAI

## Questions

What does it need to run?

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

What starts it?

It starts on a clock.

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 46 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 46 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%2Fbulk-ai-image-generator-rename-engine-and-4-upscaler)
- **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)[Telegram](https://millionrounds.com/workflows?service=Telegram#library)

## Workflows like it

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

- [**AI Agents Generate Content & Automate Posting** 46 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/ai-agents-generate-content-and-automate-posting-4)
- [**AI Agents Generate Content & Automate Posting** 46 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/ai-agents-generate-content-and-automate-posting-5)
- [**AI Agents Generate Content & Automate Posting** 46 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/ai-agents-generate-content-and-automate-posting-3)
- [**AI Agents Generate Content & Automate Posting** 46 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/ai-agents-generate-content-and-automate-posting)
- [**AI Agents Generate Content & Automate Posting** 46 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/ai-agents-generate-content-and-automate-posting-2)
- [**AI Agents Generate Social Media Content Automation** 46 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/ai-agents-generate-social-media-content-automation)
