YouTube SEO 自动化
第 6 部分 · 案例 2.2 · ✍️ 内容运营
难度 🟡 中等 · 耗时 ~40 分钟 · 核心节点 YouTube API × AI Agent (JSON mode)
发了视频却懒得写优质 SEO?这个 workflow 每天扫一遍你的新上传视频,自动拉转录、用 AI 生成吸引点击的标题、含关键词的描述、标签数组、章节时间戳——一键更新到 YouTube。
- YouTuber 个人创作,每天有 1-2 条新视频,懒得手动写 SEO
- 教程类频道,章节时间戳能大幅提升完播率
- 团队批量管理多个频道
🔍 工作流连线图
Section titled “🔍 工作流连线图” ▦ workflow youtube-seo.workflow.json Lv.2
📋 关键节点
Section titled “📋 关键节点”YouTube - List Recent Videos
Section titled “YouTube - List Recent Videos” ⚙ yt-list.txt
Resource: Video
Operation: Search
Channel ID: <你的 channel ID>
Published After: ={{ $now.minus({days: 1}).toISO() }}
只取最近 24 小时上传的
Fetch Transcript
Section titled “Fetch Transcript”YouTube 节点本身不直接支持拉转录。用 HTTP Request 调 YouTube Captions API:
⚙ fetch-transcript.txt
Method: GET
URL: =https://www.googleapis.com/youtube/v3/captions?videoId={{ $json.id.videoId }}&part=snippet
Auth: OAuth2 (Google credentials)
SEO Generator (AI Agent)
Section titled “SEO Generator (AI Agent)” ⚙ seo-ai.txt
System Message:
你是 YouTube SEO 专家。读完转录后生成 JSON:
{
"title": "60 字内吸引点击的标题",
"description": "前 100 字含关键词的描述,后跟分段时间戳",
"tags": ["15 个 SEO 标签"],
"chapters": [{"time": "00:00", "title": "开场"}, ...]
}
只回 JSON。
挂载 OpenAI Chat Model:
Model: gpt-4o ← 用 gpt-4o 而非 mini(视频转录长,要更强模型)
Response Format: json_object
YouTube - Update Metadata
Section titled “YouTube - Update Metadata” ⚙ yt-update.txt
Operation: Update Video
Video ID: ={{ $('YouTube - List Recent Videos').item.json.id.videoId }}
Updates:
title: ={{ $json.title }}
description: ={{ $json.description }}
tags: ={{ $json.tags.join(',') }}
📥 一键复制 Workflow JSON
Section titled “📥 一键复制 Workflow JSON” 📋 youtube-seo.workflow.json