Skip to main content

YouTube competitor video analytics to Google Sheets

Workflow preview

Workflow preview
100%
YouTube competitor video analytics to Google Sheets preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Short Description: Automatically collect and analyze your competitor’s YouTube performance. This workflow extracts video titles, views, likes, and des...

Best for

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

Tools used

n8n-nodes-base.formtrigger, n8n-nodes-base.set, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.googlesheets, n8n-nodes-base.stickynote

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
YouTube competitor video analytics to Google Sheets
Workflow name
YouTube competitor video analytics to Google Sheets

Short Description:

Automatically collect and analyze your competitor’s YouTube performance. This workflow extracts video titles, views, likes, and descriptions from any YouTube channel and saves the data to Google Sheets — helping creators spot viral trends and plan content that performs.

Who’s it for

For content creators, YouTubers, and marketing teams who want to track what’s working for their competitors — without manually checking their channels every day.

How it works

This workflow automatically collects data from any YouTube channel you enter.
You just write the channel name in the form — n8n fetches the channel ID, gets all recent video IDs, and extracts each video’s title, views, likes, and description.
Finally, all the information is saved neatly into a connected Google Sheet for analysis.

How to set up

  1. Create a Google Sheet with columns for Title, Views, Likes, Description, and URL.
  2. Connect your Google account to n8n.
  3. Add your YouTube Data API key inside the HTTP Request nodes (use n8n credentials, not hardcoded keys).
  4. Update your form submission or trigger node to match your input method.
  5. Execute the workflow once to test and verify that data is flowing into your sheet.

Requirements

  • YouTube Data API key
  • Google Sheets account
  • n8n cloud or self-hosted instance

How to customize

You can modify the JavaScript code node to include more metrics (like comments or publish date), filter by keywords, or change the output destination (e.g., Airtable or Notion).

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 - On form submission1

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

Block 2 - Set Parameters1

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

Block 3 - Get Channel ID1

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

Block 4 - Extract Channel ID1

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 5 - Get Video IDs1

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

Block 6 - Extract IDs1

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 7 - Get Video Data1

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

Block 8 - Extract Video Data1

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 9 - Video Performance1

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 10 - Append row in sheet1

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

Block 11 - Sticky Note

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

Block 12 - Sticky Note1

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

Block 13 - Sticky Note2

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

Block 14 - Sticky Note3

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

Block 15 - Sticky Note4

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

Block 16 - Sticky Note5

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

Block 17 - Hook and Description

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 18 - Sticky Note6

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

3. Summary Table

Workflow YouTube competitor video analytics to Google Sheets
Complexity advanced
Nodes 18
Categories Market Research
Author Asfandyar Malik
Published 14 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9641/9641.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 YouTube competitor video analytics to Google Sheets do?

Short Description: Automatically collect and analyze your competitor’s YouTube performance. This workflow extracts video titles, views, likes, and des...

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.