|
1 |
| -## 🎥 Summarize YouTube Videos using SearchAPI & LLM |
| 1 | +## 🎥 Summarize YouTube Videos using SearchApi & LLM |
2 | 2 |
|
3 | 3 | ### Who is this for?
|
4 | 4 |
|
5 |
| -This workflow is perfect for **content creators**, **students**, **digital marketers**, **educators**, and **researchers** who want to quickly summarize YouTube videos. |
| 5 | +This workflow is ideal for **content creators**, **students**, **digital marketers**, **educators**, and **researchers** who want to quickly summarize YouTube videos. |
6 | 6 |
|
7 |
| -### What problem does this workflow solve? / Use case |
| 7 | +### What problem does this workflow solve? |
8 | 8 |
|
9 |
| -Manually extracting important information from lengthy YouTube videos can be tedious and error-prone. This workflow streamlines the process by automatically fetching video transcripts using [SearchAPI.io](https://searchapi.io/) and producing concise, informative summaries through a summarization chain powered by any LLM provider. This allows users to rapidly access crucial information without manual transcription or detailed watching. |
| 9 | +Manually extracting important information from lengthy YouTube videos can be tedious and prone to errors. This workflow streamlines the process by automatically fetching video transcripts using [SearchApi.io](https://www.searchapi.io/) and producing concise, informative summaries through a summarization chain powered by any LLM provider. This allows users to quickly access crucial information without the need for manual transcription or detailed viewing. |
10 | 10 |
|
11 | 11 | ### What this workflow does
|
12 | 12 |
|
13 |
| -* Fetches the complete transcript of a YouTube video using SearchAPI. |
| 13 | +* Fetches the complete transcript of a YouTube video using SearchApi. |
14 | 14 | * Combines the retrieved transcript into a single, continuous text.
|
15 |
| -* Uses a **Summarization Chain** with an LLM (e.g., OpenRouter models) to create a concise summary of the video content. |
| 15 | +* Utilizes a **Summarization Chain** with an LLM (e.g., OpenRouter models) to create a concise summary of the video content. |
16 | 16 |
|
17 | 17 | ### Setup
|
18 | 18 |
|
19 |
| -1. **API Configuration**: |
| 19 | +1. **Install the [SearchApi community node](https://www.npmjs.com/package/@searchapi/n8n-nodes-searchapi)**: |
| 20 | + * Open **Settings → Community Nodes** inside your self‑hosted n8n instance. |
| 21 | + * Fill **npm Package Name** with `@searchapi/n8n-nodes-searchapi`. |
| 22 | + * Accept the risk prompt, and hit **Install**. |
| 23 | + * It should now appear as a node when you search for it. |
20 | 24 |
|
21 |
| - * Set up your [SearchAPI.io](https://searchapi.io/) credentials in n8n. |
| 25 | +2. **API Configuration**: |
| 26 | + * Set up your [SearchApi.io](https://www.searchapi.io/) credentials in n8n. |
22 | 27 | * Add your preferred LLM provider credentials (e.g., OpenRouter API).
|
23 | 28 |
|
24 |
| -2. **Input Requirements**: |
25 |
| - |
| 29 | +3. **Input Requirements**: |
26 | 30 | * Provide the YouTube video ID (e.g., `wBuULAoJxok`).
|
27 | 31 |
|
28 |
| -3. **Connect LLM Integration**: |
29 |
| - |
| 32 | +4. **Connect LLM Integration**: |
30 | 33 | * Configure the summarization chain with your chosen model and parameters for text splitting.
|
31 | 34 |
|
32 |
| -### How to customize this workflow to your needs |
| 35 | +### How to customize this workflow to meet your needs |
33 | 36 |
|
34 |
| -* Adjust the summarization model or modify text-splitter parameters to handle different lengths and complexities of video transcripts. |
35 |
| -* Integrate additional nodes to export summaries directly into your tools of choice, such as Google Drive, Slack, or email. |
36 |
| -* Customize prompt templates in the summarization chain to obtain different summary styles (bullet points, paragraphs, etc.). |
37 |
| -* Modify the trigger to what works best for you. |
| 37 | +* Adjust the summarization model or modify text-splitter parameters to accommodate different lengths and complexities of video transcripts. |
| 38 | +* Integrate additional nodes to export summaries directly into your preferred tools, such as Google Drive, Slack, or email. |
| 39 | +* Customize prompt templates in the summarization chain to obtain various summary styles (bullet points, paragraphs, etc.). |
| 40 | +* Modify the trigger to suit your workflow. |
38 | 41 |
|
39 | 42 | ### Example Usage
|
40 | 43 |
|
41 | 44 | 1. **Input**: YouTube video ID (`wBuULAoJxok`).
|
42 |
| -2. **Output**: A concise, actionable summary highlighting key ideas, recommendations, and insights from the video. |
| 45 | +2. **Output**: A concise, actionable summary that highlights key ideas, recommendations, and insights from the video. |
0 commit comments