Normalize YouTube video tags using Google Sheets vocabulary rules
Ready for 3.0Ready 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-10-19.
Nodes used (5)
- Manual Trigger
n8n-nodes-base.manualTrigger - Google Sheets
n8n-nodes-base.googleSheets - YouTube
n8n-nodes-base.youTube - Code
n8n-nodes-base.code - If
n8n-nodes-base.if
What it does
Quick Overview This workflow loads a tag vocabulary from Google Sheets, scans your YouTube channel’s recent videos, normalizes each video’s tags to match alias/banned/required rules, and updates only the videos whose tag set changes. How it works 1. Runs manually to start the tag normalization process. 2. Reads controlled-vocabulary rules from Google Sheets, including alias mappings, banned tags, and required baseline tags. 3. Lists up to 50 videos from the specified YouTube channel and fetches each video’s snippet details, including tags, title, and category. 4. Normalizes tags by lowercasing and cleaning them, converting aliases to canonical tags, removing banned tags, deduplicating, adding required tags, and truncating to YouTube’s tag character limit. 5. Compares the normalized tag set to the current tags and keeps only videos where the tags changed. 6. Updates the tags on the changed videos in YouTube while preserving the existing title and category. Setup 1. Add a YouTube (Google) OAuth2 credential for the YouTube nodes and ensure it has permission to update videos on your channel. 2. Add a Google Sheets credential, set the spreadsheet ID and sheet/tab to the vocabulary document, and ensure it is accessible to that account. 3. Replace YOURCHANNELID in the YouTube channel filter and adjust the video limit or ordering if needed. 4. Create a vocabulary sheet with columns such as ruletype, tag, and canonical, using ruletype values alias, banned, and required.