Automation library · Content

Generate quality-checked YouTube thumbnails with OpenAI

Started by someone submitting a form, and works across Google Drive and Google Sheets. It hands the judgement calls to OpenAI. 27 steps, 2 branches, 1 loop or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

27 stepsLarge: read it before trusting it with anything live
2Branches: places the flow splits
1Loop or waits
2Services it connects to

The flow

Starts it 1Model 6Logic 11Service 9

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

  1. 1When Form SubmittedForm triggerStarts it
  2. 2OpenAI GPT-4 Mini ChatLm Chat Open AiModel
  3. 3Parse Structured OutputOutput Parser StructuredModel
  4. 4Fetch Character FilesGoogle DriveService
  5. 5Fetch Thumbnail ExamplesGoogle DriveService
  6. 6AI Thumbnail Generation AgentAgentModel
  7. 7Download Characters from DriveGoogle DriveService
  8. 8Download Thumbnails from DriveGoogle DriveService
  9. 9Loop Over Batch ItemsSplit In BatchesLogic
  10. 10OpenAI Analyze CharactersOpen AiModel
  11. 11OpenAI Analyze DesignsOpen AiModel
  12. 12Reset Global Retry CounterCodeLogic
  13. 13Aggregate Characters DataAggregateLogic
  14. 14Aggregate Thumbnails DataAggregateLogic
  15. 15Post Image Generation RequestHttp RequestService
  16. 16Merge Characters and ThumbnailsMergeLogic
  17. 17Convert Image to FileConvert To FileService
  18. 18Post to Cloudinary for URLHttp RequestService
  19. 19Upload to Google DriveGoogle DriveService
  20. 20Merge URLs and Drive FilesMergeLogic
  21. 21Split Image URLsSplit OutLogic
  22. 22OpenAI Analyze Image QualityOpen AiModel
  23. 23If Image Quality AcceptableIfLogic
  24. 24Append to Google SheetsGoogle SheetsService
  25. 25Calculate Quality Retry CountCodeLogic
  26. 26If Retry Count in LimitIfLogic
  27. 27Node for Manual ReviewNo OpLogic

How it's built

Starts on
Someone submitting a form
Steps
27, with 2 branches, 1 loop or waits
Size
Large: read it before trusting it with anything live
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?

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