Skip to main content

Extract YouTube channel videos to Google Sheets with metadata tracking

Workflow preview

Workflow preview
100%
Extract YouTube channel videos to Google Sheets with metadata tracking preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This N8N template demonstrates how to use our tool to collect a list of videos from any YouTube channel including video URLs, titles, descriptions, thumbnail links, publish dates, and more all save...

Best for

  • Market Research automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.if, n8n-nodes-base.googlesheets, n8n-nodes-base.httprequest, n8n-nodes-base.set, n8n-nodes-base.stickynote, n8n-nodes-base.splitout, n8n-nodes-base.switch

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Agent Circle.

Original n8n.io source

1.1 Workflow description

Title
Extract YouTube channel videos to Google Sheets with metadata tracking
Workflow name
Extract YouTube channel videos to Google Sheets with metadata tracking

This N8N template demonstrates how to use our tool to collect a list of videos from any YouTube channel - including video URLs, titles, descriptions, thumbnail links, publish dates, and more - all saved cleanly into a connected Google Sheet.

Use cases are many: Whether you're a YouTube content strategist tracking competitors, a marketing team building dashboards from video metadata, or an automation pro connecting YouTube to downstream workflows, researchers and analysts collecting structured video data at scale, this tool gives you what you need!

How It Works

  • The workflow begins when you click Execute Workflow or Test Workflow manually in N8N.
  • It reads the list of full channel URLs, custom channel URLs or channel IDs from the Channel URLs tab in the connected Google Sheet. Only the channels with the Ready status will be processed.
  • A Switch node detects whether the input is a full/custom channel URL, or a raw channel ID, and routes it accordingly.
    • If the input is already a channel ID, the tool prepares the data structure before sending it to the YouTube API call in the next step.
    • If the input is a full channel URL or a custom channel URL, the workflow extracts the username, then sends a HTTP Request to the YouTube API to retrieve the corresponding Channel ID, and prepares the data structure before continuing.
  • Once the valid Channel ID is set, the tool sends a request to YouTube API endpoint to retrieve a list of public videos. By default, the number of videos extracted per channel is limited to 10.
  • The API response is checked for success:
    • If successful, the video data is split into individual entries, cleaned, and added to the Videos tab in the connected Google Sheet. The original rows' status in the Channel URLs tab is marked as Finished.
    • If an error occurs, the rows' status in the Channel URLs tab is marked as Error for later review.

How To Use

  • Download the workflow package.
  • Import the workflow package into your N8N interface.
  • Duplicate the YouTube - Get Channel Videos Google Sheet template into your Google Sheets account.
  • Set up Google Cloud Console credentials in the following nodes in N8N, ensuring enabled access and suitable rights to Google Sheets and YouTube services:
    • For Google Sheets access, ensure each node is properly connected to the correct tab in your connected Google Sheet: Node Google Sheets - Get Channel URLs → connected to the Channel URLs tab; Node Google Sheets - Update Data → connected to the Videos tab; Node Google Sheets - Update Data - Success → connected to the Channel URLs tab; Node Google Sheets - Update Data - Error → connected to the Channel URLs tab.
    • For YouTube access, set up a GET method to connect to YouTube API in the following nodes: Node HTTP Request - Get Channel ID; Node HTTP Request - Get Channel Videos.
  • In your connected Google Sheet, enter the full channel URLs, custom channel URLs or channel IDs that you want to crawl and set the rows' status to Ready.
  • Run the workflow by clicking Execute Workflow or Test Workflow in N8N.
  • View the results in your connected Google Sheet: Successful fetches will update the original rows' status to Finished and the videos' information show up in the Videos tab. If any URL or ID fails, the rows' status will be marked as Error.

Requirements

  • Basic setup in Google Cloud Console (OAuth or API Key method enabled) with enabled access to YouTube and Google Sheets.

How To Customize

  • By default, the workflow is manually triggered in N8N. However, you can automate the process by adding a Google Sheets trigger that monitors new entries automatically.
  • If you want to fetch more video metadata like durations, or view counts, you can expand the HTTP Request and post-processing nodes to include those.
  • The workflow, by default, collects up to 10 videos per channel. If you’d like to fetch more, in the connected Google Sheet, simply enter your desired video number limit in Column C in the Channel URLs tab. The tool will use that value when calling the YouTube API.

Need Help?

Join our community on different platforms for support, inspiration and tips from others.

Website: https://www.agentcircle.ai/ Etsy: https://www.etsy.com/shop/AgentCircle Gumroad: http://agentcircle.gumroad.com/ Discord Global: https://discord.gg/d8SkCzKwnP FB Page Global: https://www.facebook.com/agentcircle/ FB Group Global: https://www.facebook.com/groups/aiagentcircle/ X: https://x.com/agent_circle YouTube: https://www.youtube.com/@agentcircle LinkedIn: https://www.linkedin.com/company/agentcircle

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - When clicking ‘Test workflow’

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - If - Check Success Response

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 3 - Google Sheets - Update Data

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 4 - Google Sheets - Update Data - Error

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 5 - HTTP Request - Get Channel ID

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 6 - Fields - Set Channel Username

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 7 - HTTP Request - Get Channel Videos

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 8 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Google Sheets - Get Channel URLs

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 10 - Google Sheets - Update Data - Success

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 11 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Split Out - Videos

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 16 - Switch - Detect Channel ID or Channel URL

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Block 17 - Fields - Set Channel ID 1

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 18 - Fields - Set Channel ID 2

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 19 - Wait

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 20 - Loop

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

3. Summary Table

Workflow Extract YouTube channel videos to Google Sheets with metadata tracking
Complexity advanced
Nodes 20
Categories Market Research
Author Agent Circle
Published 08 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/5767/5767.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Extract YouTube channel videos to Google Sheets with metadata tracking do?

This N8N template demonstrates how to use our tool to collect a list of videos from any YouTube channel including video URLs, titles, descriptions, thumbnail links, publish dates, and more all save...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research use case.