# Summarize Podcast Transcript with Refinement

Source: https://openflow.run/en/templates/summarize-podcast-transcript-with-refinement/
Content language: en
Template revision: 9018120e802d4de0a097610157c565df858c0871

Productivity

Summarize a YouTube podcast transcript and generate specific example questions and answers.

[Use in Open Flow](https://console.openflow.run/flows?importUrl=https%3A%2F%2Fraw.githubusercontent.com%2Foomol-lab%2Fawesome-workflow-templates%2F9018120e802d4de0a097610157c565df858c0871%2Fworkflows%2Fsummarize-podcast-transcript-with-refinement%2Ftemplates%2Fsummarize-podcast-transcript-with-refinement.openflow.json)

*   [Open Flow JSON](https://raw.githubusercontent.com/oomol-lab/awesome-workflow-templates/9018120e802d4de0a097610157c565df858c0871/workflows/summarize-podcast-transcript-with-refinement/templates/summarize-podcast-transcript-with-refinement.openflow.json)
*   [n8n JSON](https://raw.githubusercontent.com/oomol-lab/awesome-workflow-templates/9018120e802d4de0a097610157c565df858c0871/workflows/summarize-podcast-transcript-with-refinement/templates/summarize-podcast-transcript-with-refinement.n8n.json)

![Summarize Podcast Transcript with Refinement workflow in Open Flow](https://openflow.run/_astro/preview-light.CbddpDw2_Z2mM5Oi.webp)

Summarize a YouTube podcast transcript and generate specific example questions and answers.

## Setup and use

Connect SearchApi in **Fetch the transcript** and set the video ID. Select an available model in **Summarize or refine**. In n8n, set the video ID, configure Query Auth with name `api_key` for **Fetch the transcript**, and connect an OpenAI model. Run manually. SearchApi defaults to English, and available transcripts depend on the video and service. Query credentials can appear in service or network logs.

## Behavior

The workflow joins transcript segments in order and splits them into GPT-2 tokens, with 10,000-token chunks and a 250-token overlap. The model summarizes the first chunk and successively refines its summary and specific example questions and answers using each remaining chunk. It makes one model call per chunk. Missing transcripts, API errors, or an empty model response stop the run. Input and intermediate data remain subject to execution and model context limits. Model output can be inaccurate; review it before use.

Inspiration & credits

## Changes to the source

*   Use a managed SearchApi connection or n8n Query Auth instead of embedding an API key in Code.
*   Open Flow bundles the MIT-licensed js-tiktoken tokenizer to retain the source’s GPT-2 chunk size and overlap. It makes the model choice and temperature 0 explicit; this can change wording.

Adapted from [Summarize a YouTube podcast transcript](https://github.com/Zie619/n8n-workflows/blob/ae8cf6dc5b873cbb4f74587aa9180ed3a9f70682/workflows/Manual/0399_Manual_Stickynote_Automate_Triggered.json) in [Zie619/n8n-workflows](https://github.com/Zie619/n8n-workflows). The source export does not identify a separate template author or license.

The collection’s [MIT notice](https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/LICENSE) is pinned at a later revision. This is the collection notice at that revision; it does not establish a separate original template author’s license. Our changes are listed above; see [repository licensing](https://github.com/oomol-lab/awesome-workflow-templates/blob/9018120e802d4de0a097610157c565df858c0871/README.md#licensing).

> MIT License
> 
> Copyright (c) 2025 Zie619
> 
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
> 
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
> 
> THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

## Apps used

*   [**SearchApi**`search_api`](https://console.openflow.run/connections/search_api)

## What you’ll need

*   SearchApi connection
*   An available AI model

*   youtube
*   searchapi
*   ai
*   summarization

[View on GitHub](https://github.com/oomol-lab/awesome-workflow-templates/blob/9018120e802d4de0a097610157c565df858c0871/workflows/summarize-podcast-transcript-with-refinement/README.md)
