← All N8N workflows
AI & researchAgentAggregateChat TriggerCodeExecute Workflow Trigger

⚡📽️ Ultimate AI-Powered Chatbot for YouTube Summarization & Analysis

Configured with Agent, Aggregate, Chat Trigger, Execute Workflow Trigger, and additional nodes. Review the connections and setup before adapting this template.

Workflow preview
CodeGet YouTube TranscriptCodeTriggerWhen Executed byAnother WorkflowExecute Workflow TriggerTriggerWhen chat messagereceivedChat TriggerData storeWindow Buffer MemoryMemory Buffer WindowAI & modelsgpt-4o-mini1OpenAI Chat ModelAI & modelsYouTube Video AgentAgentCodeCreate YouTube API URLCodeTransformSplit Out TranscriptSegmentsSplit OutTransformCombine TranscriptSegmentsSummarizeWeb / APIGet YouTube VideoDetailsHTTP RequestTransformMerge YouTube Details &TranscriptMergeTransformCreate One JSON ObjectAggregateTransformRespond with YouTubeDetails & TranscriptEdit FieldsTransformWorkflow VariablesEdit FieldsSubworkflowYouTube Processing ToolTool WorkflowAI & modelsDeepSeek-V3 ChatOpenAI Chat Model

Node categories in this workflow

  • Code
  • Trigger
  • Data store
  • AI & models
  • Transform
  • Web / API
  • Subworkflow

Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.

Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.

How it works

The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.

Workflow node names, types, and operations
NodeCategoryTypeOperation
Get YouTube TranscriptCodeCodeSee node parameters
When Executed by Another WorkflowTriggerExecute Workflow TriggerSee node parameters
When chat message receivedTriggerChat TriggerSee node parameters
Window Buffer MemoryData storeMemory Buffer WindowSee node parameters
gpt-4o-mini1AI & modelsOpenAI Chat ModelSee node parameters
YouTube Video AgentAI & modelsAgentSee node parameters
Create YouTube API URLCodeCodeSee node parameters
Split Out Transcript SegmentsTransformSplit OutSee node parameters
Combine Transcript SegmentsTransformSummarizeSee node parameters
Get YouTube Video DetailsWeb / APIHTTP RequestSee node parameters
Merge YouTube Details & TranscriptTransformMergeSee node parameters
Create One JSON ObjectTransformAggregateSee node parameters
Respond with YouTube Details & TranscriptTransformEdit FieldsSee node parameters
Workflow VariablesTransformEdit FieldsSee node parameters
YouTube Processing ToolSubworkflowTool WorkflowSee node parameters
DeepSeek-V3 ChatAI & modelsOpenAI Chat ModelSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.

Requirements

An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.

Credential types declared in the source

  • openAiApi

Workflow notes

OpenAI

OpenAI

https://platform.openai.com/api-keys

Workflow Variables

Workflow Variables

https://cloud.google.com/docs/get-started/access-apis

YouTube Video Details

YouTube Video Details

https://developers.google.com/youtube/v3/docs

YouTube Video Transcript

YouTube Video Transcript

https://docs.n8n.io/integrations/creating-nodes/test/run-node-locally/ https://www.npmjs.com/package/youtube-transcript

📽️ YouTube Video AI Agent Workflow

📽️ YouTube Video AI Agent Workflow

This n8n workflow template enables users to interact with an AI agent that extracts details and the transcript of a YouTube video based on a provided video ID. Once the video details and transcript are retrieved, users can chat with the AI agent to explore or analyze the content of the video in a conversational manner.

How the Workflow Works

  1. Input Video ID: The user provides a YouTube video ID as input to the workflow.

  2. Data Retrieval: The workflow fetches key details about the video (e.g., title, description, upload date) and retrieves its transcript. This involves using YouTube's Data API and other integrated tools for transcript extraction.

  3. AI Agent Interaction: The extracted details and transcript are processed by an AI-powered agent. Users can then ask questions or engage in a discussion with the agent regarding the video's content, such as summarizing the transcript, analyzing key points, or clarifying specific sections.

  4. Dynamic Responses: The AI agent uses natural language processing to provide contextual and accurate responses based on the video data, making the interaction intuitive and user-friendly.

Use Cases

  • Content Analysis: Quickly analyze long YouTube videos by querying specific sections or extracting summaries.
  • Research and Learning: Use the AI agent to gain insights from educational videos or tutorials without watching them in full.
  • Content Creation: Creators can use this workflow to repurpose transcripts into blogs, social media posts, or other formats.
  • Accessibility: Improve accessibility for users who prefer text-based interaction over watching videos.
🛠️ Resources for Getting Started

🛠️ Resources for Getting Started

  • Google Cloud Console (for API setup): Visit Google Cloud's Get Started Guide to configure your API access.
  • YouTube Data API Key Setup: Follow this guide to create and manage your YouTube Data API key.
  • Install n8n Locally: Refer to this installation guide for setting up n8n on your local machine.

✨ Sample Prompt

"Tell me about this YouTube video with id: JWfNLF_g_V0"

"Can you provide a list of key takeaways from this video with id: [youtube-video-id]?"

DeepSeek

DeepSeek

https://api-docs.deepseek.com/

⚡📽️ Ultimate AI-Powered Chatbot for YouTube Summarization & Analysis

⚡📽️ Ultimate AI-Powered Chatbot for YouTube Summarization & Analysis

Purpose and structure

This folder contains the ⚡📽️ Ultimate AI-Powered Chatbot for YouTube Summarization & Analysis workflow. Its executable nodes use agent, aggregate, chatTrigger, code, executeWorkflowTrigger, httpRequest, lmChatOpenAi, memoryBufferWindow, merge, set, splitOut, summarize, toolWorkflow. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.

Setup

Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.

Entry points

When Executed by Another Workflow, When chat message received

Verification

Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.

Attribution

https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Splitout/1463_Splitout_Code_Automate_Webhook.json MIT; preserve source notices.

Canvas section labels

These name areas of the original canvas; they do not include explanatory instructions.

  • 🤖 AI Agent Chatbot for YouTube Videos
  • 🛠️ YouTube Video Processing Tool
  • Chat History Memory
  • 🛠️YouTube Video Processing Tool
  • 👍 Try Me!
  • 📽️Ultimate AI-Powered Chatbot for YouTube Summarization & Analysis

More in AI & research