SearchAPIを使ってYouTube動画の要約を取得

中級

これはAI, Marketing分野の自動化ワークフローで、9個のノードを含みます。主にSearchApi, SplitOut, Summarize, ManualTrigger, LmChatOpenRouterなどのノードを使用、AI技術を活用したスマート自動化を実現。 SearchAPIで文字起こしとLLMを使ってYouTube動画のまとめを生成する

前提条件
  • AIサービスAPIキー(OpenAI、Anthropicなど)
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "id": "RPlqIyKOfS4uviYK",
  "meta": {
    "instanceId": "54299f860163fe60974599588ae4c20ee888191a431346b258503c2db8b536ed",
    "templateCredsSetupCompleted": true
  },
  "name": "Get Youtube Video Summary Using Searchapi",
  "tags": [],
  "nodes": [
    {
      "id": "4c889838-9062-4797-9b40-e966a3d1d1d4",
      "name": "ワークフローをテストクリック時",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -160,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "3df790f2-4c6d-47d2-9b88-7967eb3bb78f",
      "name": "SearchAPI",
      "type": "CUSTOM.searchApi",
      "position": [
        60,
        0
      ],
      "parameters": {
        "engine": "youtube_transcripts",
        "parameters": {
          "parameter": [
            {
              "name": "video_id",
              "value": "2XTdEG0Sus0"
            },
            {
              "name": "lang",
              "value": "en"
            }
          ]
        },
        "requestOptions": {}
      },
      "credentials": {
        "searchApi": {
          "id": "rTFvdffzP7fPVaVr",
          "name": "SearchAPI account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "f5a5352b-07d7-4fff-b5c2-2512cabd3497",
      "name": "OpenRouter Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        748,
        220
      ],
      "parameters": {
        "model": "qwen/qwen3-0.6b-04-28:free",
        "options": {}
      },
      "credentials": {
        "openRouterApi": {
          "id": "tDWBerCVn0gOn7YX",
          "name": "OpenRouter account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "cd5b5f49-5187-4b97-959f-e1662f0bc3d5",
      "name": "Summarization Chain",
      "type": "@n8n/n8n-nodes-langchain.chainSummarization",
      "position": [
        720,
        0
      ],
      "parameters": {
        "options": {},
        "chunkingMode": "advanced"
      },
      "typeVersion": 2
    },
    {
      "id": "e6ba0b10-7b96-46c6-ae0d-fb3c112edab9",
      "name": "Recursive Character Text Splitter",
      "type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
      "position": [
        868,
        220
      ],
      "parameters": {
        "options": {},
        "chunkSize": 6000
      },
      "typeVersion": 1
    },
    {
      "id": "6bd07e32-e41d-4513-bfbe-d5ee93f18ddb",
      "name": "Split Out",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        280,
        0
      ],
      "parameters": {
        "options": {},
        "fieldToSplitOut": "transcripts"
      },
      "typeVersion": 1
    },
    {
      "id": "52f39b7e-dfb0-469f-9b61-64fd0343e972",
      "name": "Summarize",
      "type": "n8n-nodes-base.summarize",
      "position": [
        500,
        0
      ],
      "parameters": {
        "options": {},
        "fieldsToSummarize": {
          "values": [
            {
              "field": "text",
              "separateBy": " ",
              "aggregation": "concatenate"
            }
          ]
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "589f34cd-852c-46f9-98b6-811622fd96fa",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -180,
        -280
      ],
      "parameters": {
        "color": 5,
        "width": 320,
        "content": "## Youtube Video Summary\nGiven a **video_id** from Youtube, we concatenate the data and pass it to a summarization chain. To run this workflow, you need to have the credentials for Searchapi.io and some LLM provider."
      },
      "typeVersion": 1
    },
    {
      "id": "08e946b4-824d-4dff-a5f1-ce11d05c8727",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        40,
        220
      ],
      "parameters": {
        "height": 120,
        "content": "## Tip \nYou can pass the **video_id** from previous nodes to make a better automation"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "bbfb7334-6f7b-4638-9efb-346b318fffee",
  "connections": {
    "3df790f2-4c6d-47d2-9b88-7967eb3bb78f": {
      "main": [
        [
          {
            "node": "6bd07e32-e41d-4513-bfbe-d5ee93f18ddb",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6bd07e32-e41d-4513-bfbe-d5ee93f18ddb": {
      "main": [
        [
          {
            "node": "52f39b7e-dfb0-469f-9b61-64fd0343e972",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "52f39b7e-dfb0-469f-9b61-64fd0343e972": {
      "main": [
        [
          {
            "node": "cd5b5f49-5187-4b97-959f-e1662f0bc3d5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f5a5352b-07d7-4fff-b5c2-2512cabd3497": {
      "ai_languageModel": [
        [
          {
            "node": "cd5b5f49-5187-4b97-959f-e1662f0bc3d5",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "e6ba0b10-7b96-46c6-ae0d-fb3c112edab9": {
      "ai_textSplitter": [
        [
          {
            "node": "cd5b5f49-5187-4b97-959f-e1662f0bc3d5",
            "type": "ai_textSplitter",
            "index": 0
          }
        ]
      ]
    },
    "4c889838-9062-4797-9b40-e966a3d1d1d4": {
      "main": [
        [
          {
            "node": "3df790f2-4c6d-47d2-9b88-7967eb3bb78f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

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

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

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

中級 - 人工知能, マーケティング

有料ですか?

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

ワークフロー情報
難易度
中級
ノード数9
カテゴリー2
ノードタイプ8
難易度説明

経験者向け、6-15ノードの中程度の複雑さのワークフロー

作成者
Pedro Santos

Pedro Santos

@dapedu

I'm a software developer with over 4+ years of experience. I work using software to solve clients problems and I believe n8n is a nice way to solve some problems faster!

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34