🎬 Extract YouTube video clips with Claude and Apify from natural language prompts

⚡ 27 views · 🎬 Content Creation & Video

💡 Pro Tip — YouTube’s API quotas can be a bottleneck when you’re pulling data at scale. ScraperNode is a community node with dedicated scrapers for channels, videos, and comments — no quota limits, just structured data.

View All Scrapers

Description

Who is this for?

Content creators, marketers, and video editors who want to automatically extract highlight clips from YouTube videos using natural language descriptions—no manual timestamp hunting required.


What problem does it solve?

Manually scrubbing through long videos to find specific moments is time-consuming and tedious. This workflow automates the entire process: describe what clips you want in plain English, and AI analyzes the transcript to find and extract them automatically.


How it works

#NodePurpose
1YouTube Clip Request FormWeb form to submit YouTube URL, clip description, count, and max duration.
2Workflow ConfigurationCentralizes Apify credentials and user inputs.
3Get Video Transcript from ApifyFetches the full video transcript via Apify Actor.
4Find Clips from TranscriptAI Agent (Claude) analyzes transcript and identifies clip timestamps based on your description.
5Prepare Clip RequestsFormats the AI-identified clips for the clipping service.
6Create Clips via ApifySends clip requests to Apify Actor to extract video segments.
7aSave Clip Links to Google SheetsLogs clip URLs to a spreadsheet for easy access.
7bDownload Clip Files (optional)Downloads clips locally to your specified directory.

Setup steps

  1. Apify Configuration

    • Sign up at Apify and get your API token
    • Deploy or find Actors for: YouTube transcript extraction, video clipping
    • Copy Actor URLs to the Workflow Configuration node
  2. Credentials

    • Add your Apify API Token to Workflow Configuration
    • Connect Google Sheets OAuth2 credential
    • Connect Anthropic API credential (for Claude)
  3. Google Sheets Setup

    • Create a sheet with columns: Url, Mp4 360p, Mp4 720, Mp4 1080, Mp3
    • Update the Document ID and Sheet Name in “Save Clip Links” node
  4. Optional: Local Downloads

    • Set localSavePath in Workflow Configuration
    • Ensure directory exists and n8n has write permissions
  5. Test

    • Open the form Test URL
    • Submit a YouTube URL with a clip description (e.g., “funny moments” or “key insights”)
    • Verify clips appear in Google Sheets

Resources


Extending the flow

Describe what you want, let AI find it, get clips—zero manual scrubbing.

đź”— Nodes Used

Google Sheets, HTTP Request, AI Agent, Anthropic Chat Model, Structured Output Parser, n8n Form Trigger

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup