Mindket

Emailed report on one YouTube video and its comments

Newversion 1 · updated

Overview

An n8n workflow that reports on one YouTube video. Paste its link in n8n’s chat, and it reads the video’s details and every top-level comment, then OpenAI writes an eight-part report on the audience and what to make next. Gmail sends it to you.

Emailed report on one YouTube video and its comments is an n8n workflow in the Marketing & SEO category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page or copy its JSON, then import it into an n8n canvas. Nothing runs until you activate it in n8n.

At a glance

Runs in
  • n8n Cloud or your own server: the same file and steps
  • n8n’s chat: where you paste each link
  • Your inbox: the report comes as an HTML email with the subject YouTube Video Report
  • Someone else’s inbox: put a colleague’s or a client’s address in Gmail Report

Platform

Connects 3 apps

How it works

Trigger

Chat message

It starts when you paste a link in n8n’s chat:

  • The address of a YouTube video

Actions

  1. Reads the video ID from the link
  2. Fetches the video’s details, and pages through every top-level comment
  3. Joins both into one item for an AI agent on gpt-4o-mini, which writes the report in Markdown
  4. Turns the report into HTML and emails it with Gmail

Result

An eight-part report on the video and its viewers, in your inbox

Integrations

What you need before you start.

YouTube

Video data

Returns the video’s title, description, tags and statistics, and every page of its top-level comments.

NeedsYouTube Data API key

OpenAI

Report writer

Runs gpt-4o-mini for the agent that reads the details and the comments and writes the report.

NeedsOpenAI API key

Gmail

Email

Sends the report as an HTML email to the address you set.

NeedsGmail OAuth2 credential, and a recipient address

Workflow check

Checked by Mindket on 13 Nov 2026

Steps
14 steps, starting on a chat message
AI
1 step calls an AI model: YouTube Video Report Agent
Sign-ins
Signs in to: Gmail, OpenAI and a web service
API keys
No API key is left in the file; 1 blank in it for your own key
Step types
Mindket’s checker reads all 11 of its step types

Read from the workflow’s file, not from a run.

About

What it is

This n8n workflow turns one YouTube video and its comments into a written report that lands in your inbox. You paste the video’s link in n8n’s chat. A Code node pulls the video ID out of it, and the work splits in two. One branch asks the YouTube Data API for the video’s details, from its title and tags to its statistics and topics, while the other reads every page of top-level comments. Both meet in one item, which an AI agent on gpt-4o-mini reads and writes up in Markdown. The last two nodes turn it into HTML and send it with Gmail.

  1. You paste a YouTube link in n8n’s chat
  2. The video ID is read from the link
  3. YouTube returns the video’s details and its comments
  4. An agent on gpt-4o-mini writes an eight-part report
  5. Gmail sends the report to your address

Who it suits

Creators who want to know what viewers said under a video, and strategists who report on channels for clients. It reads one video per run. Skip it if you want a view of a whole channel, or if the video has its comments turned off.

Who uses it, and how
IndustryWho uses itHow they use itExample
CreatorsYouTubers reviewing their own uploadsPaste the link a week after posting and read what viewers askedA tech creator learns which step of a tutorial confused people and films a follow-up.
AgenciesStrategists who report to clientsRun it on a client’s best video and forward the emailAn agency sends a client the report on last month’s most watched upload.
Competitor researchMarketing teamsPaste a rival’s video and read what its viewers wantA brand reads the requests under a rival’s launch video that nobody answered.
EducationCourse makersCollect the questions students leave under a lessonA tutor gathers the open questions from one lesson and answers them in the next.
Product teamsTeams with a product channelRead the feedback under a demoA product team reads the pain points the report lists under a feature demo.

Where to use it

Any n8n with a Gmail account it can send from. The video can be any public one, yours or a rival’s, because an API key reads public data only.

  • n8n Cloud or your own server: the same file and steps
  • n8n’s chat: where you paste each link
  • Your inbox: the report comes as an HTML email with the subject YouTube Video Report
  • Someone else’s inbox: put a colleague’s or a client’s address in Gmail Report

Setup

Get it saves a zip with workflow.json and Mindket’s setup notes in your downloads folder. Its author puts setup at about 13 minutes.

What you need first
NeedDetail
n8nOn n8n Cloud or on a server of your own
Google CloudAn API key for the YouTube Data API v3
OpenAIAn API key, for gpt-4o-mini
GmailA Google account n8n can send from, through a Gmail OAuth2 credential
  1. In n8n, create a workflow, open its menu, choose Import from File and pick workflow.json.
  2. Open Workflow Variables and replace YOUR_YOUTUBE_API_KEY in GOOGLE_API_KEY with your key.
  3. Add an OpenAI credential and select it in gpt-4o-mini.
  4. Add a Gmail OAuth2 credential and select it in Gmail Report.
  5. In the same node, replace YOUR_EMAIL_ADDRESS with the address that should get the report.
  6. Save, open the chat, paste a YouTube link and wait for the email.

How to use it

Paste a full YouTube link and nothing else, a youtube.com/watch?v= address or a short youtu.be one. The report comes by email, not in the chat. A video with thousands of comments takes longer, since every page is read before the agent starts.

What to change for a different result
To changeWhere
The report’s sectionsThe system message in YouTube Video Report Agent
ModelThe gpt-4o-mini node
Recipient and subjectGmail Report
Video fields readThe part list in the code of Create YouTube API URL

Example

Say you paste the link of a tutorial with 300 comments. The comment branch reads them in pages and joins them into one field. The agent gets that field with the video’s details, and the email follows the outline its system message sets:

1. Video Overview
2. Comment Analysis
3. Content Opportunities
4. Audience Profile
5. Actionable Recommendations
6. Keywords and Tags
7. Potential Collaborations
8. Detailed Suggestions for Similar Content

For newcomers and experts

If you are new. n8n draws a workflow as boxes joined by lines, and each box, a node, does one job. This one has 19, and four of them are sticky notes. An API key is the pass Google checks when the workflow asks for public videos and comments. It can read but cannot post or change anything. Send a short video with a few comments first, then open each node to see what it got.

For experts. The comment branch is a Code node that calls commentThreads with this.helpers.request and follows nextPageToken to the last page. It keeps each top-level comment’s textOriginal and nothing else. Replies, likes and dates never reach the agent, though its system message mentions them.

How the two branches meet
NodeWhat it does
Create YouTube API URLBuilds the videos call with snippet, contentDetails, status, statistics, player and topicDetails
Get Video Comments with PaginationReads every page of top-level comments into one list
Split Out Comments and Combine CommentsSplit that list, then join it into one field
Merge YouTube Details & TranscriptPairs the details with the comments by position. No transcript is fetched, whatever the name says
Create One JSON ObjectGathers both into data, which the agent reads as JSON text

The agent has no tools and no memory.

Good to know

The YouTube key sits in the workflow as plain text, and a big comment section makes a long, costly prompt.

  • The key: GOOGLE_API_KEY is a field in Workflow Variables, so anyone who can open or export the workflow can read it
  • Long threads: every comment goes to the model in one prompt, so a video with many thousands of comments can pass the model’s limit and fail
  • Quota: each page of comments is one YouTube call
  • Comments off: on a video with comments turned off, the comment call fails and the run stops there
  • Privacy: viewers’ comments go to OpenAI
  • The original copy: its Get Video ID code had lost its backslashes, so its fallback pattern could not compile and the node failed on every run. This one has them back
  • Credentials: the JSON holds none, and nothing from its author’s accounts

README and files

README

Emailed report on one YouTube video and its comments

An n8n workflow. Paste a YouTube link in n8n's chat, and it reads the video's details and all of its top-level
comments. An AI agent on gpt-4o-mini writes a report on the video and its viewers, and Gmail sends it to you.

What is inside

  • workflow.json: the workflow as n8n exports it, 19 nodes. Four of them are sticky notes. It holds no credential.
  • Changes to the original copy. Its Get Video ID code had lost its backslashes, so its fallback pattern for links it
    cannot parse could not compile and the node failed on every run. This copy has them back. The placeholders now read
    YOUR_YOUTUBE_API_KEY and YOUR_EMAIL_ADDRESS.
  • README.md: these notes.

Before you start

  • An n8n instance, on n8n Cloud or your own server.
  • A YouTube Data API v3 key from a Google Cloud project.
  • An OpenAI API key.
  • A Google account n8n can send mail from.

Set it up

  1. In n8n, create a workflow, open its menu and choose Import from File. Pick workflow.json.
  2. Open Workflow Variables and put your YouTube key in GOOGLE_API_KEY, in place of YOUR_YOUTUBE_API_KEY.
  3. Add an OpenAI credential and select it in gpt-4o-mini.
  4. Add a Gmail OAuth2 credential and select it in Gmail Report. In the same node, replace YOUR_EMAIL_ADDRESS with
    the address that should get the report.
  5. Save. Open the chat from the canvas, paste the link of a short video with a few comments, and check your inbox.

What the report covers

The system message of YouTube Video Report Agent sets eight sections: Video Overview, Comment Analysis, Content
Opportunities, Audience Profile, Actionable Recommendations, Keywords and Tags, Potential Collaborations, and Detailed
Suggestions for Similar Content. Edit that message to change them.

Change the look

  • Model: the gpt-4o-mini node.
  • Recipient and subject: Gmail Report (the subject is YouTube Video Report).
  • Video fields: the part list in the code of Create YouTube API URL.
  • Email layout: the Markdown the agent writes becomes HTML in Markdown to HTML.

Good to know

  • The YouTube key is stored as a plain field in Workflow Variables, not as a credential. Anyone who can open or export
    the workflow can read it.
  • Every page of comments is read and sent to the model in one prompt. A video with many thousands of comments can
    pass the model's limit.
  • Only the text of top-level comments is read: no replies, likes or dates.
  • On a video with comments turned off, the comment call fails and the run stops.
  • The node Merge YouTube Details & Transcript joins the details with the comments. No transcript is fetched.
Files
README.md  3 KB
workflow.json  19 KB

2 files, 22 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-03

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

anaksor-ocr

Sokheng · Kit

Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…

New

Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…

New

ACE-Step 1.5 XL SFT

ACE-Step · Kit

Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…

New

Similar in Marketing & SEO

See all in Marketing & SEO

Huashu Design

alchaincyf · Skill

Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…

New29.4k

Pixel Art XL

nerijs · Kit

A pixel art style add-on for Stable Diffusion XL that turns text prompts into pixel-style images, with an optional LCM LoRA for faster runs. For game makers, d…

New

Licon MSR for LTX-2.5

LiconStudio · Kit

Keeps characters, clothing, objects and backgrounds consistent in generated video by feeding the model up to five reference images. A LoRA for LTX-2.5 in Comfy…

New