# Mine YouTube competitor content ideas with Gemini: n8n workflow

> Started by someone submitting a form, and works across Gmail and Google Sheets. It hands the judgement calls to Gemini.

Source: https://millionrounds.com/workflow/mine-youtube-competitor-content-ideas-with-gemini (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)

# 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.

Large Calls a model: Gemini

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fmine-youtube-competitor-content-ideas-with-gemini)

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

**3** Branches: places the flow splits

**2** Loops or waits

**2** Services it connects to

## The flow

Starts it 2 Model 2 Logic 18 Service 5

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

- 1 **Weekly Channel Scan Trigger** Schedule trigger *Starts it*
- 2 **Use Gemini Chat Model** Lm Chat Google Gemini *Model*
- 3 **Form Submission Trigger** Form trigger *Starts it*
- 4 **Configure Scan Parameters** Set *Logic*
- 5 **AI Generate Content Ideas** Chain Llm *Model*
- 6 **Read Seen Video IDs from Sheet** Google Sheets *Service*
- 7 **Process AI Output Ideas** Code *Logic*
- 8 **Split Channel ID List** Code *Logic*
- 9 **Evaluate Idea Score** If *Logic*
- 10 **Create Seen Video Entry** Code *Logic*
- 11 **Batch Process Candidates** Split In Batches *Logic*
- 12 **Batch Process Channels** Split In Batches *Logic*
- 13 **Append Idea to Spreadsheet** Google Sheets *Service*
- 14 **Discard Low-Score Ideas** No Op *Logic*
- 15 **Log Video in Sheets** Google Sheets *Service*
- 16 **Compile Run Summary** Code *Logic*
- 17 **Combine Parsed Video Data** Code *Logic*
- 18 **Fetch YouTube Channel RSS** Http Request *Service*
- 19 **Check Ideas for Reporting** If *Logic*
- 20 **Deduplicate and Queue Candidates** Code *Logic*
- 21 **Parse Videos from RSS** Code *Logic*
- 22 **Construct Email Summary** Code *Logic*
- 23 **No Ideas Ready to Report** No Op *Logic*
- 24 **Check for New Videos** If *Logic*
- 25 **Email Content Idea Digest** Gmail *Service*
- 26 **Split Candidates for Processing** Code *Logic*
- 27 **No New Videos Discovered** No Op *Logic*

## 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.

## 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%2Fmine-youtube-competitor-content-ideas-with-gemini)
- **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.

[Gmail](https://millionrounds.com/workflows?service=Gmail#library)[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)

## Workflows like it

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

- [**Convert RSS feeds into LinkedIn & X posts with OpenAI** 27 steps · calls a model · Gmail, LinkedIn](https://millionrounds.com/workflow/convert-rss-feeds-into-linkedin-and-x-posts-with-openai)
- [**Create & track LinkedIn posts with Google Sheets and OpenAI** 27 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/create-and-track-linkedin-posts-with-google-sheets-and-opena)
- [**Create content from form inputs and save it to Google Drive** 27 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/create-content-from-form-inputs-and-save-it-to-google-drive)
- [**Create hours-long wave music videos with Suno and YouTube** 27 steps · calls a model · Google Sheets](https://millionrounds.com/workflow/create-hours-long-wave-music-videos-with-suno-and-youtube)
- [**Generate quality-checked YouTube thumbnails with OpenAI** 27 steps · calls a model · Google Drive, Google Sheets](https://millionrounds.com/workflow/generate-quality-checked-youtube-thumbnails-with-openai)
- [**Generate riddle shorts & post on YouTube with Pinecone** 27 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/generate-riddle-shorts-and-post-on-youtube-with-pinecone)
