n8n

How to Generate OpenAI YouTube Summaries?

Turn any YouTube video into a short text summary your team can read in minutes. Great for marketers, creators, and sales teams who need fast notes, show summaries, or briefs without watching the full video.

A manual start kicks off the run. A Set step holds the videoId so you can change the target video without touching code. The OpenAI Chat Model provides the writing engine for the summary. A LangChain Code step calls SearchAPI with your key to fetch the video transcript and then produces a clear, structured summary. The result is clean text ready to paste into docs, tasks, or your CMS.

You will need an OpenAI key and a SearchAPI key. Paste your SearchAPI key inside the code node, update the videoId value, and click Execute. Expect review time to drop from 30 minutes to under 2 minutes per video. Use it for blog briefs, show notes, sales enablement, training recaps, and customer education.

What are the key features?

  • One click manual start for on demand summaries
  • Set node stores the YouTube videoId so you can switch targets quickly
  • OpenAI Chat Model supplies the language model for clear summaries
  • LangChain Code calls SearchAPI to fetch the transcript and run the summary logic
  • Outputs a clean text summary ready to paste into documents or tasks

What are the benefits?

  • Reduce manual viewing from 30 minutes to under 2 minutes per video
  • Automate up to 90 percent of transcript review and summarization
  • Keep summaries consistent by using the same prompt every time
  • Handle more videos per day by changing only the videoId
  • Cut copy paste errors by pulling transcripts directly via API

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with OpenAI and SearchAPI. See the Tools Required section above for links to create accounts with these services.
  3. In the n8n credentials manager, click New and add an OpenAI credential. Paste your OpenAI API key from your OpenAI account and save the credential with a clear name.
  4. Open the OpenAI Chat Model node in the canvas. In the Credential to connect with dropdown, choose your OpenAI credential. Select the model you prefer such as gpt 4o mini.
  5. Open the LangChain Code node. Find the line that sets the SearchAPI key and replace the placeholder with your real SearchAPI key from your SearchAPI account.
  6. Open the Set YouTube video ID node. Change the videoId field to the YouTube video ID you want to summarize. Use only the ID string from the video URL.
  7. Click Execute Workflow. After the run completes, open the LangChain Code node output to view the summary text.
  8. If you see an authorization or 401 error in the LangChain Code node, check that the SearchAPI key is correct and active.
  9. If the summary is empty, confirm the video has a transcript available and that SearchAPI returned content. Try another video ID to compare.
  10. Repeat the run with more video IDs to validate quality and adjust the OpenAI model settings if you want shorter or longer summaries.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

OpenAI

Sign up

Pay-as-you-go: GPT-5 at $1.25 per 1M input tokens and $10 per 1M output tokens

SearchAPI

Sign up

Developer plan: $40 / mo for 10,000 searches (~$4 per 1,000); 100 free requests on signup

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.