This powerful n8n workflow template automatically retrieves the most-viewed YouTube videos from specified channel IDs defined in Google Sheets using the YouTube API, storing structured data directly back into another sheet.
Download this n8n workflow template and start using it instantly.
Manually monitoring the top-performing videos across several YouTube channels can be time-consuming and prone to errors. This automated n8n workflow solves this by streamlining the data extraction process. It uses Google Sheets as a configuration source, allowing you to easily manage a list of channels and how many top videos you wish to retrieve from each. By utilizing the YouTube Data API and filtering by viewCount, this n8n automation ensures you consistently capture the most popular content. This robust n8n workflow significantly reduces manual effort, providing clean, updated data ready for analysis in Google Sheets.
This powerful n8n workflow starts with a manual n8n trigger, initiating the process when executed within the n8n interface.
viewCount, ensuring only the most popular videos are returned.To set up this n8n workflow template, follow the steps below:
ChannelID (the specific YT channel ID) and videonumtoget (the maximum number of videos to retrieve).channelName, title, videoId, and videoLink.YOURYOUTUBEAPIKEY with your actual YouTube API key in the query parameters. When clicking ‘Execute workflow’ (Manual Trigger): This is the entry n8n trigger. It manually starts the execution of this n8n workflow for testing or immediate runs.
Read Channel Info from Sheet (Google Sheets n8n node):
Function: Reads the configuration data (Channel IDs and requested video count) from the specified input Google Sheet.
Key Configuration: Configured to read all data from YOURINPUTSHEETNAME using a defined Spreadsheet ID.
Fetch Most-Viewed Videos via YouTube API (HTTP Request n8n node):
Function: Executes the core data retrieval. It calls the YouTube API, dynamically inserting the ChannelID and maxResults from the previous n8n node. It specifies order=viewCount to ensure popularity sorting.
Key Configuration: Uses dynamic expressions like ={{ $json.ChannelID }} and requires replacement of YOURYOUTUBEAPIKEY.
Split Into Individual Videos (Split Out n8n node):
Function: Takes the API response, which is an array of video items, and splits it into separate executions, ensuring each subsequent n8n node receives data for one video at a time.
Key Configuration: Splits the data based on the items field.
Append Video Details to Sheet (Google Sheets n8n node):
Function: Appends the structured output data (Title, Video ID, Link, Channel Name) to the designated output sheet.
* Key Configuration: Uses the append operation and maps dynamic data fields like ={{ $json.items.snippet.title }} to output columns in YOUROUTPUTSHEET_NAME.
Automate social media trend tracking from Reddit and X/Twitter. This n8n workflow uses GPT-4o for analysis and stores the structured data in a SharePoint Excel file.

Instantly deploy this n8n workflow to track the top 5 meme coin prices via the CoinGecko API and deliver results directly through a custom Telegram bot. This powerful n8n template uses conditional logic and JavaScript formatting.

Automate TikTok Ads monitoring using this advanced n8n workflow. Scrape competitor creatives via Apify, filter for new additions in Google Sheets, and send instant Slack/Telegram alerts.

Automate tracking US Fintech and Healthtech funding rounds daily. Use this powerful n8n workflow to pull data from the Crunchbase API and append essential deal metrics directly to Google Sheets. Get the best n8n templates.

Use this powerful n8n workflow to monitor Upwork jobs via RSS. It filters non-English content, extracts key data using a custom n8n node, checks Google Sheets for duplicates, and sends instant Slack alerts for new postings. Find robust n8n templates here.

Use this powerful n8n workflow to track specific website changes daily. It utilizes the Firecrawl n8n node for scraping and screenshots, GPT-5-mini for content comparison, and Notion for storing historical snapshots and updates. Get instant alerts via Gmail.








































