Zum Inhalt springen
NEULerne Alaaddin kennen, deinen KI-Flaschengeist mit Stimme. trig8n startet am 1. Januar 2027. Neuigkeiten ansehen

Bibliothek / Dateien & Cloud-Speicher

Dateien & Cloud-Speicher

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.

Was sie bewirkt

## 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.

Die Schritte

  1. Receive YouTube URL
  2. Extract Video ID
  3. Fetch YouTube Video Details
  4. Fetch Video Transcript
  5. Clean Transcript Text
  6. Generate Social Media Content
  7. Extract AI Response
  8. Convert AI Response to JSON
  9. Create Thumbnail Prompt
  10. Extract Thumbnail Prompt
  11. Generate AI Thumbnail
  12. Upload Thumbnail
  13. Make Thumbnail Public
  14. Prepare Thumbnail URL

Insgesamt 16 Schritte.

Ähnliche Automatisierungen