Automation library · Content

Competitive ad research & image generator with Apify

Started by an event in a connected app, and works across Google Drive and Google Sheets. It hands the judgement calls to OpenAI. 26 steps, 2 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

26 stepsLarge: read it before trusting it with anything live
0Branches: places the flow splits
2Loops or waits
2Services it connects to

The flow

Starts it 1Model 2Logic 8Service 15

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

  1. 1When clicking ‘Execute workflow’Manual triggerStarts it
  2. 2Set VariablesSetLogic
  3. 3Google DriveGoogle DriveService
  4. 4Run Ad Library ScraperHttp RequestService
  5. 5Google Sheets1Google SheetsService
  6. 6FilterFilterLogic
  7. 7Edit Fields1SetLogic
  8. 8LimitLimitLogic
  9. 9Google Sheets2Google SheetsService
  10. 10Create Asset Parent FolderGoogle DriveService
  11. 11Create Child Source FolderGoogle DriveService
  12. 12Create Child Spun FolderGoogle DriveService
  13. 13Download Static Image AdHttp RequestService
  14. 14Google Drive1Google DriveService
  15. 15Google Drive2Google DriveService
  16. 16OpenAIOpen AiModel
  17. 17Spin PromptsOpen AiModel
  18. 18Split OutSplit OutLogic
  19. 19Edit FieldsSetLogic
  20. 20Loop Over ItemsSplit In BatchesLogic
  21. 21Download Static Image Ad1Http RequestService
  22. 22Generate Image Using GPT Image 1Http RequestService
  23. 23Convert to FileConvert To FileService
  24. 24Google Drive3Google DriveService
  25. 25Google SheetsGoogle SheetsService
  26. 26WaitWaitLogic

How it's built

Starts on
An event in a connected app
Steps
26, 2 loops 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 an event in a connected app.

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