Skip to content

YouTube Daily Search Views Tracker Automation using n8n Track daily views from YouTube Search traffic and log them into Google Sheets using a fully automated n8n workflow.

License

Notifications You must be signed in to change notification settings

Moksh-Bhardwaj/youtube-daily-search-views-tracker-n8n-automation

Repository files navigation

📊 YouTube Daily Search Views Tracker Automation (n8n Workflow)

This n8n automation tracks the number of daily YouTube views generated from YouTube Search for your channel, using the YouTube Analytics API, and updates them into a connected Google Sheet.

🔧 Features

  • Automatically runs daily at 12 PM
  • Fetches views from YouTube Search (using insightTrafficSourceType)
  • Writes data into the correct cell in a Google Sheet based on date
  • Easy to modify and extend for other traffic sources

✅ Prerequisites

  • A YouTube channel
  • n8n installed (locally or on cloud)
  • Google OAuth2 credentials for:
    • YouTube Analytics API
    • Google Sheets API

📂 Setup Instructions

  1. Clone this repository
  2. Import workflow.json into your n8n instance
  3. Connect your own credentials:
    • When creating the Google credentials connection inside n8n, make sure to authorize with the following scope for YouTube Analytics: https://www.googleapis.com/auth/yt-analytics.readonly
    • Replace the Google credentials under:
      • Fetch YT Analytics
      • Update Google Sheet
  4. Update the Google Sheets ID in the workflow with your actual spreadsheet ID.
  5. (Optional) Modify the trigger time, sheet range, or logic to suit your needs.

🖼️ Workflow Preview

Workflow Screenshot

🖼️ Google Sheet Preview

Google Sheet Screenshot

You can copy the Google Sheet from here for testing purpose: YouTube SEO Dashboard Sheet


📝 License


🙌 Author

Moksh Bhardwaj
🔗 YouTube
🔗 Super Profile
🔗 GitHub

🎥 Watch the full tutorial on YouTube coming soon...

⭐ Star this repo if you find it useful and want more tech tutroials!

About

YouTube Daily Search Views Tracker Automation using n8n Track daily views from YouTube Search traffic and log them into Google Sheets using a fully automated n8n workflow.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published