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…
An n8n workflow that answers the newest comments on a YouTube video you paste in n8n’s chat. OpenAI sorts each new comment into praise, a question or criticism, thanks the praise and answers questions from the video’s transcript. Supabase logs every comment and reply.
Auto-reply to YouTube comments by type, logged in Supabase 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:
Replies under your video’s newest comments, each one logged in Supabase
What you need before you start.
Comments
Reads the newest comments on the video and posts each reply as your channel.
NeedsYouTube OAuth2 credential for your channel
Labels and replies
Runs chatgpt-4o-latest to label each comment and to write the thank-you or the answer.
NeedsOpenAI API key
Comment log
Keeps each comment’s ID, text and reply in the YT_Comment table, so no comment is handled twice.
NeedsProject URL and service role key, and the YT_Comment table
Checked by Mindket on 13 Nov 2026
This n8n workflow replies to the newest comments on one of your YouTube videos. You paste the video’s link in n8n’s chat. It reads the five latest top-level comments and, in a second branch, fetches the video’s transcript from a service you name. Each comment is looked up in a Supabase table and skipped if it is there, while a new one is saved and then labelled by OpenAI as criticize, compliment or specificdoubt. Praise gets a thank-you. A question gets an answer drawn from the transcript, and criticism gets no reply. Every reply is posted under its comment and written back to that comment’s row.
Creators who get more questions under their videos than they can answer, and who accept replies that a model writes and posts under their channel’s name. Skip it if a person must read each reply before it goes up. Nothing in the file waits for approval.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Tutorial channels | Creators who teach software | Run it a few hours after posting so questions get answers from the transcript | A viewer asks which setting a step used, and the reply points to the step in the video. |
| Product channels | Companies that publish how-to videos | Keep answers tied to what the video shows | A software company answers setup questions under its feature videos. |
| Small channels | Solo creators | Thank every kind comment without typing each reply | A new upload gets a thank-you under each compliment. |
| Agencies | Community managers for client channels | Run one copy per client, each with its own Supabase project | An agency keeps a log of every reply it posted on a client’s channel. |
Any n8n signed in to the channel that owns the videos. Replies go out as that channel.
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. The transcript call had no address in the original copy, so this one holds https://YOUR_TRANSCRIPT_SERVICE_ADDRESS until you name a service.
| Need | Detail |
|---|---|
| n8n | On n8n Cloud or on a server of your own |
| YouTube | A YouTube OAuth2 credential for the channel that will reply, with the YouTube Data API v3 on in its Google Cloud project |
| OpenAI | An API key, used by three model nodes |
| Supabase | A project with a table named YT_Comment and three text columns: id_comment, comment and reply |
| A transcript service | An address that accepts the POST body of Get YouTube Transcript and answers with a transcript field |
workflow.json.Get Video Snippet, Comment Response and Comment Response1.gpt-4o-mini, gpt-4o-mini1 and gpt-4o-mini2.YT_Comment table in Supabase, add a Supabase credential with your project URL and service role key, and select it in the three Supabase nodes.Get YouTube Transcript, replace https://YOUR_TRANSCRIPT_SERVICE_ADDRESS with your service’s address, and change the body if your service expects another shape.The transcript call sends this body, with the video’s ID filled in. Cleanup transcript then reads transcript from the answer.
{
"startUrls": ["https://www.youtube.com/watch?v=<video ID>"],
"language": "Default",
"includeTimestamps": "No"
}Paste the link of one of your videos, a youtube.com/watch?v= address or a short youtu.be one. Each run handles the five newest top-level comments. A comment already in the table is skipped, so a later run picks up only what is new among the latest five.
| To change | Where |
|---|---|
| How many comments | maxResults in Get Video Snippet, 5 in the file |
| The labels | The prompt in Comment Classifier and the three rules in Switch |
| The tone of replies | The prompts in Compliment Reply and Specific Doubt Reply |
| What your channel covers | Comment Classifier says the channel is about artificial intelligence, so change that line |
| Filler cut from the transcript | The patterns in Cleanup transcript |
A viewer writes under a tutorial: “Which plan do I need for the API step?” The comment is new to the table. It is saved and sent to the classifier, which answers:
{ "out": "specificdoubt" }Specific Doubt Reply reads the comment with the cleaned transcript and writes an answer from what the video says. Comment Response1 posts it under the comment, and Update responce to Database writes it to the row’s reply column.
If you are new. n8n draws a workflow as boxes joined by lines, and each box, a node, does one job. This one has 26 nodes, among them a loop that takes one comment at a time. Supabase is a hosted database, used here as the list of comments already seen. A credential is a key n8n keeps for you. The YouTube one signs in as your channel, which is why the replies carry its name. Try it first on a video with only a few comments.
For experts. The classifier and both reply chains run chatgpt-4o-latest, though their model nodes are named gpt-4o-mini. A structured parser holds the classifier to {"out": "..."}.
| Step | Nodes | What happens |
|---|---|---|
| Seen before? | Get Database Value, then If | Looks up the comment’s ID in YT_Comment. A match goes to a no-op and back to the loop |
| Saved | Update comment to Database | Inserts the ID and the text before anything else |
| Labelled | Comment Classifier, then Switch | criticize goes to a no-op. The other two get replies |
| Answered | Compliment Reply, or Merge then Specific Doubt Reply | The question chain gets the cleaned transcript through Merge |
| Posted and logged | Comment Response or Comment Response1, then Update responce to Database | Posts to the comments endpoint with the comment as parent, then stores the reply’s text |
Cleanup transcript decodes HTML entities, drops filler words such as So, Now and Okay, and strips patterns for one channel’s usual greeting, sign-off and subscribe line.
Replies go out under your channel’s name, and no one checks them first.
Switch has no fallback, so a label outside the three leaves that comment unanswered and ends the loop thereMerge, so on your first run check that a second question also gets its answerGet Video ID and Cleanup transcript code had lost their backslashes, which stopped the first from compiling and made the second turn every letter s into a space. This one has them backAn n8n workflow. Paste the link of one of your YouTube videos in n8n's chat. It reads the five newest comments, has
OpenAI label each new one, thanks praise, answers questions from the video's transcript and posts the replies as your
channel. A Supabase table keeps every comment and reply, so none is handled twice.
workflow.json: the workflow as n8n exports it, 26 nodes. It holds no credential.Get Video ID code and its Cleanup transcript code had lost their backslashes:https://YOUR_TRANSCRIPT_SERVICE_ADDRESS.README.md: these notes.YT_Comment and three text columns: id_comment, comment and reply.workflow.json.Get Video Snippet, Comment Response and Comment Response1.gpt-4o-mini, gpt-4o-mini1 and gpt-4o-mini2.Get Database Value,Update comment to Database and Update responce to Database.Get YouTube Transcript.The original copy left this node's address empty. Yours receives this POST body, with the video's ID filled in:
{
"startUrls": ["https://www.youtube.com/watch?v=<video ID>"],
"language": "Default",
"includeTimestamps": "No"
}
Cleanup transcript reads the field transcript from the answer, so the service must return the text under that name.
Change the body in the node if your service expects another shape. Until the address is set, the run stops at this
node.
maxResults in Get Video Snippet (5).Comment Classifier, which describes a channel about artificial intelligence, and the threeSwitch (criticize, compliment, specificdoubt).Compliment Reply and Specific Doubt Reply.Switch has no fallback output. A label outside the three ends the loop at that comment.Merge. On your first run, check that a second question alsoREADME.md 4 KB workflow.json 24 KB
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…
op7418 · Skill
Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…
alirezarezvani · Skill
Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…
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…
nhathoangfoto · Kit
A LoRA for FLUX.2 Klein 9B that puts a character into the pose shown by a mannequin reference while keeping the character's face and style. For artists and des…