YouTube Shorts + カスタムMCPサーバー

上級

これはDesign, Building Blocks, AI分野の自動化ワークフローで、43個のノードを含みます。主にIf, Set, Wait, YouTube, Aggregateなどのノードを使用、AI技術を活用したスマート自動化を実現。 OpenAIを使用してMCPサーバー経由でRedditコンテンツから自動のにYouTube Shortsを生成

前提条件
  • ターゲットAPIの認証情報が必要な場合あり
  • OpenAI API Key
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "id": "4JO672cSBR899QX3",
  "meta": {
    "instanceId": "636db6b6ab21a21c6458e2137f340e33dc3e49f5a1c560c8d1e2372c227cf40e",
    "templateCredsSetupCompleted": true
  },
  "name": " Youtube shorts + custom MCP server",
  "tags": [],
  "nodes": [
    {
      "id": "9194d540-0ab4-4270-b107-ef69ecd2edee",
      "name": "OpenAI チャットモデル",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        140,
        280
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "631009fb-bf8c-4de7-8888-af0206089c37",
      "name": "MCP Client",
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "position": [
        300,
        400
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "169ba7fb-a9ca-4066-9592-5ea29b2487d4",
      "name": "集計",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        -140,
        20
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "4809d849-ad08-4678-aa75-843cfc1fc471",
      "name": "待機",
      "type": "n8n-nodes-base.wait",
      "position": [
        780,
        0
      ],
      "webhookId": "fe4501f9-3334-4fc8-b3dd-83ea0ebb14a2",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "5b1b24bd-b484-4e1b-a8d7-31854f338be8",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        1220,
        0
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "c3fd71b2-5ac5-4ade-b11d-e253fb083a2e",
      "name": "構造化出力パーサー",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        440,
        220
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "d98e04bd-653a-4fed-a25e-c15e8a3b64ff",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -840,
        -340
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c25a381c-6af5-46e7-8e46-1aeae7a249d8",
      "name": "Download the video",
      "type": "n8n-nodes-base.httpRequest",
      "disabled": true,
      "position": [
        1580,
        -100
      ],
      "parameters": {},
      "retryOnFail": false,
      "typeVersion": 4.2,
      "alwaysOutputData": false
    },
    {
      "id": "d03f0f27-bcf4-4095-acd5-89ec16a6bf17",
      "name": "Share on YouTube",
      "type": "n8n-nodes-base.youTube",
      "disabled": true,
      "position": [
        1820,
        -100
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "ce7d878e-95ad-4379-8b33-521e8604216c",
      "name": "クリック時 ‘Test workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -820,
        20
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "c863d2cd-1e39-49c7-902e-7e2777cfc52f",
      "name": "Generate video",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        220,
        0
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "c19e8e76-1a26-44f8-99b7-8a8141616f63",
      "name": "Check video status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1000,
        0
      ],
      "parameters": {},
      "retryOnFail": false,
      "typeVersion": 4.2,
      "alwaysOutputData": false
    },
    {
      "id": "f5d16a40-2011-43d8-9f22-764702c043ed",
      "name": "Map fields",
      "type": "n8n-nodes-base.set",
      "position": [
        -340,
        20
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "b6591020-b3f6-4b12-98ae-bf7b8b232efa",
      "name": "Get top weekly posts",
      "type": "n8n-nodes-base.rssFeedRead",
      "position": [
        -560,
        20
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "f24f65a7-a9c6-4662-93ad-eab824be6f9e",
      "name": "OpenAI チャットモデル1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        140,
        1260
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "1dcda2d7-e65f-4d59-86aa-58d6f57105e1",
      "name": "MCP Client1",
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "position": [
        300,
        1380
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "03fc4379-228f-4ec2-8573-6fb14a780073",
      "name": "集計1",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        -140,
        1000
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f01ce179-5cb4-421b-983a-e13a17122efa",
      "name": "待機1",
      "type": "n8n-nodes-base.wait",
      "position": [
        780,
        980
      ],
      "webhookId": "fe4501f9-3334-4fc8-b3dd-83ea0ebb14a2",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "7dfc6e8e-5dd0-4578-a54a-f4fbc85e2a7a",
      "name": "If1",
      "type": "n8n-nodes-base.if",
      "position": [
        1220,
        980
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "da4806e7-5c71-4299-9c04-1fdeec14c5a5",
      "name": "構造化出力パーサー1",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        440,
        1200
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "6d662051-eb85-432e-8f5a-70850e9e9725",
      "name": "Download the video1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1580,
        880
      ],
      "parameters": {},
      "retryOnFail": false,
      "typeVersion": 4.2,
      "alwaysOutputData": false
    },
    {
      "id": "2de52cb2-a5fa-424c-9bdb-601b30907d01",
      "name": "Share on YouTube1",
      "type": "n8n-nodes-base.youTube",
      "position": [
        1820,
        880
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "77712771-a33b-409e-9b8f-7c3ae8f5fcdb",
      "name": "Generate video1",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        220,
        980
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "97e3fa58-d1be-45a7-a5ef-50a9490cf998",
      "name": "Check video status1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1000,
        980
      ],
      "parameters": {},
      "retryOnFail": false,
      "typeVersion": 4.2,
      "alwaysOutputData": false
    },
    {
      "id": "bbd9930a-5ae9-4540-a80f-6688192438f5",
      "name": "Map fields1",
      "type": "n8n-nodes-base.set",
      "position": [
        -340,
        1000
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "bbb302de-89ea-4253-9497-3f26c7eaafeb",
      "name": "Get top weekly posts1",
      "type": "n8n-nodes-base.rssFeedRead",
      "position": [
        -560,
        1000
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "ef8eb587-e1bd-4ca9-a132-125b38cc9b7e",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -860,
        600
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "623953f3-791a-4840-bea6-1fc10946aed7",
      "name": "OpenAI チャットモデル2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        100,
        2320
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "06d7642a-19f9-4ac3-b4f9-93f6f952fa26",
      "name": "MCP Client2",
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "position": [
        260,
        2440
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "b7ce3ee6-c309-424c-89ad-5e65c61ae7b1",
      "name": "集計2",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        -180,
        2060
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "2ac82e10-c64a-4994-943a-c7ddb8bbc378",
      "name": "待機2",
      "type": "n8n-nodes-base.wait",
      "position": [
        740,
        2040
      ],
      "webhookId": "fe4501f9-3334-4fc8-b3dd-83ea0ebb14a2",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "3b45856a-72a5-4668-a2e5-efe7fe491fd4",
      "name": "If2",
      "type": "n8n-nodes-base.if",
      "position": [
        1180,
        2040
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "01ad80af-c90a-4102-84a6-dc5c023591e8",
      "name": "構造化出力パーサー2",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        400,
        2260
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "36607337-b0aa-4d69-ad2c-4b4ae845d889",
      "name": "Download the video2",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1540,
        1940
      ],
      "parameters": {},
      "retryOnFail": false,
      "typeVersion": 4.2,
      "alwaysOutputData": false
    },
    {
      "id": "5f976cb3-d511-49f5-97d7-2f14635b10e3",
      "name": "Share on YouTube2",
      "type": "n8n-nodes-base.youTube",
      "position": [
        1780,
        1940
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "14c3111c-0c76-4139-a8e8-7f2f38b50d40",
      "name": "Generate video2",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        180,
        2040
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "d2ca10fa-5e96-4b1d-b13d-cf3df06e373c",
      "name": "Check video status2",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        960,
        2040
      ],
      "parameters": {},
      "retryOnFail": false,
      "typeVersion": 4.2,
      "alwaysOutputData": false
    },
    {
      "id": "3f0fff1e-b16f-4a82-be42-38b8d331090f",
      "name": "Map fields2",
      "type": "n8n-nodes-base.set",
      "position": [
        -380,
        2060
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "a7e082d4-44cc-4364-bc1a-b135eb626358",
      "name": "Get top weekly posts2",
      "type": "n8n-nodes-base.rssFeedRead",
      "position": [
        -600,
        2060
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "801786e2-65d5-424e-96b5-d8b3c79f1ed3",
      "name": "付箋2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -900,
        1660
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c5e53c76-0795-4350-9e83-03bb23bb4b04",
      "name": "付箋4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2100,
        -140
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "4a020e02-0c5a-42e7-b217-fc76d2171bae",
      "name": "付箋5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -840,
        -580
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "5423e146-e8ec-4cd4-8040-b9596eac6d29",
      "name": "付箋6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        20,
        -1300
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "3ff9066f-3233-4034-ae35-34de1ac0b39c",
  "connections": {
    "5b1b24bd-b484-4e1b-a8d7-31854f338be8": {
      "main": [
        [
          {
            "node": "c25a381c-6af5-46e7-8e46-1aeae7a249d8",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "7dfc6e8e-5dd0-4578-a54a-f4fbc85e2a7a": {
      "main": [
        [
          {
            "node": "6d662051-eb85-432e-8f5a-70850e9e9725",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3b45856a-72a5-4668-a2e5-efe7fe491fd4": {
      "main": [
        [
          {
            "node": "36607337-b0aa-4d69-ad2c-4b4ae845d889",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "c19e8e76-1a26-44f8-99b7-8a8141616f63",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait1": {
      "main": [
        [
          {
            "node": "97e3fa58-d1be-45a7-a5ef-50a9490cf998",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait2": {
      "main": [
        [
          {
            "node": "d2ca10fa-5e96-4b1d-b13d-cf3df06e373c",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "c863d2cd-1e39-49c7-902e-7e2777cfc52f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate1": {
      "main": [
        [
          {
            "node": "77712771-a33b-409e-9b8f-7c3ae8f5fcdb",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate2": {
      "main": [
        [
          {
            "node": "14c3111c-0c76-4139-a8e8-7f2f38b50d40",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "631009fb-bf8c-4de7-8888-af0206089c37": {
      "ai_tool": [
        [
          {
            "node": "c863d2cd-1e39-49c7-902e-7e2777cfc52f",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "f5d16a40-2011-43d8-9f22-764702c043ed": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "1dcda2d7-e65f-4d59-86aa-58d6f57105e1": {
      "ai_tool": [
        [
          {
            "node": "77712771-a33b-409e-9b8f-7c3ae8f5fcdb",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "06d7642a-19f9-4ac3-b4f9-93f6f952fa26": {
      "ai_tool": [
        [
          {
            "node": "14c3111c-0c76-4139-a8e8-7f2f38b50d40",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "bbd9930a-5ae9-4540-a80f-6688192438f5": {
      "main": [
        [
          {
            "node": "Aggregate1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "3f0fff1e-b16f-4a82-be42-38b8d331090f": {
      "main": [
        [
          {
            "node": "Aggregate2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c863d2cd-1e39-49c7-902e-7e2777cfc52f": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "77712771-a33b-409e-9b8f-7c3ae8f5fcdb": {
      "main": [
        [
          {
            "node": "Wait1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "14c3111c-0c76-4139-a8e8-7f2f38b50d40": {
      "main": [
        [
          {
            "node": "Wait2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "c863d2cd-1e39-49c7-902e-7e2777cfc52f",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "c19e8e76-1a26-44f8-99b7-8a8141616f63": {
      "main": [
        [
          {
            "node": "5b1b24bd-b484-4e1b-a8d7-31854f338be8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c25a381c-6af5-46e7-8e46-1aeae7a249d8": {
      "main": [
        [
          {
            "node": "d03f0f27-bcf4-4095-acd5-89ec16a6bf17",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "77712771-a33b-409e-9b8f-7c3ae8f5fcdb",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "14c3111c-0c76-4139-a8e8-7f2f38b50d40",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "97e3fa58-d1be-45a7-a5ef-50a9490cf998": {
      "main": [
        [
          {
            "node": "7dfc6e8e-5dd0-4578-a54a-f4fbc85e2a7a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d2ca10fa-5e96-4b1d-b13d-cf3df06e373c": {
      "main": [
        [
          {
            "node": "3b45856a-72a5-4668-a2e5-efe7fe491fd4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6d662051-eb85-432e-8f5a-70850e9e9725": {
      "main": [
        [
          {
            "node": "2de52cb2-a5fa-424c-9bdb-601b30907d01",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "36607337-b0aa-4d69-ad2c-4b4ae845d889": {
      "main": [
        [
          {
            "node": "5f976cb3-d511-49f5-97d7-2f14635b10e3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b6591020-b3f6-4b12-98ae-bf7b8b232efa": {
      "main": [
        [
          {
            "node": "f5d16a40-2011-43d8-9f22-764702c043ed",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "bbb302de-89ea-4253-9497-3f26c7eaafeb": {
      "main": [
        [
          {
            "node": "bbd9930a-5ae9-4540-a80f-6688192438f5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a7e082d4-44cc-4364-bc1a-b135eb626358": {
      "main": [
        [
          {
            "node": "3f0fff1e-b16f-4a82-be42-38b8d331090f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "c863d2cd-1e39-49c7-902e-7e2777cfc52f",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser1": {
      "ai_outputParser": [
        [
          {
            "node": "77712771-a33b-409e-9b8f-7c3ae8f5fcdb",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser2": {
      "ai_outputParser": [
        [
          {
            "node": "14c3111c-0c76-4139-a8e8-7f2f38b50d40",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Test workflow’": {
      "main": [
        [
          {
            "node": "b6591020-b3f6-4b12-98ae-bf7b8b232efa",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

このワークフローの使い方は?

上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。

このワークフローはどんな場面に適していますか?

上級 - デザイン, ビルディングブロック, 人工知能

有料ですか?

このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。

ワークフロー情報
難易度
上級
ノード数43
カテゴリー3
ノードタイプ13
難易度説明

上級者向け、16ノード以上の複雑なワークフロー

作成者
jolonbankey

jolonbankey

@jolonbankey

automation consultant with over 5 years experience helping sales and marketing teams to streamline their processes

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34