Skip to main content

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

Workflow preview

Workflow preview
100%
Extract YouTube video clips with Claude and Apify from natural language prompts preview
Open on n8n.io

1. Workflow Overview

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

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.formtrigger, n8n-nodes-base.set, n8n-nodes-base.httprequest, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.googlesheets, @n8n/n8n-nodes-langchain.lmchatanthropic, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Matty Reed.

Original n8n.io source

1.1 Workflow description

Title
Extract YouTube video clips with Claude and Apify from natural language prompts
Workflow name
Extract YouTube video clips with Claude and Apify from natural language prompts

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

# Node Purpose
1 YouTube Clip Request Form Web form to submit YouTube URL, clip description, count, and max duration.
2 Workflow Configuration Centralizes Apify credentials and user inputs.
3 Get Video Transcript from Apify Fetches the full video transcript via Apify Actor.
4 Find Clips from Transcript AI Agent (Claude) analyzes transcript and identifies clip timestamps based on your description.
5 Prepare Clip Requests Formats the AI-identified clips for the clipping service.
6 Create Clips via Apify Sends clip requests to Apify Actor to extract video segments.
7a Save Clip Links to Google Sheets Logs clip URLs to a spreadsheet for easy access.
7b Download 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
  1. Credentials
  • Add your Apify API Token to Workflow Configuration
  • Connect Google Sheets OAuth2 credential
  • Connect Anthropic API credential (for Claude)
  1. 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
  1. Optional: Local Downloads
  • Set localSavePath in Workflow Configuration
  • Ensure directory exists and n8n has write permissions
  1. 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

  • Slack/Discord notification – Add a node to ping you when clips are ready.
  • Batch processing – Modify to accept multiple YouTube URLs at once.
  • Custom AI prompts – Tweak the Agent system prompt for different clip styles (tutorials, highlights, quotes).

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

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - YouTube Clip Request Form

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.3

Block 2 - Workflow Configuration

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 3 - Get Video Transcript from Apify

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 4 - Find Clips from Transcript

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3

Block 5 - Prepare Clip Requests

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 6 - Create Clips via Apify

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 7 - Save Clip Links to Google Sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 8 - Anthropic Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatAnthropic - lmChatAnthropic
Config choices
Version 1.3

Block 9 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.3

Block 10 - Setup Instructions

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Download Clip Files

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 16 - Save Files Locally

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 17 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Extract YouTube video clips with Claude and Apify from natural language prompts
Complexity advanced
Nodes 17
Categories Content Creation, Multimodal AI
Author Matty Reed
Published 02 Feb 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13169/13169.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Extract YouTube video clips with Claude and Apify from natural language prompts do?

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

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.