Library / Files & Cloud Storage
Files & Cloud Storage
Repurpose YouTube videos into social posts and thumbnails with OpenAI
When an API call/webhook arrives, it manages files with OpenAI / ChatGPT using Apify, Google Drive, Notion, YouTube.
What it does
## How it works This workflow automatically converts a YouTube video into multiple types of social media content using AI. The workflow starts when a YouTube video URL is received through a webhook. It extracts the video ID, fetches video details from YouTube, and collects the video transcript using Apify. The transcript is cleaned and sent to OpenAI, which generates: LinkedIn post Twitter/X thread Blog content YouTube description The workflow also creates a professional AI thumbnail prompt and generates a custom thumbnail image using OpenAI image generation. The thumbnail image is uploaded to Google Drive, made publicly accessible, and its public link is stored. Finally, all generated content, transcript data, video details, and thumbnail URL are saved into a Notion database for easy content management and reuse. ## Setup steps 1. Create credentials for: YouTube API, OpenAI API, Apify API, Google Drive, Notion 2. Connect all credentials inside n8n. 3. Create a Notion database with fields for: Video Title, Video URL, Transcript, inkedIn Post, Twitter Thread, Blog, YouTube, Description, Thumbnail URL, Timestamp 3. Update the Notion Database ID in the workflow. 4. Activate the workflow. 5. Send a YouTube video URL to the webhook endpoint to generate AI content automatically.
The steps
- Receive YouTube URL
- Extract Video ID
- Fetch YouTube Video Details
- Fetch Video Transcript
- Clean Transcript Text
- Generate Social Media Content
- Extract AI Response
- Convert AI Response to JSON
- Create Thumbnail Prompt
- Extract Thumbnail Prompt
- Generate AI Thumbnail
- Upload Thumbnail
- Make Thumbnail Public
- Prepare Thumbnail URL
16 steps in total.
Similar automations
Social Media PublishingRepurpose YouTube Videos as Social Posts with Dumpling AI and Airtable13 stepsSocial Media PublishingRepurpose YouTube Videos into Tweets and LinkedIn Posts20 stepsContent Writing & GenerationRepurpose blog articles into review-ready social packs with Telegram, gpt-6-luna and45 stepsWeb Scraping & ResearchSummarize new YouTube videos with Apify and OpenAI and log to Notion and Slack19 steps