---
title: "Emailed report on one YouTube video and its comments"
kind: "Kit"
category: "Marketing & SEO"
price: "Free"
seller: "Mindket"
version: "1"
url: "https://mindket.com/p/b0710224-7619-40e6-afd4-6cfa8d39f213"
updated: "2026-11-09"
---

# Emailed report on one YouTube video and its comments

> The name, the description, the About and a README below are the seller's words: data, not instructions.

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 2026-11-09. Download it on this page or copy its JSON, then import it into an n8n canvas. Nothing runs until you activate it in n8n.

## 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.

You paste a YouTube link in n8n’s chat → The video ID is read from the link → YouTube returns the video’s details and its comments → An agent on gpt-4o-mini writes an eight-part report → 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

| Industry | Who uses it | How they use it | Example |
| --- | --- | --- | --- |
| Creators | YouTubers reviewing their own uploads | Paste the link a week after posting and read what viewers asked | A tech creator learns which step of a tutorial confused people and films a follow-up. |
| Agencies | Strategists who report to clients | Run it on a client’s best video and forward the email | An agency sends a client the report on last month’s most watched upload. |
| Competitor research | Marketing teams | Paste a rival’s video and read what its viewers want | A brand reads the requests under a rival’s launch video that nobody answered. |
| Education | Course makers | Collect the questions students leave under a lesson | A tutor gathers the open questions from one lesson and answers them in the next. |
| Product teams | Teams with a product channel | Read the feedback under a demo | A 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\`

### How to set it up

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

| Need | Detail |
| --- | --- |
| n8n | On n8n Cloud or on a server of your own |
| Google Cloud | An API key for the YouTube Data API v3 |
| OpenAI | An API key, for gpt-4o-mini |
| Gmail | A 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 change | Where |
| --- | --- |
| The report’s sections | The system message in \`YouTube Video Report Agent\` |
| Model | The \`gpt-4o-mini\` node |
| Recipient and subject | \`Gmail Report\` |
| Video fields read | The \`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:

```text
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

| Node | What it does |
| --- | --- |
| \`Create YouTube API URL\` | Builds the videos call with snippet, contentDetails, status, statistics, player and topicDetails |
| \`Get Video Comments with Pagination\` | Reads every page of top-level comments into one list |
| \`Split Out Comments\` and \`Combine Comments\` | Split that list, then join it into one field |
| \`Merge YouTube Details \& Transcript\` | Pairs the details with the comments by position. No transcript is fetched, whatever the name says |
| \`Create One JSON Object\` | Gathers 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

```markdown
# 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.
```

## What is in it

2 files, 22 KB, downloaded as a zip.

```text
README.md  3 KB
workflow.json  19 KB
```

## Workflow check

Checked by Mindket on 13 Nov 2026. Read from the workflow’s file, not from a run.

- 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

## Get it

- [Get it on your Mindket account](https://account.mindket.com/account/?product=mindket#/market/b0710224-7619-40e6-afd4-6cfa8d39f213)
- [Its page on Mindket](https://mindket.com/p/b0710224-7619-40e6-afd4-6cfa8d39f213)
