Library / Social Media Publishing
Social Media Publishing
Summarize New YouTube Videos with GPT-4o and Slack Approval
When a new video appears in a YouTube RSS feed, GPT-4o summarizes it, asks for approval in Slack, then posts to Discord and logs to Google Sheets.
What it does
# 📺 YouTube Video Summary Workflow – Documentation ## 🧩 Overview This n8n workflow automates the process of: * Monitoring a YouTube channel for new videos via RSS * Extracting video metadata * Summarizing the video description using GPT * Logging the summary in a Google Sheet * Requesting human approval via Slack * Posting the approved summary to a Discord channel --- ## 🔗 Workflow Breakdown ### 🔹 Group 1: Trigger & Metadata Extraction #### 1. Trigger: New YouTube Video via RSS * Type: RSS Trigger * Purpose: Listens for new videos published on a YouTube channel using its RSS feed. * Output: Latest video feed item including URL, title, and publication date. #### 2. Function: Extract Channel ID from RSS * Type: Function Node * Purpose: Parses the video URL from the RSS feed and extracts the YouTube Channel ID or Video ID. * Why: Required to fetch full video metadata using YouTube Data API in the next step. --- ### 🔹 Group 2: Video Metadata Retrieval #### 3. HTTP Request: Fetch Video Metadata from YouTube API * Type: HTTP Request Node * Purpose: Fetches detailed video data like description, title, and published date using the YouTube Data API. * Key Output Fields: * videoTitle * videoDescription * videoPublishedAt * videoURL --- ### 🔹 Group 3: AI Summary Generation #### 4. Agent: Summarize Video Description (GPT) * Type: OpenAI GPT Agent Node * Purpose: Uses OpenAI GPT model to generate a concise summary from the video description. * Model Used: OpenAI GPT (e.g., gpt-4 or gpt-3.5) * Inputs: Raw video description * Outputs: Clean, readable summary --- ### 🔹 Group 4: Storage & Human Approval #### 5. Google Sheets: Append Summary Record * Type: Google Sheets Node * Purpose: Logs each video’s summary to a Google Sheet. * Fields Stored: * Title * Video URL * Summary * Video Published Date #### 6. Slack: Send Summary for Approval * Type: Slack (sendAndWait) Node * Purpose: Sends the summary to a Slack channel for human review. * Interactivity: Waits for a response (approve or reject) from the user. --- ### 🔹 Group 5: Final Publishing #### 7. Discord: Post Approved Summary * Type: Discord Message Node * Purpose: Publishes the final approved summary to a specific Discord channel. * Condition: Only posts if approved via Slack interaction. --- ## ✅ Benefits * Automation: Saves time by
The steps
- YouTube RSS Trigger
- Extract Channel ID
- Fetch Video Details
- Summarize Agent
- OpenAI GPT Summary Model
- Store results to Google Sheet
- Send Summary for Approval
- Post Approved Summary
Similar automations
Social Media PublishingPost YouTube Videos with OpenAI Summaries to Discord7 stepsContent Writing & GenerationSummarize New YouTube Videos with ChatGPT for Discord29 stepsSocial Media PublishingSummarize YouTube Videos with GPT-4o and Post to Reddit8 stepsSocial Media PublishingShare New YouTube Videos on X, Facebook and Discord6 steps