Automate YouTube Video Analysis Using n8n & AI Models

Discover how to automatically extract, analyze, and summarize YouTube video transcripts using n8n integrated with AI models. This workflow saves you time and effort in content research and planning by delivering structured insights via email.
manualTrigger
code
httpRequest
+9
Workflow Identifier: 2169
NODES in Use: Manual Trigger, Code, HTTP Request, Set, If, Email Send, Sticky Note, Analyze LLM Chain, OpenAI Chat Model, OpenRouter Chat Model, DeepSeek Chat Model, Structured Output Parser

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

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

What This Automation Does

This workflow automatically takes a YouTube video URL and finds its transcript using the youtube-transcript.io API.
It then checks if the transcript exists before using AI models like OpenAI GPT-4o-mini to analyze the text and make a clear summary.
Finally, the workflow sends the video summary by email.

This saves time by removing manual reading and creating neat summaries fast.


Who Should Use This Workflow

People who need to study many YouTube videos and want quick summaries.
Anyone working with video research, digital content, or marketing research that needs accurate, fast video insights.
No heavy tech skills needed. Basic n8n knowledge works fine.


Tools / Services Used

  • youtube-transcript.io API: Retrieves video transcripts.
  • OpenAI GPT-4o-mini, OpenRouter, DeepSeek: AI models for text summary.
  • SMTP Email Service: Sends summary emails.
  • n8n Automation Platform: Runs and connects all nodes.

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

Download and Import Workflow

  1. Click the Download button on this page to save the workflow file.
  2. Inside the n8n editor, click the main menu and select “Import from File”.
  3. Choose the downloaded workflow file to add it to n8n.

Configure API and Email Settings

  1. Add your youtube-transcript.io API key in the HTTP Request node named Generate transcript.
  2. Enter OpenAI or chosen AI service API credentials in the linked nodes.
  3. Update the Email Send node with correct SMTP details and recipient email addresses.
  4. If needed, update any IDs, channels, or user emails in the nodes as per your needs.

Test and Activate

  1. Run the workflow once using the Manual Trigger node to confirm all settings work.
  2. Fix any errors shown in the execution log.
  3. Turn the workflow toggle on to activate for regular use.

For advanced production, consider replacing the Manual Trigger with a Webhook node to accept URLs from a web form.
For self hosting or more control, check resources for self-host n8n.


Inputs, Processing, and Outputs

Inputs

  • YouTube video URL (set in Set YouTube URL node or via webhook).
  • API keys and credentials for transcript extraction and AI.

Processing Steps

  1. Extract video ID from the YouTube URL using Code node.
  2. Send video ID to youtube-transcript.io API to fetch transcript via HTTP Request node.
  3. Extract transcript text and language using Set node.
  4. Confirm transcript exists with an If node.
  5. Concatenate transcript pieces into full text.
  6. Send full transcript to AI for summarization using Analyze LLM Chain node.
  7. Receive a structured summary with title and bullet points.
  8. Send summary email with result.

Outputs

  • Clear bullet-point summary of video content.
  • Email sent with video title and summary.

Edge Cases and Failure Handling

  • Videos without transcripts trigger checks that stop further processing.
  • Invalid YouTube URLs lead to empty video IDs; workflow pauses to avoid errors.
  • Missing or wrong API keys cause HTTP errors which show in logs for easy fixes.
  • Errors from AI summarization indicate credential or usage problems.
  • Email failures usually come from wrong SMTP settings; testing separately helps.

Check the execution logs in n8n to pinpoint failed steps.


Customization Ideas

  • Change between AI models by switching Analyze LLM Chain connections.
  • Add a Webhook node to get YouTube URLs from a web form dynamically.
  • Send emails to multiple addresses by entering comma-separated emails in Email Send node.
  • Include logic to filter transcripts by language before summarizing.

Summary of Benefits

✓ Saves hours spent watching videos and taking notes.
✓ Delivers accurate, clear summaries with technical details.
✓ Stops errors from missing transcripts automatically.
✓ Sends professional email summaries without manual work.
✓ Gives flexible AI model options and easy customization.


Frequently Asked Questions

The workflow uses the youtube-transcript.io API to fetch the transcript by sending the video ID extracted from the YouTube URL.
The workflow uses a check to stop further processing if the transcript is missing, avoiding errors later in the nodes.
The workflow supports OpenAI GPT-4o-mini, OpenRouter, and DeepSeek models for text summarization.
Multiple email addresses can be added as a comma-separated list in the “To” field of the Email Send node.

Promoted by BULDRR AI

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation in n8n

A complete beginner guide to building an AI-powered SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free