Back to Templates

Auto-Track YouTube Stats & Channel Data in Notion Database

Created by

Created by: Chris Jadama || chrisjadama

Chris Jadama

Last update

Last update 2 days ago

Categories

Share


Who it's for

YouTube creators, content marketers, and anyone who wants to automatically enrich YouTube links added to a Notion database.

What it does

Automatically extracts important video and channel data — including title, views, likes, comments, thumbnail, channel name, subscribers, and a custom viral score — whenever a new YouTube URL is added to Notion.

How it works

  1. A Notion Trigger fires when a new page is added to your database.
  2. The workflow extracts the YouTube video ID from the provided URL.
  3. A YouTube API request retrieves video details (title, views, likes, comments, thumbnail).
  4. A second YouTube API request retrieves channel information (name and subscriber count).
  5. Both sets of data are cleaned and formatted.
  6. The enriched data is written back to the same Notion page.

Requirements

Setup steps

  1. Duplicate the Notion template linked above.
  2. Connect your Notion credentials in n8n.
  3. Create and connect a YouTube OAuth2 credential.
  4. Assign your credential to the YouTube API nodes.
  5. Test once with a manual execution.