Automation library · Alerts and monitoring

Ad monitoring tool with Gemini

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

LargeCalls a model: OpenAI

24 stepsLarge: read it before trusting it with anything live
1Branch: places the flow splits
7Loops or waits
2Services it connects to

The flow

Starts it 1Model 4Logic 9Service 10

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

  1. 1When clicking ‘Execute workflow’Manual triggerStarts it
  2. 2Run Ad Library ScraperHttp RequestService
  3. 3Filter For LikesFilterLogic
  4. 4SwitchSwitchLogic
  5. 5Loop Over Video AdsSplit In BatchesLogic
  6. 6Loop Over Image AdsSplit In BatchesLogic
  7. 7Loop Over Text AdsSplit In BatchesLogic
  8. 8Download VideoHttp RequestService
  9. 9Analyze ImageOpen AiModel
  10. 10Output Text SummaryOpen AiModel
  11. 11Upload Video to DriveGoogle DriveService
  12. 12Output Image SummaryOpen AiModel
  13. 13Add as Type = TextGoogle SheetsService
  14. 14Begin Gemini Upload SessionHttp RequestService
  15. 15Add as Type = ImageGoogle SheetsService
  16. 16WaitWaitLogic
  17. 17Redownload VideoGoogle DriveService
  18. 18Wait1WaitLogic
  19. 19Upload Video to GeminiHttp RequestService
  20. 20Wait3WaitLogic
  21. 21Analyze Video with GeminiHttp RequestService
  22. 22Output Video SummaryOpen AiModel
  23. 23Add as Type = VideoGoogle SheetsService
  24. 24Wait2WaitLogic

How it's built

Starts on
An event in a connected app
Steps
24, with 1 branch, 7 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 24 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 24 steps before you point it at anything that matters.