⚡📽️ Ultimate AI-powered chatbot for YouTube summarization & analysis
Needs changesWhat this workflow does
This AI workflow has 16 nodes and runs when a chat message arrives (plus 1 other trigger). Along the way it connects OpenAI Chat Model.
How it runs
Trigger: When a chat message arrives (plus 1 other trigger).
- YouTube Video Agent (AI Agent): runs an AI agent, with model: gpt-4o-mini; 1 tool (YouTube Processing Tool); memory: Window Buffer Memory
- Workflow Variables (Edit Fields (Set)): sets 2 fields: GOOGLE_API_KEY, VIDEO_ID
- Create YouTube API URL (Code): runs custom JavaScript code
- Get YouTube Transcript (Code): runs custom JavaScript code
- Get YouTube Video Details (HTTP Request): calls an HTTP API
- Split Out: splits a list into separate items
- Merge: merges the data from its input branches
- Combine Transcript Segments (Summarize): summarizes / groups the items
- Create One JSON Object (Aggregate): combines items into one
- Respond with YouTube Details & Transcript (Edit Fields (Set)): sets 1 field: response
…plus 1 more step. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in YouTube Video Agent (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) YouTube Video Agent (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (13)
- Code
n8n-nodes-base.code - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - AI Agent
@n8n/n8n-nodes-langchain.agent - Split Out
n8n-nodes-base.splitOut - Summarize
n8n-nodes-base.summarize - HTTP Request
n8n-nodes-base.httpRequest - Merge
n8n-nodes-base.merge - Aggregate
n8n-nodes-base.aggregate - Edit Fields (Set)
n8n-nodes-base.set - Call n8n Workflow Tool
@n8n/n8n-nodes-langchain.toolWorkflow
From the author
🎥 YouTube Video AI Agent Workflow This n8n workflow template allows you to interact with an AI agent that extracts details and the transcript of a YouTube video using a provided video ID. Once the details and transcript are retrieved, you can chat with the…