AI-powered YouTube Playlist & Video Summarization with n8n

Struggling to grasp lengthy YouTube playlists or videos? This n8n workflow automates transcript extraction, summarizes content with Google Gemini AI, and stores insights for easy querying, saving hours of manual watching and note-taking.
lmChatGoogleGemini
agent
splitOut
+20
Workflow Identifier: 1244
NODES in Use: lmChatGoogleGemini, agent, splitOut, chainLlm, summarize, limit, vectorStoreQdrant, textSplitterRecursiveCharacterTextSplitter, embeddingsGoogleGemini, youtube-transcription-dmr.youtubeTranscripter, httpRequest, code, set, merge, chatTrigger, memoryBufferWindow, switch, redis, if, outputParserStructured, splitOut, stickyNote, code
Automate YouTube summarization with n8n and Google Gemini

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What This Workflow Does

This workflow helps users turn YouTube playlists or single video URLs into easy-to-understand summaries and searchable data. It automates getting video transcripts, creating short summaries using Google Gemini AI, and saving those summaries in a searchable database. Users can then ask questions about the videos and get answers based on the preprocessed content.

The main problem it solves is saving time for people who would otherwise watch many hours of videos and take manual notes. It lets users quickly find key insights without watching everything fully.

The result is an interactive knowledge base from YouTube videos. Users get fast answers and technical summaries, helping them focus on insights instead of video playback.


Who Should Use This Workflow

This is for anyone who studies or researches industry topics using YouTube content. It is useful for analysts, students, or curious professionals who want faster video analysis.

You should use this if you often deal with long YouTube playlists or single videos and want better summaries plus easy search by asking questions instead of watching manually.


Tools and Services Used

  • n8n: Automates the entire workflow triggered by chat input.
  • Google Palm API (Google Gemini): Processes transcripts to create detailed summaries and detect user intent.
  • YouTube Transcript nodes: Extract transcripts from YouTube videos.
  • Qdrant vector store: Saves embeddings of transcripts for fast, semantic search.
  • Redis: Stores chat session context and conversation history.
  • HTTP Request nodes: Fetch YouTube video and playlist metadata.


Inputs, Processing Steps, and Outputs

Inputs

User sends a YouTube playlist URL or single video URL via chat webhook.

Processing Steps

  • User input is checked for previous session context in Redis.
  • Google Gemini AI detects the message intent and extracts URLs and parameters.
  • Workflow routes input depending on intent: process new data or answer queries.
  • If processing, it checks if data already exists in Qdrant to avoid duplication.
  • User is asked for playlist video limits if none provided.
  • Playlist or video metadata are retrieved via HTTP requests.
  • Video transcripts are pulled using YouTube Transcript nodes.
  • Transcripts are cleaned, combined, and structured with metadata.
  • Google Gemini AI summarizes each transcript into technical bullet-point style markdown.
  • Embeddings are prepared and old Qdrant collections deleted to update data.
  • Embeddings are stored chunk-wise in Qdrant vector store.
  • A final combined summary is generated by AI for entire playlist or video set.
  • Context status in Redis is updated to DONE.
  • User queries are answered by an AI agent using Qdrant semantic search and stored chat memory.

Outputs

Detailed summaries for each video and an overall playlist summary.

A vector store with searchable embeddings for semantic queries.

Interactive chat answers to user questions about video content.


Beginner Step-by-Step: How to Use This Workflow in n8n

1. Import the Workflow

  1. Download the workflow file using the Download button on this page.
  2. Go inside the n8n editor and choose “Import from File” to load the workflow.

2. Configure Credentials and Settings

  1. Add your Google Palm API (Google Gemini) credentials to the workflow nodes that require it.
  2. Set up your Qdrant access details (API keys or connection info) in the vector store nodes.
  3. Enter your Redis account credentials for session management.
  4. If needed, update any video or playlist IDs, folder names, or channels if the workflow uses fixed values.
  5. Review the prompt text or code snippets in Message Intent or Summarize & Analyze Transcript nodes and adjust if you want different summary styles.

3. Test the Workflow

  1. Trigger the workflow by sending a YouTube playlist or video URL via the chat webhook endpoint exposed by the Webhook node.
  2. Monitor the logs to ensure transcript fetching, summarization, and embedding storage run without errors.

4. Activate for Production

  1. Turn on the workflow using the toggle switch in n8n.
  2. Optionally, monitor chat request loads and logs from the n8n dashboard.
  3. Consider using self-host n8n if higher control or reliability is needed.

Edge Cases and Common Failures

  • YouTube Captcha or Consent Page: Sometimes YouTube blocks bots with captchas. This stops transcript fetch. Using proxies or slowing requests can help.
  • Parsing Errors: YouTube’s page format changes can break metadata extraction code nodes. The playlist/video fetching logic may need updates when YouTube updates the site.
  • Missing Transcripts: Many videos have no subtitles or blocked captions. This workflows skips or fails on these. Checking transcript availability first is advised.
  • Redis or Qdrant Issues: If session context or vector store queries fail due to credentials or network issues, the workflow may behave unexpectedly.


Customization Ideas

  • Adjust summary length or detail by changing the prompt inside the Summarize & Analyze Transcript AI node.
  • Change how the user is asked for playlist limits by editing the prompt in Numb of Videos agent node.
  • Add support for YouTube Shorts or channel URLs by updating URL validation in Message Intent node.
  • Replace Google Gemini with other AI models like OpenAI’s GPT-4 by swapping API keys and model references.
  • Embed extra metadata fields such as video publish dates, tags, or view counts where available.


Summary of Workflow Benefits

✓ Saves many hours by automating YouTube video transcription and summarization.
✓ Creates a searchable knowledge base with vector embeddings for fast answers.
✓ Produces structured, easy-to-read AI-generated summaries of transcripts.
✓ Supports conversational queries with memory to keep context.
✓ Handles both playlists and individual videos for flexible use cases.


Automate YouTube summarization with n8n and Google Gemini

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

Yes, any LangChain-compatible AI model can replace Google Gemini by updating the API keys and node settings.
Costs depend on the Qdrant hosting plan, generally extra charges apply mostly for large data storage and retrieval, not small queries.
Videos without transcripts cannot be summarized. The workflow may skip those videos or need fallbacks.
Use proxy services, slow down requests, or apply manual captcha solving methods to reduce blocking.

Promoted by BULDRR AI

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.