🎯 Automate YouTube video SEO tagging with GPT and Slack notifications

⚡ 672 views · 🎯 AI Summarization & Classification

💡 Pro Tip — YouTube’s API quotas can be a bottleneck when you’re pulling data at scale. ScraperNode is a community node with dedicated scrapers for channels, videos, and comments — no quota limits, just structured data.

View All Scrapers

Description

AI-Powered YouTube Auto-Tagging Workflow (SEO Automation)

Watch the demo video below:

Watch the video > Supercharge your YouTube SEO with this AI-powered workflow that automatically generates and applies smart, SEO friendly tags to your new videos every week. No more manual tagging, just better discoverability, improved reach, and consistent optimization. Plus, get instant Slack notifications so your team stays updated on every video’s SEO boost.

Who’s it for

How it works / What it does

  1. Weekly Schedule Trigger
    Runs the workflow once per week.

  2. Get all videos uploaded last week
    Queries YouTube for videos uploaded by the channel in the past 7 days.

  3. Get video detail
    Retrieves each video’s title, description, and ID.

  4. YouTube Video Auto Tagging Agent (LLM)

    • Inputs: video.title, video.description, channelName.
    • Uses a SEO-specialist system prompt to generate 15–20 relevant, comma-separated tags.
  5. Update video with AI-generated tags
    Writes the tags back to the video via YouTube Data API.

  6. Inform via Slack message
    Posts a confirmation message (video title + ID + tags) to a chosen Slack channel for visibility.

How to set up

  1. YouTube connection

    • Create a Google Cloud project and enable YouTube Data API v3.
    • Configure OAuth client (Web app / Desktop as required).
    • Authorize with the Google account that manages the channel.
    • In your automation platform, add the YouTube credential and grant scopes (see Requirements).
  2. Slack connection

    • Create or use an existing Slack app/bot.
    • Install to your workspace and capture the Bot Token.
    • Add the Slack credential in your automation platform.
  3. LLM / Chat Model

    • Select your model (e.g., OpenAI GPT).
    • Paste the System Prompt (SEO expert) and the User Prompt template:
      • Inputs: {{video_title}}, {{video_description}}, {{channel_name}}.
      • Output: comma-separated list of 15–20 tags (no #, no duplicates).
  4. Node configuration

    • Weekly Schedule Trigger: choose day/time (e.g., Mondays 09:00 local).
    • Get all videos uploaded last week: date filter = now() - 7 days.
    • Get video detail: map each video ID from previous node.
    • Agent node: map fields to the prompt variables.
    • Update video: map the agent’s tag string to the YouTube tags field.
    • Slack message:
      The video "*{{video_title}} - {{video_id}}*" has been auto-tagged successfully.
      Tags: {{tags}}
  5. Test run

    • Manually run the workflow with one recent video.
    • Verify the tags appear in YouTube Studio and the Slack message posts.

Requirements

APIs & Scopes

Platform

Rate limits & quotas

How to customize the workflow

Tip: Keep a small allow/deny list (e.g., banned terms, mandatory brand terms) and run a quick sanitizer right after the agent node to maintain consistency across your channel.

đź”— Nodes Used

Slack, Telegram, YouTube, Schedule Trigger, AI Agent, OpenAI Chat Model

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup