Templates / Send weekly YouTube Analytics channel report with Gmail

Send weekly YouTube Analytics channel report with Gmail

Ready for 3.0

by Sandeep Bhandari · 1 views · created 2026-11-25

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 8 nodes and runs on a schedule (cron 0 8 * * 1). Along the way it connects Gmail. It also calls youtubeanalytics.googleapis.com over HTTP.

How it runs

Trigger: On a schedule (cron 0 8 * * 1).

  1. Configure workflow (Edit Fields (Set)): sets 2 fields: recipient_email, analytics_lag_days
  2. Build two seven-day windows (Code): runs custom JavaScript code
  3. Read current week (HTTP Request): calls youtubeanalytics.googleapis.com
  4. Read previous week (HTTP Request): calls youtubeanalytics.googleapis.com
  5. Read top five by watch time (HTTP Request): calls youtubeanalytics.googleapis.com
  6. Calculate changes and build email (Code): runs custom JavaScript code
  7. Email weekly channel report (Gmail): uses Gmail

Services it uses

Gmail

HTTP calls to: youtubeanalytics.googleapis.com

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (5)

From the author

Quick overview This workflow runs every Monday and pulls two comparable 7-day YouTube Analytics reporting windows, calculates week-over-week changes plus the top videos by watch time, then emails an HTML report through Gmail. How it works 1. Runs every Monday…

Excerpt from Sandeep Bhandari's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.