Automation library · Content

Mine YouTube competitor content ideas with Gemini

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

LargeCalls a model: Gemini

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

The flow

Starts it 2Model 2Logic 18Service 5

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

  1. 1Weekly Channel Scan TriggerSchedule triggerStarts it
  2. 2Use Gemini Chat ModelLm Chat Google GeminiModel
  3. 3Form Submission TriggerForm triggerStarts it
  4. 4Configure Scan ParametersSetLogic
  5. 5AI Generate Content IdeasChain LlmModel
  6. 6Read Seen Video IDs from SheetGoogle SheetsService
  7. 7Process AI Output IdeasCodeLogic
  8. 8Split Channel ID ListCodeLogic
  9. 9Evaluate Idea ScoreIfLogic
  10. 10Create Seen Video EntryCodeLogic
  11. 11Batch Process CandidatesSplit In BatchesLogic
  12. 12Batch Process ChannelsSplit In BatchesLogic
  13. 13Append Idea to SpreadsheetGoogle SheetsService
  14. 14Discard Low-Score IdeasNo OpLogic
  15. 15Log Video in SheetsGoogle SheetsService
  16. 16Compile Run SummaryCodeLogic
  17. 17Combine Parsed Video DataCodeLogic
  18. 18Fetch YouTube Channel RSSHttp RequestService
  19. 19Check Ideas for ReportingIfLogic
  20. 20Deduplicate and Queue CandidatesCodeLogic
  21. 21Parse Videos from RSSCodeLogic
  22. 22Construct Email SummaryCodeLogic
  23. 23No Ideas Ready to ReportNo OpLogic
  24. 24Check for New VideosIfLogic
  25. 25Email Content Idea DigestGmailService
  26. 26Split Candidates for ProcessingCodeLogic
  27. 27No New Videos DiscoveredNo OpLogic

How it's built

Starts on
Someone submitting a form
Steps
27, with 3 branches, 2 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Gmail, Google Sheets
Model
Gemini

Questions

What does it need to run?

An n8n account, plus your own Gmail and Google Sheets accounts, and a key for Gemini. 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 Gemini. 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.