Back to Catalog

Summarize youtube videos from transcript for social media

Evoort SolutionsEvoort Solutions
2646 views
2/3/2026
Official Page

πŸŽ₯ YouTube Video Summarizer for Social Media

Turn any YouTube video into a short, structured summary using AI β€” perfect for content creators, marketers, or social media managers.


πŸ”§ What We Built

We created a no-code automation in n8n that:

  • Accepts a YouTube Video ID via a form
  • Fetches the video transcript using an external API
  • Summarizes the transcript using AI (Google Gemini)
  • Automatically saves the summary to Google Docs for team use

🧩 Flow Overview

| Step | Description | |------|-------------| | βœ… Form Trigger | User submits a YouTube video ID using an n8n form | | πŸ” Set Node | Maps the YouTube video ID for use in the API request | | 🌐 HTTP Request (External API) | Calls the YouTube Transcriptor AI API via RapidAPI to fetch transcript | | 🧹 Formatter (Code Node) | Joins transcript lines into a readable text block | | 🧠 AI Agent + Google Gemini (via Langchain) | Summarizes the full transcript into bullet points and tone | | 🧽 Optimizer (Code Node) | Extracts just the summary from the AI response | | πŸ“ Google Docs Node | Appends the clean summary to a shared Google Doc |


🌍 Real-World Problem Solved

❌ The Challenge

  • Creators and marketers waste hours watching full videos just to extract the key points.
  • Manual summarization is inconsistent, repetitive, and delays content planning.

βœ… Our Solution

  • ⏱️ Reduces time spent watching videos
  • 🧠 AI-powered summaries keep tone consistent and structured
  • πŸ“„ Auto-sync with Google Docs makes summaries instantly available for teams

πŸ”₯ Bonus: This uses the YouTube Transcriptor AI API, so no need to manually scrape captions or use browser extensions.


πŸš€ Ideal Use Cases

  • Repurpose YouTube content into Instagram Reels, LinkedIn posts, or blog content
  • Build a video summary library for your editorial team
  • Quickly extract talking points from podcast episodes

πŸ› οΈ Tech Stack

  • n8n – workflow automation engine
  • YouTube Transcriptor AI API – via RapidAPI
  • Google Gemini (via Langchain) – AI summarization
  • Google Docs – stores the final summary
  • JavaScript nodes – custom text parsing & formatting

πŸ’‘ Want to customize it? Add Slack, Airtable, Notion, or Tweet auto-posting to expand the flow.

Create your free n8n account and set up the workflow in just a few minutes using the link below:

πŸ‘‰ Start Automating with n8n

Save time, stay consistent, and grow your LinkedIn presence effortlessly!

# n8n Workflow: Summarize YouTube Videos from Transcript for Social Media

This n8n workflow automates the process of generating social media summaries from YouTube video transcripts. It allows you to input a YouTube video URL, extract its transcript, and then use an AI agent to create concise, engaging summaries suitable for various social media platforms.

## What it does

This workflow simplifies content repurposing by performing the following steps:

1.  **Triggers on Form Submission**: The workflow starts when a form is submitted, likely containing a YouTube video URL and potentially other details.
2.  **Fetches YouTube Transcript**: It uses an HTTP Request to an external API (likely a YouTube transcript service) to retrieve the full transcript of the provided YouTube video.
3.  **Prepares Data for AI**: A "Set" node (named "Edit Fields") transforms and prepares the extracted transcript data for the AI agent.
4.  **Generates Social Media Summary with AI**: An "AI Agent" node, powered by a "Google Gemini Chat Model", processes the transcript and generates a concise summary optimized for social media.
5.  **Processes AI Output**: A "Code" node further processes the AI-generated summary, potentially formatting it or extracting specific elements.
6.  **Creates Google Doc**: The final summary is then used to create a new document in Google Docs.

## Prerequisites/Requirements

To use this workflow, you will need:

*   **n8n Instance**: A running instance of n8n.
*   **YouTube Transcript API Key**: Access to an API that can extract YouTube video transcripts (e.g., a custom service or a third-party API). You will need to configure the "HTTP Request" node with the correct URL and any necessary authentication.
*   **Google Account**: A Google account with access to Google Docs for storing the generated summaries. You will need to set up Google Docs credentials in n8n.
*   **Google Gemini API Key**: An API key for the Google Gemini Chat Model to power the AI summarization. You will need to configure the "Google Gemini Chat Model" node with your credentials.

## Setup/Usage

1.  **Import the Workflow**:
    *   Save the provided JSON content as a `.json` file.
    *   In your n8n instance, go to "Workflows" and click "New".
    *   Click the "Import from JSON" button and upload the saved `.json` file.
2.  **Configure Credentials**:
    *   **HTTP Request**: Edit the "HTTP Request" node (ID: 19). Update the URL to your YouTube transcript API endpoint and add any required headers or authentication (e.g., API keys).
    *   **Google Docs**: Edit the "Google Docs" node (ID: 495). Click "Create New Credential" or select an existing Google OAuth credential that has access to Google Docs.
    *   **Google Gemini Chat Model**: Edit the "Google Gemini Chat Model" node (ID: 1262). Click "Create New Credential" or select an existing credential for Google Gemini.
3.  **Activate the Workflow**: Once all credentials and configurations are set, activate the workflow by toggling the "Active" switch in the top right corner of the workflow editor.
4.  **Trigger the Workflow**:
    *   The workflow is triggered by an "n8n Form Trigger" (ID: 1225). You will need to access the webhook URL provided by this node (click on the node and find "Webhook URL").
    *   Submit a form to this URL with the necessary data, including the YouTube video URL. The exact payload structure will depend on how the "Edit Fields" and subsequent nodes expect the data. A common structure would be a JSON payload with a `youtubeUrl` field.

This workflow provides a powerful way to automate the creation of social media content from your YouTube videos, saving time and effort in content repurposing.

Related Templates

Document RAG & chat agent: Google Drive to Qdrant with Mistral OCR

Knowledge RAG & AI Chat Agent: Google Drive to Qdrant Description This workflow transforms a Google Drive folder into an intelligent, searchable knowledge base and provides a chat agent to query it. It’s composed of two distinct flows: An ingestion pipeline to process documents. A live chat agent that uses RAG (Retrieval-Augmented Generation) and optional web search to answer user questions. This system fully automates the creation of a β€œChat with your docs” solution and enhances it with external web-searching capabilities. --- Quick Implementation Steps Import the workflow JSON into your n8n instance. Set up credentials for Google Drive, Mistral AI, OpenAI, and Qdrant. Open the Web Search node and add your Tavily AI API key to the Authorization header. In the Google Drive (List Files) node, set the Folder ID you want to ingest. Run the workflow manually once to populate your Qdrant database (Flow 1). Activate the workflow to enable the chat trigger (Flow 2). Copy the public webhook URL from the When chat message received node and open it in a new tab to start chatting. --- What It Does The workflow is divided into two primary functions: Knowledge Base Ingestion (Manual Trigger) This flow populates your vector database. Scans Google Drive: Lists all files from a specified folder. Processes Files Individually: Downloads each file. Extracts Text via OCR: Uses Mistral AI OCR API for text extraction from PDFs, images, etc. Generates Smart Metadata: A Mistral LLM assigns metadata like documenttype, project, and assignedto. Chunks & Embeds: Text is cleaned, chunked, and embedded via OpenAI’s text-embedding-3-small model. Stores in Qdrant: Text chunks, embeddings, and metadata are stored in a Qdrant collection (docaiauto). AI Chat Agent (Chat Trigger) This flow powers the conversational interface. Handles User Queries: Triggered when a user sends a chat message. Internal RAG Retrieval: Searches Qdrant Vector Store first for answers. Web Search Fallback: If unavailable internally, the agent offers to perform a Tavily AI web search. Contextual Responses: Combines internal and external info for comprehensive answers. --- Who's It For Ideal for: Teams building internal AI knowledge bases from Google Drive. Developers creating AI-powered support, research, or onboarding bots. Organizations implementing RAG pipelines. Anyone making unstructured Google Drive documents searchable via chat. --- Requirements n8n instance (self-hosted or cloud). Google Drive Credentials (to list and download files). Mistral AI API Key (for OCR & metadata extraction). OpenAI API Key (for embeddings and chat LLM). Qdrant instance (cloud or self-hosted). Tavily AI API Key (for web search). --- How It Works The workflow runs two independent flows in parallel: Flow 1: Ingestion Pipeline (Manual Trigger) List Files: Fetch files from Google Drive using the Folder ID. Loop & Download: Each file is processed one by one. OCR Processing: Upload file to Mistral Retrieve signed URL Extract text using Mistral DOC OCR Metadata Extraction: Analyze text using a Mistral LLM. Text Cleaning & Chunking: Split into 1000-character chunks. Embeddings Creation: Use OpenAI embeddings. Vector Insertion: Push chunks + metadata into Qdrant. Flow 2: AI Chat Agent (Chat Trigger) Chat Trigger: Starts when a chat message is received. AI Agent: Uses OpenAI + Simple Memory to process context. RAG Retrieval: Queries Qdrant for related data. Decision Logic: Found β†’ Form answer. Not found β†’ Ask if user wants web search. Web Search: Performs Tavily web lookup. Final Response: Synthesizes internal + external info. --- How To Set Up Import the Workflow Upload the provided JSON into your n8n instance. Configure Credentials Create and assign: Google Drive β†’ Google Drive nodes Mistral AI β†’ Upload, Signed URL, DOC OCR, Cloud Chat Model OpenAI β†’ Embeddings + Chat Model nodes Qdrant β†’ Vector Store nodes Add Tavily API Key Open Web Search node β†’ Parameters β†’ Headers Add your key under Authorization (e.g., tvly-xxxx). Node Configuration Google Drive (List Files): Set Folder ID. Qdrant Nodes: Ensure same collection name (docaiauto). Run Ingestion (Flow 1) Click Test workflow to populate Qdrant with your Drive documents. Activate Chat (Flow 2) Toggle the workflow ON to enable real-time chat. Test Open the webhook URL and start chatting! --- How To Customize Change LLMs: Swap models in OpenAI or Mistral nodes (e.g., GPT-4o, Claude 3). Modify Prompts: Edit the system message in ai chat agent to alter tone or logic. Chunking Strategy: Adjust chunkSize and chunkOverlap in the Code node. Different Sources: Replace Google Drive with AWS S3, Local Folder, etc. Automate Updates: Add a Cron node for scheduled ingestion. Validation: Add post-processing steps after metadata extraction. Expand Tools: Add more functional nodes like Google Calendar or Calculator. --- Use Case Examples Internal HR Bot: Answer HR-related queries from stored policy docs. Tech Support Assistant: Retrieve troubleshooting steps for products. Research Assistant: Summarize and compare market reports. Project Management Bot: Query document ownership or project status. --- Troubleshooting Guide | Issue | Possible Solution | |------------|------------------------| | Chat agent doesn’t respond | Check OpenAI API key and model availability (e.g., gpt-4.1-mini). | | Known documents not found | Ensure ingestion flow ran and both Qdrant nodes use same collection name. | | OCR node fails | Verify Mistral API key and input file integrity. | | Web search not triggered | Re-check Tavily API key in Web Search node headers. | | Incorrect metadata | Tune Information Extractor prompt or use a stronger Mistral model. | --- Need Help or More Workflows? Want to customize this workflow for your business or integrate it with your existing tools? Our team at Digital Biz Tech can tailor it precisely to your use case from automation logic to AI-powered enhancements. We can help you set it up for free β€” from connecting credentials to deploying it live. Contact: shilpa.raju@digitalbiz.tech Website: https://www.digitalbiz.tech LinkedIn: https://www.linkedin.com/company/digital-biz-tech/ You can also DM us on LinkedIn for any help. ---

DIGITAL BIZ TECHBy DIGITAL BIZ TECH
1409

Automated YouTube video uploads with 12h interval scheduling in JST

This workflow automates a batch upload of multiple videos to YouTube, spacing each upload 12 hours apart in Japan Standard Time (UTC+9) and automatically adding them to a playlist. βš™οΈ Workflow Logic Manual Trigger β€” Starts the workflow manually. List Video Files β€” Uses a shell command to find all .mp4 files under the specified directory (/opt/downloads/单词卑/A1-A2). Sort and Generate Items β€” Sorts videos by day number (dayXX) extracted from filenames and assigns a sequential order value. Calculate Publish Schedule (+12h Interval) β€” Computes the next rounded JST hour plus a configurable buffer (default 30 min). Staggers each video’s scheduled time by order Γ— 12 hours. Converts JST back to UTC for YouTube’s publishAt field. Split in Batches (1 per video) β€” Iterates over each video item. Read Video File β€” Loads the corresponding video from disk. Upload to YouTube (Scheduled) β€” Uploads the video privately with the computed publishAtUtc. Add to Playlist β€” Adds the newly uploaded video to the target playlist. πŸ•’ Highlights Timezone-safe: Pure UTC ↔ JST conversion avoids double-offset errors. Sequential scheduling: Ensures each upload is 12 hours apart to prevent clustering. Customizable: Change SPANHOURS, BUFFERMIN, or directory paths easily. Retry-ready: Each upload and playlist step has retry logic to handle transient errors. πŸ’‘ Typical Use Cases Multi-part educational video series (e.g., A1–A2 English learning). Regular content release cadence without manual scheduling. Automated YouTube publishing pipelines for pre-produced content. --- Author: Zane Category: Automation / YouTube / Scheduler Timezone: JST (UTC+09:00)

ZaneBy Zane
226

Newsletter signup flow with Email Verification API, Gmail & Google Sheets tracking

Newsletter Sign-up with Email Verification & Welcome Email Automation πŸ“‹ Description A complete, production-ready newsletter automation workflow that validates email addresses, sends personalized welcome emails, and maintains comprehensive logs in Google Sheets. Perfect for marketing teams, content creators, and businesses looking to build high-quality email lists with minimal manual effort. ✨ Key Features Email Verification Real-time validation using Verifi Email API Checks email format (RFC compliance) Verifies domain existence and MX records Detects disposable/temporary email addresses Identifies potential spoofed emails Automated Welcome Emails Personalized HTML emails with subscriber's first name Beautiful, mobile-responsive design with gradient headers Branded confirmation and unsubscribe links Sent via Gmail (or SMTP) automatically to valid subscribers Smart Data Handling Comprehensive logging to Google Sheets with three separate tabs Handles incomplete submissions gracefully Preserves original user data throughout verification process Tracks source attribution for multi-channel campaigns Error Management Automatic retry logic on API failures Separate logging for different error types Detailed technical reasons for invalid emails No data loss with direct webhook referencing 🎯 Use Cases Newsletter sign-ups on websites and landing pages Lead generation forms with quality control Marketing campaigns requiring verified email lists Community building with automated onboarding SaaS product launches with email collection Content creator audience building E-commerce customer list management πŸ“Š What Gets Logged Master Log (All Subscribers) Timestamp, name, email, verification result Verification score and email sent status Source tracking, disposable status, domain info Invalid Emails Log Detailed rejection reasons Technical diagnostic information MX record status, RFC compliance Provider information for troubleshooting Invalid Submissions Log Incomplete form data Missing required fields Timestamp for follow-up πŸ”§ Technical Stack Trigger: Webhook (POST endpoint) Email Verification: Verifi Email API Email Sending: Gmail OAuth2 (or SMTP) Data Storage: Google Sheets (3 tabs) Processing: JavaScript code nodes for data formatting πŸš€ Setup Requirements Google Account - For Sheets and Gmail integration Verifi Email API Key - (https://verifi.email) Google Sheets - Pre-configured with 3 tabs (template provided) 5-10 minutes - Quick setup with step-by-step instructions included πŸ“ˆ Benefits βœ… Improve Email Deliverability - Remove invalid emails before sending campaigns βœ… Reduce Bounce Rates - Only send to verified, active email addresses βœ… Save Money - Don't waste email credits on invalid addresses βœ… Better Analytics - Track conversion rates by source βœ… Professional Onboarding - Personalized welcome experience βœ… Scalable Solution - Handles high-volume sign-ups automatically βœ… Data Quality - Build a clean, high-quality subscriber list 🎨 Customization Options Email Template - Fully customizable HTML design Verification Threshold - Adjust score requirements Brand Colors - Match your company branding Confirmation Flow - Add double opt-in if desired Multiple Sources - Track different signup forms Language - Easily translate email content πŸ“¦ What's Included βœ… Complete n8n workflow JSON (ready to import) βœ… Google Sheets template structure βœ… Responsive HTML email template βœ… Setup documentation with screenshots βœ… Troubleshooting guide βœ… Customization examples πŸ”’ Privacy & Compliance GDPR-compliant with unsubscribe links Secure data handling via OAuth2 No data shared with third parties Audit trail in Google Sheets Easy data deletion/export πŸ’‘ Quick Stats 12 Nodes - Fully automated workflow 3 Data Paths - Valid, invalid, and incomplete submissions 100% Uptime - When properly configured Instant Processing - Real-time email verification Unlimited Scale - Based on your API limits πŸ† Perfect For Marketing Agencies SaaS Companies Content Creators E-commerce Stores Community Platforms Educational Institutions Membership Sites Newsletter Publishers 🌟 Why Use This Workflow? Instead of manually verifying emails or dealing with bounce complaints, this workflow automates the entire process from sign-up to welcome email. Save hours of manual work, improve your email deliverability, and create a professional first impression with every new subscriber. Start building a high-quality email list today! ---

Jitesh DugarBy Jitesh Dugar
245