Skip to main content

Analyze YouTube channels & send performance reports with GPT-4o-mini and Gmail

Workflow preview

Workflow preview
100%
Analyze YouTube channels & send performance reports with GPT-4o-mini and Gmail preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Analyze YouTube Channels & Email Actionable Insights with GPT 4o mini, RapidAPI, and Gmail Description Automate YouTube channel analysis by fetching channel data, generating a key metrics table and...

Best for

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

Tools used

n8n-nodes-base.emailsend, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.stickynote, n8n-nodes-base.splitinbatches, @n8n/n8n-nodes-langchain.lmchatazureopenai, n8n-nodes-base.httprequest, n8n-nodes-base.googlesheets

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Analyze YouTube channels & send performance reports with GPT-4o-mini and Gmail
Workflow name
Analyze YouTube channels & send performance reports with GPT-4o-mini and Gmail

Analyze YouTube Channels & Email Actionable Insights with GPT-4o-mini, RapidAPI, and Gmail

Description

Automate YouTube channel analysis by fetching channel data, generating a key metrics table and actionable insights using Azure OpenAI (GPT-4o-mini), and delivering the results via email. Integrates YouTube Data API (RapidAPI), Google Sheets, and Gmail/SMTP for seamless reporting.

What This Template Does

  • Fetches YouTube channel IDs from a Google Sheet.
  • Extracts detailed channel data using the YouTube Data API (RapidAPI).
  • Processes and structures channel metrics for analysis.
  • Generates a key metrics table and actionable insights using Azure OpenAI (GPT-4o-mini).
  • Delivers a professional HTML report to your email.

Key Benefits

  • Saves time with automated channel performance analysis.
  • Delivers clear, actionable insights in a mobile-friendly email.
  • Enables no-code customization for different channels or recipients.
  • Supports multi-channel batch processing.
  • Ensures secure handling of credentials and sensitive data.

Features

  • YouTube channel data extraction via RapidAPI.
  • Google Sheets integration for channel management.
  • AI-powered analysis with Azure OpenAI (GPT-4o-mini).
  • Professional HTML email reports with channel links.
  • Node renaming for workflow clarity.
  • Batch processing for multiple channels.

Requirements

  • n8n instance (cloud or self-hosted).
  • YouTube Data API access via RapidAPI (API key stored in n8n credentials).
  • Azure OpenAI account with GPT-4o-mini deployed (API key in n8n credentials).
  • Gmail or SMTP email account connected in n8n credentials for report delivery.
  • Google Sheets integration (OAuth2 credentials) for reading channel IDs.
  • All credentials must be securely managed in n8n.

Target Audience

  • YouTube creators seeking data-driven channel insights.
  • Digital marketers optimizing content strategies.
  • Agencies managing multiple client channels.
  • Content strategists and analytics teams.
  • Operations teams automating reporting workflows.

Step-by-Step Setup Instructions (Concise)

  • Enable YouTube Data API (RapidAPI) and add the API key in n8n Credentials.
  • Deploy GPT-4o-mini in Azure OpenAI and add credentials in n8n.
  • Connect your Gmail/SMTP account in n8n Credentials and authorize sending.
  • Import the workflow, assign credentials to each node, and replace placeholders.
  • Rename the email node to “Deliver YouTube Report via Gmail” for clarity.
  • Run once to test, then schedule as needed.

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 - Sending report via email

Type / Role
n8n-nodes-base.emailSend - emailSend
Config choices
Version 2.1

Block 2 - Creating Email

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

Block 3 - Creating Analysis

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.1

Block 4 - Formatting Data

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

Block 5 - Sticky Note9

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

Block 6 - Sticky Note8

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

Block 7 - Sticky Note7

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

Block 8 - Sticky Note6

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

Block 9 - Sticky Note5

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

Block 10 - Sticky Note4

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

Block 11 - Sticky Note3

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 Note1

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

Block 14 - Sticky Note

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

Block 15 - Loop Over Items

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

Block 16 - Comments segergation

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

Block 17 - Azure OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatAzureOpenAi - lmChatAzureOpenAi
Config choices
Version 1

Block 18 - Content extraction

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

Block 19 - Get row(s) in sheet

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

Block 20 - When clicking ‘Execute workflow’

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

3. Summary Table

Workflow Analyze YouTube channels & send performance reports with GPT-4o-mini and Gmail
Complexity advanced
Nodes 20
Categories Market Research, AI Summarization
Author Rahul Joshi
Published 02 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8167/8167.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 Analyze YouTube channels & send performance reports with GPT-4o-mini and Gmail do?

Analyze YouTube Channels & Email Actionable Insights with GPT 4o mini, RapidAPI, and Gmail Description Automate YouTube channel analysis by fetching channel data, generating a key metrics table and...

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, AI Summarization use case.