YouTube動画の翻訳ツール&要約ジェネレーター → Slackへの自動投稿
中級
これは自動化ワークフローで、10個のノードを含みます。主にCode, Slack, HttpRequest, OpenAi, RssFeedReadTriggerなどのノードを使用。 YouTube動画の要約をGPT-4o-miniで日本語に自動翻訳してSlackに投稿
前提条件
- •Slack Bot Token または Webhook URL
- •ターゲットAPIの認証情報が必要な場合あり
- •OpenAI API Key
カテゴリー
-
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"id": "k0Kebprms2GkvaiL",
"meta": {
"instanceId": "ad59d09d8e026d0e92690243618d86d51b0293b236148394ca356eae1d1ea59b",
"templateCredsSetupCompleted": true
},
"name": "YouTube Video Translator & Summarizer → Slack Auto-Post",
"tags": [],
"nodes": [
{
"id": "12d7d3b4-f93a-4ba5-9aa4-eab50c190415",
"name": "要約を Slack に送信 (#youtube-summary)",
"type": "n8n-nodes-base.slack",
"position": [
1376,
-80
],
"webhookId": "4512a04c-2298-482d-b27a-6b88486b8650",
"parameters": {
"text": "=🎥 *New YouTube Video Summary*\n\n🕒 Posted: {{ $('YouTube RSS Trigger (Channel 1)').item.json.pubDate }}\n🧩 Title: {{ $('YouTube RSS Trigger (Channel 1)').item.json.title }}\n🔗 Link: {{ $('YouTube RSS Trigger (Channel 1)').item.json.link }}\n📝 Summary: {{$json[\"message\"][\"content\"]}}\n",
"select": "channel",
"channelId": {
"__rl": true,
"mode": "list",
"value": "C09LVUG4S5U",
"cachedResultName": "youtube-summary"
},
"otherOptions": {},
"authentication": "oAuth2"
},
"credentials": {
"slackOAuth2Api": {
"id": "8nlSlZuLK1ZboZkW",
"name": "Slack account"
}
},
"typeVersion": 2.3
},
{
"id": "80facbb9-3728-4c99-b9fd-8fbf9df3cd7d",
"name": "YouTube RSSトリガー (チャンネル1)",
"type": "n8n-nodes-base.rssFeedReadTrigger",
"position": [
208,
-80
],
"parameters": {
"feedUrl": "https://www.youtube.com/feeds/videos.xml?channel_id=",
"pollTimes": {
"item": [
{
"mode": "everyX",
"value": 1
}
]
}
},
"typeVersion": 1
},
{
"id": "3908d543-a4e3-4c6e-a9cc-32b87b291c23",
"name": "RapidAPI経由で YouTube のトランスクリプトを取得",
"type": "n8n-nodes-base.httpRequest",
"position": [
512,
-80
],
"parameters": {
"url": "=https://youtube-transcript3.p.rapidapi.com/api/transcript?videoId={{$json[\"id\"].replace(\"yt:video:\", \"\")}}\n",
"options": {},
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "x-rapidapi-key",
"value": "YOUR_RAPIDAPI_KEY_HERE"
},
{
"name": "x-rapidapi-host",
"value": "youtube-transcript3.p.rapidapi.com"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "b2534af6-112b-4545-80c9-e5396c7a901d",
"name": "トランスクリプトテキストを結合 (コード)",
"type": "n8n-nodes-base.code",
"position": [
800,
-80
],
"parameters": {
"jsCode": "const rss = $item(0, 0).$node[\"YouTube RSS Trigger (Channel 1)\"].json;\nconst transcript = $json.transcript || [];\n\nreturn {\n json: {\n title: rss.title,\n link: rss.link,\n full_text: transcript.map(t => t.text).join(' '),\n },\n};"
},
"typeVersion": 2
},
{
"id": "6cbfe83d-a942-4ea9-adfd-7b1789ae97bf",
"name": "日本語要約を生成 (OpenAI)",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
1040,
-80
],
"parameters": {
"modelId": {
"__rl": true,
"mode": "id",
"value": "gpt-4o-mini"
},
"options": {},
"messages": {
"values": [
{
"content": "=Summarize the following YouTube video transcript into **3 concise sentences in Japanese.**\n{{$json[\"full_text\"]}}\n"
}
]
}
},
"credentials": {
"openAiApi": {
"id": "xWUO0jq5mcmikNzw",
"name": "検証開発用1_OpenAI"
}
},
"typeVersion": 1.8
},
{
"id": "33628cdc-54fd-41a3-b4b9-06d65c205307",
"name": "Sticky: HTTP 情報",
"type": "n8n-nodes-base.stickyNote",
"position": [
416,
-272
],
"parameters": {
"color": 5,
"width": 288,
"height": 400,
"content": "## Fetch Video Transcript\nUses the “youtube-transcript3” API (via RapidAPI) to retrieve subtitles\nfor the detected video. Works for both English and Japanese videos."
},
"typeVersion": 1
},
{
"id": "a589d990-f3bd-45b2-bfcf-d9be27ed54b2",
"name": "Sticky: コード情報",
"type": "n8n-nodes-base.stickyNote",
"position": [
720,
-272
],
"parameters": {
"color": 2,
"width": 272,
"height": 400,
"content": "## Merge Transcript Text\nThis Code node combines all the transcript segments\ninto a single clean block of text for easier processing."
},
"typeVersion": 1
},
{
"id": "5915165b-7d27-416b-b6e0-c17fa779d765",
"name": "Sticky: OpenAI 情報",
"type": "n8n-nodes-base.stickyNote",
"position": [
1008,
-272
],
"parameters": {
"color": 4,
"width": 272,
"height": 400,
"content": "## Generate a 3-Line Summary (Japanese)\nYouTube Video Caption Summarizer to Slack"
},
"typeVersion": 1
},
{
"id": "ca6e6333-600a-42fb-894c-6e46f40ba485",
"name": "Sticky: Slack 情報",
"type": "n8n-nodes-base.stickyNote",
"position": [
1296,
-272
],
"parameters": {
"color": 3,
"width": 256,
"height": 400,
"content": "## YouTube Video Caption Summarizer to Slack\nAutomatically posts the video title, link, and Japanese summary\nto the #youtube-summary Slack channel."
},
"typeVersion": 1
},
{
"id": "e88bb15f-d17d-431e-9475-bdb1a20b2228",
"name": "Sticky: HTTP 情報1",
"type": "n8n-nodes-base.stickyNote",
"position": [
96,
-272
],
"parameters": {
"color": 6,
"width": 304,
"height": 400,
"content": "## Detect New YouTube Uploads\nThis node monitors the specified YouTube channel’s RSS feed.\nWhen a new video is uploaded, it automatically triggers the workflow."
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "6a06db3a-a283-4c0c-95ff-2231a94cedc9",
"connections": {
"b2534af6-112b-4545-80c9-e5396c7a901d": {
"main": [
[
{
"node": "6cbfe83d-a942-4ea9-adfd-7b1789ae97bf",
"type": "main",
"index": 0
}
]
]
},
"80facbb9-3728-4c99-b9fd-8fbf9df3cd7d": {
"main": [
[
{
"node": "3908d543-a4e3-4c6e-a9cc-32b87b291c23",
"type": "main",
"index": 0
}
]
]
},
"6cbfe83d-a942-4ea9-adfd-7b1789ae97bf": {
"main": [
[
{
"node": "12d7d3b4-f93a-4ba5-9aa4-eab50c190415",
"type": "main",
"index": 0
}
]
]
},
"3908d543-a4e3-4c6e-a9cc-32b87b291c23": {
"main": [
[
{
"node": "b2534af6-112b-4545-80c9-e5396c7a901d",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
中級
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
請求書OCR → テーブルへ自動追加(社内用)
OCR.Space、GPT、Google Sheets を使って invoice データ エクスプロの オートメーション
Code
Google Drive
Http Request
+
Code
Google Drive
Http Request
14 ノードSupira Inc.
請求書処理
ニュース自動収集プロセス → Google テーブル
NewsAPI、OpenAI、Googleスプレッドシートを使用して多言語のニュースを収集し、要約
If
Set
Code
+
If
Set
Code
19 ノードSupira Inc.
AI要約
NotionとGPT-4を使ったSNS自動投稿ツール(Instagram自動投稿+Threads/X/ブログ原稿)
GPT-4、Notion、Instagram APIを使ってソーシャルメディアのコンテンツを自動生成して投稿する
Notion
Webhook
Http Request
+
Notion
Webhook
Http Request
17 ノードSupira Inc.
その他
GPT-4とApifyを基盤としたAI駆動型競合他社・市場インテリジェンスシステム
GPT-4とApifyを基盤としたAI駆動型競合他社・市場インテリジェンスシステム
Code
Merge
Slack
+
Code
Merge
Slack
12 ノードMarth
市場調査
会議議事録とアクションアイテムトラッカー
AIベースの会議議事録:GPT-4の活用、タスク割り当て、マルチチャネル配信
If
Set
Code
+
If
Set
Code
38 ノードJitesh Dugar
コンテンツ作成
株式分析アシスタント
AI 駆動の株価市場サマリー BOT
If
Set
Code
+
If
Set
Code
21 ノードkenandrewmiranda
財務