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 studies what works on YouTube in your niche. Apify scrapes the top videos, OpenAI picks out title power words and thumbnail hooks and reads your own comments, and an agent writes three title and thumbnail ideas into Google Sheets.
YouTube niche research and video idea generator is an n8n workflow in the Marketing & SEO category, listed by Mindket. It is free. This is version 2, 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.
Form, weekly and daily
Three triggers start it: a form, a weekly schedule and a daily one. The form takes three channel addresses:
A spreadsheet of what works in your niche, your viewers’ comment themes and three new video ideas
What you need before you start.
Language and image models
Runs gpt-4.1-mini for the power words, the comment themes and the ideas, and chatgpt-4o-latest to read each thumbnail.
NeedsOpenAI API key
Spreadsheet
Keeps every result in five tabs and reads back the day’s rows for the idea step.
NeedsGoogle account with Sheets access, and a spreadsheet with the five tabs
YouTube scraping
Runs two actors through HTTP Request nodes: one lists a channel’s or a search’s videos, the other reads comments.
NeedsApify API token
Checked by Mindket on 13 Nov 2026
This n8n workflow studies what already works on YouTube in your niche, then writes three title and thumbnail ideas for your own channel. Three triggers start it. A form takes three competitor channels and records each one’s best recent videos. A weekly and a daily schedule search your niche’s keyword and record the top videos of the week. After the daily search, the workflow reads the comments on your own channel’s newest videos and hands everything to an AI agent. Apify fetches the YouTube data, OpenAI reads titles, thumbnails and comments, and Google Sheets keeps every result.
YouTube creators, and the strategists and agencies who plan videos for them. The ideas come from what is already winning in a niche, so it fits a channel that knows its subject and wants stronger titles and thumbnails. Skip it for a one-off look at a rival: the spreadsheet and the Apify token take longer to set up than three channels take to read by hand.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Creators and solo channels | YouTubers who plan their own videos | Let the daily run fill Ideation, and read it before planning the week | A woodworking creator opens the tab on Monday and picks one of the three ideas. |
| Agencies and freelancers | Video strategists | Send a client’s three rival channels through the form, one spreadsheet per client | A strategist runs a client’s rivals through the form and brings the rows to the planning call. |
| Brand and company channels | Social and content teams | Point Channel URL at the brand’s channel, so the ideas answer its own viewers | A software team learns from the comment themes which tutorials its viewers keep asking for. |
| Online courses | Teachers who publish on YouTube | Track which promises lead the top titles in the subject | A language teacher sees which promise words open the week’s most viewed lessons. |
| Research and analytics | Analysts who compare channels | Filter Niche Outliers by views and compare thumbnail notes across rivals | An analyst sorts three rivals’ best videos by views and reads what their thumbnails have in common. |
Any n8n that can reach Apify, OpenAI and Google will run it. The results land in a spreadsheet, where a team already works.
Append Ideas to send the three ideas onGet it saves a zip with workflow.json and Mindket’s setup notes in your downloads folder. Make the spreadsheet first, since six nodes point at it. Its author puts setup at about 13 minutes.
| Need | Detail |
|---|---|
| n8n | On n8n Cloud or on a server of your own |
| OpenAI | An API key. Eight nodes use it: five chat models and three thumbnail readers |
| Apify | An account and its API token, for the five HTTP Request nodes. No YouTube API key is involved |
| An account that can edit the spreadsheet, for a Google Sheets OAuth2 credential | |
| A spreadsheet | Five tabs, with the column names in row 1 of each |
| Tab | Columns |
|---|---|
Niche Outliers | Channel, Title, URL, Thumbnail, Views, Likes, Power Words, Thumbnail Analysis |
Broad Niche Weekly | Date, then the same eight |
Niche Daily | Date, then the same eight |
Comment Analysis | Date, Good, Bad, Do These Things |
Ideation | Date, Title 1, Thumbnail 1, Title 2, Thumbnail 2, Title 3, Thumbnail 3 |
workflow.json./d/ and /edit.YOUR_SHEET_ID with the ID. Each node finds its tab by name.OpenAI Chat Model nodes and in Analyze Thumbnails, Analyze Thumbnails1 and Analyze Thumbnails2.<YOUR_APIFY_TOKEN> in the Authorization header with your token. The brackets go too, so the header reads Bearer, a space and the token.Broad Niche and Niche, type the words to search for. The file ships with wordpress and n8n.Channel URL, enter your channel’s address. In Channel Description, replace the placeholder with a few sentences about the channel.Sundays and 6 am schedule nodes, save, send the form once from its test address, then press Publish.Open the form from On form submission and enter three channels from your niche. All three fields are required. The form starts only the first phase. The weekly and daily phases need no one: once the workflow is published they start on their own at the hours set in their schedule nodes, and each saves to its own tab.
| Phase | Starts when | What it saves |
|---|---|---|
| 1. Niche Outliers | Someone sends the form | Each channel’s best videos from the last six months, up to ten, with power words and a thumbnail note, in Niche Outliers |
| 2. Broad Niche Insights | Weekly, at 5 am | The five most viewed videos of the week for the Broad Niche search, analysed the same way, in Broad Niche Weekly |
| 3. Niche Insights | Daily, at 6 am | The same for the Niche search, in Niche Daily with today’s date |
| 4. Comment Analysis | Right after phase 3 | What viewers of your five newest videos like, dislike and ask for, in Comment Analysis |
| 5. Ideation | Right after phase 4 | Three title and thumbnail ideas built from today’s Niche Daily rows, in Ideation |
| To change | Where |
|---|---|
| Search words | The Broad Niche and Niche nodes |
| How many videos | maxResults in each Apify request, and the ten in Limit |
| How far back phase 1 looks | The six months in Filter |
| Comments read | maxComments in Get Comments, 30 per video |
| Tone of the ideas | The system message in Creative Agent |
You run a woodworking channel. You send the form three larger woodworking channels, set Niche to a search such as beginner woodworking, and fill in Channel URL and Channel Description. The next morning, Niche Daily holds five rows dated that day. Each row has a view count and one to three power words from the title, and a short note says why the thumbnail pulls the eye. Your viewers’ three lists are in Comment Analysis. The agent’s reply, saved in Ideation, has this shape:
{
"title_1": "…",
"thumbnail_1": "…",
"title_2": "…",
"thumbnail_2": "…",
"title_3": "…",
"thumbnail_3": "…"
}If you are new. n8n draws a workflow as boxes joined by lines, and each box, a node, does one job. This file has 48 of them, but five are sticky notes that only label the phases. A credential is a key n8n stores for you and hands to whichever node you select it in. Send the form first. Each node then shows what it received and sent, so a wrong key or a mistyped tab name shows up at once.
For experts. Two kinds of OpenAI model do the reading, and Apify does the fetching through two actors it names by ID in each request.
| Step | Model | What to know |
|---|---|---|
Title Analyzer, Title Analyzer1, Title Analyzer2 | gpt-4.1-mini | Each returns one to three power words and is told not to rewrite the title |
Analyze Thumbnails, Analyze Thumbnails1, Analyze Thumbnails2 | chatgpt-4o-latest, detail high | maxTokens cuts each note at 50 tokens, and the name is OpenAI’s moving alias |
Comment Analyzer | gpt-4.1-mini | A structured parser holds the reply to three lists: doing well, dislikes and requests |
Creative Agent | gpt-4.1-mini | Reads titles, power words, thumbnail notes, the viewers’ requests and your channel description, and a parser returns three pairs |
One actor lists videos for a search or a channel, and the other reads the comments of a video. Each request waits for its actor to finish, and the actor’s own page on Apify sets its price per result.
Every phase spends money on Apify and OpenAI, and the daily branch repeats work.
Niche Daily passes its five rows on, so Scrape Channel runs once per row and Get Comments once per video found. Switch on Execute Once in the settings of Channel URL to run phases 4 and 5 a single timeFilter keeps only videos from the last six months, so a quiet channel adds fewer than ten rowsAn n8n workflow that studies what works on YouTube in your niche and writes three title and thumbnail ideas for your own
channel.
workflow.json: the workflow as n8n exports it, 48 nodes. Five of them are sticky notes that label the phases. Itjoin calls that put a blank line betweenjoin("nn"). Mindket put \n\n back in each.README.md: these notes.Make one spreadsheet with these five tabs, named exactly as shown, and write the column names in row 1 of each.
| Tab | Columns |
|---|---|
| Niche Outliers | Channel, Title, URL, Thumbnail, Views, Likes, Power Words, Thumbnail Analysis |
| Broad Niche Weekly | Date, then the same eight |
| Niche Daily | Date, then the same eight |
| Comment Analysis | Date, Good, Bad, Do These Things |
| Ideation | Date, Title 1, Thumbnail 1, Title 2, Thumbnail 2, Title 3, Thumbnail 3 |
workflow.json./d/ and /edit.Niche Outliers Data, Broad Niche Weekly,Niche Daily, Comment Analysis, Get High Performers and Append Ideas), select the credential in each andYOUR_SHEET_ID with the ID. Each node finds its tab by name.OpenAI Chat Model nodes and in Analyze Thumbnails,Analyze Thumbnails1 and Analyze Thumbnails2.Channel Outliers, Scrape YT, Scrape YT1,Scrape Channel and Get Comments. In each one's Authorization header, replace <YOUR_APIFY_TOKEN> with yourBroad Niche and Niche, type the words the weekly and the daily search look up. The file ships withwordpress and n8n.Channel URL, replace https://www.youtube.com/@YOUR_CHANNEL with your own channel's address. InChannel Description, replace the placeholder with a few sentences about the channel: the idea step reads them.Sundays and 6 am. n8n uses its own time zone setting.On form submission with three channel addresses, then press| Phase | Starts when | What it saves |
|---|---|---|
| 1. Niche Outliers | Someone sends the form | Each channel's best videos from the last six months, up to ten, in Niche Outliers |
| 2. Broad Niche Insights | Weekly, at 5 am | The week's five most viewed videos for the Broad Niche search, in Broad Niche Weekly |
| 3. Niche Insights | Daily, at 6 am | The same for the Niche search, in Niche Daily with today's date |
| 4. Comment Analysis | Right after phase 3 | What viewers of your five newest videos like, dislike and ask for, in Comment Analysis |
| 5. Ideation | Right after phase 4 | Three title and thumbnail ideas from today's Niche Daily rows, in Ideation |
Every video gets one to three power words from its title (gpt-4.1-mini) and a thumbnail note (chatgpt-4o-latest,
cut at 50 tokens by maxTokens). The Apify nodes call two actors by the IDs in their addresses, one for videos and one
for comments, and wait for each to finish. Read the actors' pages on Apify for their price per result before you
publish the daily run.
Broad Niche and Niche.maxResults in each Apify request, and Limit (ten) in phase 1.Filter.maxComments in Get Comments (30 per video).Niche Daily passes its five rows on, so Scrape Channel runs once per row and Get Comments once per video found.Channel URL to run phases 4 and 5 a single time.Filter keeps only videos from the last six months, so a quiet channel adds fewer than ten rows.chatgpt-4o-latest is an alias OpenAI moves. If n8n's list no longer offers it, pick another vision model in theREADME.md 5 KB workflow.json 59 KB
Updated by Mindket to the current version of this kit.
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…