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…
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.
Chat message
It starts when you paste a link in n8n’s chat:
An eight-part report on the video and its viewers, in your inbox
What you need before you start.
Video data
Returns the video’s title, description, tags and statistics, and every page of its top-level comments.
NeedsYouTube Data API key
Report writer
Runs gpt-4o-mini for the agent that reads the details and the comments and writes the report.
NeedsOpenAI API key
Sends the report as an HTML email to the address you set.
NeedsGmail OAuth2 credential, and a recipient address
Checked by Mindket on 13 Nov 2026
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.
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.
| 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. |
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.
Gmail ReportGet it saves a zip with workflow.json and Mindket’s setup notes in your downloads folder. Its author puts setup at about 13 minutes.
| 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 |
workflow.json.Workflow Variables and replace YOUR_YOUTUBE_API_KEY in GOOGLE_API_KEY with your key.gpt-4o-mini.Gmail Report.YOUR_EMAIL_ADDRESS with the address that should get the report.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.
| 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 |
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
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.
| 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.
The YouTube key sits in the workflow as plain text, and a big comment section makes a long, costly prompt.
GOOGLE_API_KEY is a field in Workflow Variables, so anyone who can open or export the workflow can read itGet 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 backAn 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.
workflow.json: the workflow as n8n exports it, 19 nodes. Four of them are sticky notes. It holds no credential.Get Video ID code had lost its backslashes, so its fallback pattern for links itYOUR_YOUTUBE_API_KEY and YOUR_EMAIL_ADDRESS.README.md: these notes.workflow.json.Workflow Variables and put your YouTube key in GOOGLE_API_KEY, in place of YOUR_YOUTUBE_API_KEY.gpt-4o-mini.Gmail Report. In the same node, replace YOUR_EMAIL_ADDRESS withThe 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.
gpt-4o-mini node.Gmail Report (the subject is YouTube Video Report).part list in the code of Create YouTube API URL.Markdown to HTML.Workflow Variables, not as a credential. Anyone who can open or exportMerge YouTube Details & Transcript joins the details with the comments. No transcript is fetched.README.md 3 KB workflow.json 19 KB
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…
Qwen · Kit
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…
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…
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…
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…
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…