π AI YouTube playlist & video analyst chatbot
β‘ 2,811 views Β· π Market Research & Insights
π‘ Pro Tip β YouTubeβs API quotas can be a bottleneck when youβre pulling data at scale. ScraperNode is a community node with dedicated scrapers for channels, videos, and comments β no quota limits, just structured data.
Description
AI YouTube Playlist & Video Analyst Chatbot
This n8n workflow transforms entire YouTube playlists or single videos into interactive knowledge bases you can chat with. Ask questions and get summaries without needing to watch hours of content.
π How it Works
- π Provide a Link: Start by giving the workflow a URL for a YouTube playlist or a single video.
- π Content Retrieval: The workflow automatically fetches the video details and transcripts for the provided link. For playlists, it can process multiple videos at once (you might be asked how many).
- π§ AI Processing: Googleβs Gemini AI reads through the transcripts, understands the content, and creates summaries.
- πΎ Storage & Context: The processed information and summaries are stored in a vector database (Qdrant), making them ready for conversation. Context is managed using Redis, remembering the current video/playlist youβre discussing.
- π¬ Chat & Ask: Now, you can ask the AI agent questions about the playlist or video content! Because context is maintained, you can ask follow-up questions (like βexpand on point Xβ) without needing to provide the URL again.
π οΈ Requirements
- Community Node: This workflow uses the
youtubeTranscriptercommunity node to fetch video transcripts. Youβll need to install it in your n8n environment.- Installation:
npm install n8n-nodes-youtube-transcription-dmr - Important: Community nodes require a self-hosted n8n instance.
- Installation:
- Redis: A Redis instance is required for managing conversation context and status between interactions.
- Credentials: You will need API credentials configured in your n8n instance for:
- Google Gemini (AI Models)
- Qdrant (Vector Store)
- Redis (Context Store)
π€ AI Agent Capabilities
Engage with the AI agent to explore the video content. Since the agent remembers the context of your conversation, you can ask detailed follow-up questions naturally:
- Get a quick summary of a single video or an entire playlist.
- Ask for key takeaways or main topics discussed.
- Query for specific information mentioned in the videos.
- Ask the agent to elaborate on a specific point previously mentioned.
- Understand complex subjects without watching the full duration.
π Use Cases
- π Content Analysis: Quickly understand the themes and key points across a playlist or long video.
- π Research & Learning: Extract insights from educational series or tutorials efficiently.
- βοΈ Content Creation: Easily repurpose video transcript information into blog posts, notes, or social media content.
- β±οΈ Save Time: Get the essence of video content when youβre short on time.
- βΏ Accessibility: Offers a text-based way to interact with and understand video content.
β¨ Sample Prompts
- Please analyze this playlist and tell me the main topics covered: [YouTube Playlist URL]
- Summarize the first 5 videos in this playlist: [YouTube Playlist URL]
- (Follow-up) Tell me more about the main point in video 3.
- What are the key points discussed in this video? [YouTube Video URL]
- (Follow-up) Expand on the second key point you mentioned.
- Does the video at [YouTube Video URL] mention [specific topic]?
π Nodes Used
HTTP Request, Redis, AI Agent, Basic LLM Chain, Simple Memory, Structured Output Parser
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File