Repurpose YouTube videos into social posts and thumbnails with OpenAI
UnknownWhat this workflow does
This AI workflow has 16 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects YouTube, OpenAI, Google Drive and Notion and 1 more.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Extract Video ID (Code): runs custom JavaScript code
- Fetch YouTube Video Details (YouTube): get (video)
- Fetch Video Transcript (Apify): uses Apify
- Clean Transcript Text (Code): runs custom JavaScript code
- Generate Social Media Content (OpenAI): uses OpenAI
- Extract AI Response (Code): runs custom JavaScript code
- Create Thumbnail Prompt (OpenAI): uses OpenAI
- Convert AI Response to JSON (Code): runs custom JavaScript code
- Extract Thumbnail Prompt (Code): runs custom JavaScript code
- Prepare Final Content Data (Code): runs custom JavaScript code
…plus 5 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @apify/n8n-nodes-apify is verified or supports 3.0 (used in Fetch Video Transcript).
Nodes used (8)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - YouTube
n8n-nodes-base.youTube - Apify
@apify/n8n-nodes-apify.apify - OpenAI
@n8n/n8n-nodes-langchain.openAi - Google Drive
n8n-nodes-base.googleDrive - Edit Fields (Set)
n8n-nodes-base.set - Notion
n8n-nodes-base.notion
From the author
Quick overview This workflow accepts a YouTube URL via webhook, pulls video details and a transcript, uses OpenAI to generate repurposed text content and a thumbnail image, uploads the thumbnail to Google Drive, and stores everything (including the public…