Skip to main content

Automate YouTube video SEO tagging with GPT and Slack notifications

Workflow preview

Workflow preview
100%
Automate YouTube video SEO tagging with GPT and Slack notifications preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

AI Powered YouTube Auto Tagging Workflow (SEO Automation) Watch the demo video below: [![Watch the video](https://s3.ap southeast 1.amazonaws.com/automatewith.me/youtube auto SEO tagging with n8n w...

Best for

  • AI Summarization automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.scheduletrigger, n8n-nodes-base.youtube, n8n-nodes-base.slack, n8n-nodes-base.stickynote, n8n-nodes-base.telegram, n8n-nodes-base.set

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Trung Tran.

Original n8n.io source

1.1 Workflow description

Title
Automate YouTube video SEO tagging with GPT and Slack notifications
Workflow name
Automate YouTube video SEO tagging with GPT and Slack notifications

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

Watch the demo video below:

> 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

  • YouTube creators, channel admins, and marketing teams who publish regularly and want consistent, SEO-friendly tags without manual effort.
  • Agencies managing multiple channels who need an auditable, automated tagging process with Slack notifications.

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

  • YouTube Data API v3
    • youtube.readonly (to list videos / details)
    • youtube or youtube.force-ssl (to update video metadata incl. tags)
  • Slack Bot Token Scopes
    • chat:write (post messages)
    • channels:read or groups:read if selecting channels dynamically (optional)

Platform

  • Access to a chat/LLM provider (e.g., OpenAI).
  • Outbound HTTPS allowed.

Rate limits & quotas

  • YouTube updates consume quota; tag updates are write operations—avoid re-writing unchanged tags.
  • Add basic throttling (e.g., 1–2 updates/sec) if you process many videos.

How to customize the workflow

  • Schedule: switch to daily, or run on publish events instead of weekly.
  • Filtering: process only videos matching rules (e.g., title contains “tutorial”, or missing tags).
  • Prompt tuning:
    • Add brand keywords to always include (e.g., “WiseStack AI”).
    • Constrain to language (e.g., “Vietnamese tags only”).
    • Enforce max 500 chars total for tags if you want a stricter cap.
  • Safety guardrails:
    • Validate model output: split by comma, trim whitespace, dedupe, drop empty/over-long tags.
    • If the agent fails, fall back to a heuristic generator (title/keywords extraction).
  • Change log: write a row per update to a sheet/DB (videoId, oldTags, newTags, timestamp, runId).
  • Human-in-the-loop: send tags to Slack as buttons (“Apply / Edit / Skip”) before updating YouTube.
  • Multi-channel support: loop through a list of channel credentials and repeat the pipeline.
  • Notifications: add error Slack messages for failed API calls; summarize weekly results.

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.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 2 - Youtube Video Auto Tagging Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2.1

Block 3 - Weekly Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 4 - Get all videos uploaded last week

Type / Role
n8n-nodes-base.youTube - youTube
Config choices
Version 1

Block 5 - Get video detail

Type / Role
n8n-nodes-base.youTube - youTube
Config choices
Version 1

Block 6 - Update video with AI generated tags

Type / Role
n8n-nodes-base.youTube - youTube
Config choices
Version 1

Block 7 - Inform via slack message

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.3

Block 8 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Alternative channel to inform

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 18 - Sticky Note9

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Set Channel Information

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

3. Summary Table

Workflow Automate YouTube video SEO tagging with GPT and Slack notifications
Complexity advanced
Nodes 19
Categories AI Summarization, Multimodal AI
Author Trung Tran
Published 26 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7881/7881.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automate YouTube video SEO tagging with GPT and Slack notifications do?

AI Powered YouTube Auto Tagging Workflow (SEO Automation) Watch the demo video below: [![Watch the video](https://s3.ap southeast 1.amazonaws.com/automatewith.me/youtube auto SEO tagging with n8n w...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your AI Summarization, Multimodal AI use case.