Weekly YouTube competitor tracker in Google Sheets

Every Monday at 6am, pull fresh subscriber counts, upload volume, and breakout videos for your competitor channels into one Google Sheet.

Deterministic Code
vidIQGoogle SheetsMarketingOperationsResearch & MonitoringData SyncDaily Digests
PromptCreate

Build a code workflow that refreshes my YouTube competitor tracker in Google Sheets every Monday at 6am local time. This is a fully deterministic pipeline: no LLM reasoning, no summarization, just structured data fanned out from my sheet through vidIQ and back into my sheet.

Trigger: cron, every Monday at 6:00 AM.

Step 1. Read competitor channels. Use Google Sheets Get Values to read the Channels tab of my spreadsheet. The tab has a header row and at least two columns: channel_id (a YouTube channel ID like UCxxxx) and channel_name (the display name I use for that competitor). Read the full data range, skip the header row, and treat each remaining row as one channel to process. The spreadsheet ID and the Channels range (for example Channels!A2:B) should be exposed as configurable inputs.

Step 2. For each channel, fan out two vidIQ calls in parallel where possible:

a) vidIQ Channel Stats for that channel_id. Capture subscribers, total uploads, and engagement (engagement rate).

b) vidIQ Outlier Videos for that channel_id, scoped to the last 7 days. Count how many outlier videos were returned, and pick the single top outlier by view count. Capture its title and view count.

If a channel returns an error from either vidIQ call (unknown channel, no data, rate limit), do not abort the whole run. Log the error, leave that channel's numeric fields blank or zero, and continue to the next channel.

Step 3. Build one row per channel with these columns, in this order: run_date (ISO date of the run, e.g. 2026-06-01), channel_name, subscribers, total_uploads, engagement_rate, new_outlier_count, top_outlier_title, top_outlier_views. If there were no outliers in the last 7 days, write 0 for new_outlier_count and leave top_outlier_title and top_outlier_views blank.

Step 4. Append all rows to the Weekly Tracking tab of the same spreadsheet using Google Sheets Append Values with USER_ENTERED value input so the date renders as a real date and the numbers render as numbers. Append in one batched call where possible. Do not clear or overwrite existing rows, only append, so the sheet builds a week-over-week history.

Inputs the workflow should expose: the Google Sheets spreadsheet ID, the Channels read range (default Channels!A2:B), the Weekly Tracking append range (default Weekly Tracking!A:H), and the outlier lookback window (default 7 days).

Keep the workflow strictly deterministic and read/write only. No model calls, no commentary text, no Slack or email side-effects. Just the loop: read channels, hit vidIQ, append rows.

What does this prompt do?

  • Runs automatically every Monday at 6am so a fresh competitor snapshot is waiting when you start the week.
  • Reads your list of competitor YouTube channels from a Channels tab in your spreadsheet, so you control who is tracked in one place.
  • Pulls subscribers, total uploads, and engagement for each channel, plus any breakout videos from the past week.
  • Appends one tidy row per channel to a Weekly Tracking tab, so you build a clean week-over-week history with no manual exports.

What do I need to use this?

  • A Google account with edit access to the spreadsheet you want to track competitors in.
  • A vidIQ account with API access for YouTube channel stats and breakout video data.
  • A short list of competitor YouTube channels you want to follow each week.

How can I customize it?

  • Change the schedule to run on a different day or time, or switch to a daily or biweekly cadence.
  • Edit the Channels tab in your spreadsheet to add or remove competitors. No code changes needed.
  • Adjust which columns get written into the Weekly Tracking tab, for example add average view count or drop the engagement column.

FAQs

Do I need to maintain a list of channels somewhere special?
No. Your competitor list lives in a Channels tab inside the same Google Sheet. Add or remove rows there and the next run picks up the changes automatically.
Will this overwrite my existing tracking history?
No. Each run appends new rows to the Weekly Tracking tab with that run's date, so you build a clean week-over-week history that you can chart or pivot on.
What counts as a breakout video?
vidIQ flags videos that significantly outperformed the channel's recent average views, so you only see what is actually trending up rather than every new upload.
Can I track more than 10 competitors?
Yes. The workflow loops over every channel listed in your Channels tab, so you can track as many as you want. Heavier lists take longer to run, which is fine on a weekly schedule.
Does it require any manual download or CSV step?
No. Everything moves directly from vidIQ into your spreadsheet, so there are no exports, downloads, or copy-paste steps each Monday.

Related templates

Review desk for portal forms your team still fills in by hand

Stage a batch of filings overnight, then approve each completed form from a screenshot before anything is ever submitted.

Kernel
Google Sheets
Slack Bot
App
Audit what Intercom's Fin AI actually resolved before you pay

Review every conversation Fin closed as resolved, judge which ones actually stuck, and see what the gap is worth against your bill.

Intercom
Google Sheets
Slack Bot
App
Returns and warranty claim desk that follows your policy

Work every return, damage and warranty claim in one queue, with the order, the delivery date and a policy-backed recommendation already on screen.

Kustomer
Shopify
Google Sheets
App
Turn last week's cafe sales into this week's grocery order

See exactly which ingredients next week needs based on what you actually sold, adjust anything by hand, then build a one-click grocery cart.

Instacart
Square
Google Sheets
App
Benchmark your Instagram account against rival brands

See follower growth, posting cadence, format mix and engagement rate for your brand and every competitor you track, side by side on one board.

Instagram
Google Sheets
Google Docs
App
Find the services you're underpricing in your Jobber price book

Open one screen to see how every service in your Jobber price book actually performed: how often it sold, what you charged, and where prices swing.

Jobber
Google Sheets
App

Stop downloading YouTube data every Monday morning.

Connect Google Sheets and vidIQ once, and Geni refreshes your competitor tracker every Monday at 6am.