AI驱动的YouTube自动标签工作流(SEO自动化)
高级
这是一个AI Summarization, Multimodal AI领域的自动化工作流,包含 19 个节点。主要使用 Set, Slack, YouTube, Telegram, Agent 等节点。 使用GPT和Slack通知自动化YouTube视频SEO标签
前置要求
- •Slack Bot Token 或 Webhook URL
- •Telegram Bot Token
- •OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "iR5Qxsd2rQKs553F",
"meta": {
"instanceId": "4a2e6764ba7a6bc9890d9225f4b21d570ce88fc9bd57549c89057fcee58fed0f",
"templateCredsSetupCompleted": true
},
"name": "AI 驱动的 YouTube 自动标签工作流(SEO 自动化)",
"tags": [
{
"id": "yZoudEzYFVwawRWb",
"name": "youtube",
"createdAt": "2025-08-26T06:37:09.894Z",
"updatedAt": "2025-08-26T06:37:09.894Z"
}
],
"nodes": [
{
"id": "eeb9e588-5a0c-4f88-9816-73c7e1e084b2",
"name": "OpenAI 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
480,
192
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "PPSwAKeLQYgAPobT",
"name": "OpenAi account"
}
},
"typeVersion": 1.2
},
{
"id": "a18a582a-ba79-4e23-b39a-7e3d4f37f610",
"name": "YouTube 视频自动标签代理",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
384,
-32
],
"parameters": {
"text": "=Here is my YouTube video information:\n\nTitle: {{ $json.snippet.title }}\nDescription: {{ $json.snippet.description }}\nChannel Name: {{ $json.snippet.channelTitle }}\n\nPlease analyze this information and provide me with the most relevant and SEO-friendly tags (15–20, comma-separated). \nFocus on tags that increase reach, match viewer search intent, and balance between trending keywords and niche keywords. ",
"options": {
"systemMessage": "You are an expert YouTube SEO strategist. \nYour goal is to generate a list of highly relevant, diverse, and SEO-friendly tags for a YouTube video based on its title, description, and channel name. \nThe tags should:\n- Improve discoverability and ranking on YouTube search and recommendations\n- Cover both specific keywords (directly related to the video) and broader categories (general niche)\n- Include variations (short-tail and long-tail keywords)\n- Avoid duplicates, irrelevant terms, or hashtags (#)\n- Be limited to 15–20 tags, formatted as a clean comma-separated list\n- Prioritize high-search-intent keywords that align with the channel’s theme"
},
"promptType": "define"
},
"typeVersion": 2.1
},
{
"id": "a568f816-976c-476d-90ce-2e3833d5a53b",
"name": "每周计划触发器",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
-496,
-32
],
"parameters": {
"rule": {
"interval": [
{
"field": "weeks"
}
]
}
},
"typeVersion": 1.2
},
{
"id": "12932cab-a1c4-4703-8f3b-8acf297a50bf",
"name": "获取上周上传的所有视频",
"type": "n8n-nodes-base.youTube",
"position": [
-64,
-32
],
"parameters": {
"filters": {
"channelId": "={{ $json.Channel_Id }}",
"publishedAfter": "={{ $today.minus(1,'days') }}"
},
"options": {
"order": "date"
},
"resource": "video",
"returnAll": true
},
"credentials": {
"youTubeOAuth2Api": {
"id": "QCcCcX4vK4jmKpJz",
"name": "YouTube account"
}
},
"typeVersion": 1
},
{
"id": "d6cabd43-deb2-40ba-bd57-fea53b848f0a",
"name": "获取视频详情",
"type": "n8n-nodes-base.youTube",
"position": [
160,
-32
],
"parameters": {
"options": {},
"videoId": "={{ $json.id.videoId }}",
"resource": "video",
"operation": "get"
},
"credentials": {
"youTubeOAuth2Api": {
"id": "QCcCcX4vK4jmKpJz",
"name": "YouTube account"
}
},
"typeVersion": 1
},
{
"id": "5603be02-d036-4c04-91dc-a7f4bde972af",
"name": "使用 AI 生成的标签更新视频",
"type": "n8n-nodes-base.youTube",
"position": [
784,
-32
],
"parameters": {
"title": "={{ $('Get video detail').item.json.snippet.title }}",
"videoId": "={{ $('Get video detail').item.json.id }}",
"resource": "video",
"operation": "update",
"categoryId": "28",
"regionCode": "VN",
"updateFields": {
"tags": "={{ $json.output }}",
"description": "={{ $('Get video detail').item.json.snippet.description }}"
}
},
"credentials": {
"youTubeOAuth2Api": {
"id": "QCcCcX4vK4jmKpJz",
"name": "YouTube account"
}
},
"typeVersion": 1
},
{
"id": "0d30ce62-5c94-40ac-83cd-e3120c941c6a",
"name": "通过 Slack 消息通知",
"type": "n8n-nodes-base.slack",
"position": [
1216,
-144
],
"webhookId": "a9989356-6284-4bea-b16b-23ee6eb2c091",
"parameters": {
"text": "=The video ”{{ $json.snippet.title }} - {{ $json.id }}” has been auto-tagged successfully with the following tags: {{ $('Youtube Video Auto Tagging Agent').item.json.output }}",
"user": {
"__rl": true,
"mode": "username",
"value": "@trung.tran"
},
"select": "user",
"otherOptions": {},
"authentication": "oAuth2"
},
"credentials": {
"slackOAuth2Api": {
"id": "4JSKt9sIRV1KGswQ",
"name": "Slack account"
}
},
"typeVersion": 2.3
},
{
"id": "b443412b-03a0-4663-a6e8-72575fdafb50",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
1424,
-176
],
"parameters": {
"width": 688,
"height": 128,
"content": ""
},
"typeVersion": 1
},
{
"id": "9229f95f-88f4-45e0-b5aa-5365777a68d2",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
320,
-784
],
"parameters": {
"width": 608,
"height": 528,
"content": ""
},
"typeVersion": 1
},
{
"id": "baa0e76d-7a75-45df-a4c4-c7600a5b6617",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1760,
-1136
],
"parameters": {
"width": 1072,
"height": 2208,
"content": "# AI 驱动的 YouTube 自动标签工作流(SEO 自动化)"
},
"typeVersion": 1
},
{
"id": "d8d08371-f68e-4de2-b6f3-85c7ff34257b",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-576,
-192
],
"parameters": {
"height": 128,
"content": "### 1. 每周计划触发器"
},
"typeVersion": 1
},
{
"id": "ac946b30-3d0a-4e47-a925-ebe4957ce05d",
"name": "便签4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-336,
160
],
"parameters": {
"height": 128,
"content": "### 2. 获取上周上传的所有视频"
},
"typeVersion": 1
},
{
"id": "eb5de2fc-5469-44d1-b539-9d252f2ff08a",
"name": "便签5",
"type": "n8n-nodes-base.stickyNote",
"position": [
-128,
-176
],
"parameters": {
"height": 112,
"content": "### 3. 获取视频详情"
},
"typeVersion": 1
},
{
"id": "6a37b4aa-6f5a-4038-ba78-a0a34fbd14ef",
"name": "便签6",
"type": "n8n-nodes-base.stickyNote",
"position": [
192,
-224
],
"parameters": {
"content": "### 4. YouTube 视频自动标签代理"
},
"typeVersion": 1
},
{
"id": "5e5d6e85-c775-4922-ae93-aacbe6df8953",
"name": "便签7",
"type": "n8n-nodes-base.stickyNote",
"position": [
512,
160
],
"parameters": {
"height": 128,
"content": "### 5. 使用 AI 生成的标签更新视频"
},
"typeVersion": 1
},
{
"id": "dc46942f-1a90-479a-8101-878490739aa1",
"name": "便签8",
"type": "n8n-nodes-base.stickyNote",
"position": [
960,
-336
],
"parameters": {
"content": "### 6. 通过 Slack 消息通知"
},
"typeVersion": 1
},
{
"id": "29b62c5e-1ec2-4dde-a484-8c96d9a65116",
"name": "替代通知渠道",
"type": "n8n-nodes-base.telegram",
"disabled": true,
"position": [
1216,
176
],
"webhookId": "f98476d9-64e4-48b1-893f-b7d837aeceb1",
"parameters": {
"text": "=The video ”{{ $json.snippet.title }} - {{ $json.id }}” has been auto-tagged successfully with the following tags: {{ $('Youtube Video Auto Tagging Agent').item.json.output }}",
"chatId": "chat_id",
"additionalFields": {}
},
"credentials": {
"telegramApi": {
"id": "paNoPvnV5Wzt4Lhv",
"name": "Telegram account"
}
},
"typeVersion": 1.2
},
{
"id": "6bde2db5-e5c0-487f-b2fd-150369bc1236",
"name": "便签9",
"type": "n8n-nodes-base.stickyNote",
"position": [
992,
384
],
"parameters": {
"height": 80,
"content": "(可选)自定义此节点以通过 Telegram 发送消息,以防您不使用 Slack"
},
"typeVersion": 1
},
{
"id": "8cc6eb91-0f1c-4b92-bf75-e47889c4fa2c",
"name": "设置频道信息",
"type": "n8n-nodes-base.set",
"position": [
-272,
-32
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "4c3894aa-c248-4eac-a97c-9d44a9496964",
"name": "Channel_Id",
"type": "string",
"value": "UCOdDjEyCCUQECkzWHxTF5iw"
}
]
}
},
"typeVersion": 3.4
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "845e49ef-ae93-4b9a-9f52-087d5263821b",
"connections": {
"Get video detail": {
"main": [
[
{
"node": "Youtube Video Auto Tagging Agent",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "Youtube Video Auto Tagging Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Set Channel Information": {
"main": [
[
{
"node": "Get all videos uploaded last week",
"type": "main",
"index": 0
}
]
]
},
"Weekly Schedule Trigger": {
"main": [
[
{
"node": "Set Channel Information",
"type": "main",
"index": 0
}
]
]
},
"Alternative channel to inform": {
"main": [
[]
]
},
"Youtube Video Auto Tagging Agent": {
"main": [
[
{
"node": "Update video with AI generated tags",
"type": "main",
"index": 0
}
]
]
},
"Get all videos uploaded last week": {
"main": [
[
{
"node": "Get video detail",
"type": "main",
"index": 0
}
]
]
},
"Update video with AI generated tags": {
"main": [
[
{
"node": "Inform via slack message",
"type": "main",
"index": 0
},
{
"node": "Alternative channel to inform",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - AI 摘要总结, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
AWS 自动化 SSL/TLS 证书过期报告
使用 AWS ACM 和 AI 为 Slack 和邮件生成 SSL/TLS 证书过期报告
Set
Code
Slack
+8
23 节点Trung Tran
AI 摘要总结
Decodo爬虫API工作流模板(n8n自动化亚马逊图书购买报告)
使用Decodo爬虫和GPT 4.1 mini提取亚马逊图书数据并生成购买报告
Set
Code
Slack
+7
22 节点Trung Tran
AI 摘要总结
🎧 IT语音支持自动化机器人 – Telegram语音消息转JIRA工单(使用OpenAI Whisper)
通过Whisper和GPT-4.1 Mini将Telegram语音消息自动转换为JIRA工单
If
Set
Code
+11
25 节点Trung Tran
工单管理
SmartSupport流程:从邮件到Jira自动处理IT请求,附带Slack通知
通过AI解决方案和Slack提醒将邮件自动转换为Jira工单
If
Set
Jira
+10
25 节点Trung Tran
工单管理
多智能体架构免费入门模板
协作销售规划:多智能体AI、Google文档和Slack
Set
Slack
Google Drive
+6
24 节点Trung Tran
文档提取
n8n 中的免费 PDF 生成器 – 无需外部库或付费服务
使用 OpenAI、Google Docs 和 Slack 生成并分享专业 PDF
Set
Slack
Google Drive
+5
20 节点Trung Tran
文档提取
工作流信息
难度等级
高级
节点数量19
分类2
节点类型8
作者
Trung Tran
@trungtranEmpowering small and medium businesses with smart automation and practical AI, no big tech team required.
外部链接
在 n8n.io 查看 →
分享此工作流