Overview
The YouTube block retrieves video data from YouTube. Use it to search for videos by keyword, get video details, or extract transcripts for content research, competitor analysis, and video content creation.Configuration
Operation
Select the YouTube operation to perform.Search Videos Configuration
Use these settings when the operation is set to “Search Videos”.Search Query
Enter the keyword or phrase to search for on YouTube. This field supports placeholders for dynamic values. Examples:- Static search:
SEO tutorial 2024 - From previous step:
{{step_1.output.topic}} - Combined:
{{input.keyword}} tutorial
Max Results
Set the maximum number of videos to retrieve.- Default: 10 videos
- Recommended: Start with 10, increase as needed
Sorting Order
Choose how search results are sorted.Search Videos Output
The Search Videos operation returns an array of video objects.Output Structure
Search Videos Output Fields
Accessing Search Results
Get first video:Get Video Details Configuration
Use these settings when the operation is set to “Get Video Details”.Video URL
Enter the full YouTube video URL. This field supports placeholders for dynamic values. Examples:- Direct URL:
https://www.youtube.com/watch?v=abc123 - From previous step:
{{step_1.output[0].url}} - From loop:
{{current.url}}
Get Transcript
Enable this option to download the video’s subtitles/transcript.- Enabled: Includes transcript in SRT format
- Disabled: Returns video details without transcript (default)
Get Video Details Output
The Get Video Details operation returns a single video object with detailed information.Output Structure
Get Video Details Output Fields
Accessing Video Details
Get video title:Credits
Examples:
- Search returning 10 videos = 20 credits
- Search returning 15 videos = 40 credits
- Get details for 1 video = 5 credits
Best Practices
Search Videos
- Use specific keywords for more relevant results
- Include year or “2024” for recent content
- Start with 10 results, increase if needed
- Use “Views” sort to find popular content
- Use “Date” sort for trending topics
Get Video Details
- Enable transcript for content repurposing
- Combine with LLM to summarize long videos
- Extract key timestamps from transcripts
- Use subscriber count to assess channel authority
Common Use Cases
Example Workflow: Video Research
Research video content on a topic:-
YouTube Block (Search Videos):
- Operation: Search Videos
- Search Query:
{{input.topic}} tutorial - Max Results: 10
- Sorting Order: Views
-
LLM Block:
- Google Sheets Block: Store research findings
Example Workflow: Transcript Analysis
Extract and analyze video transcripts:-
YouTube Block (Search Videos):
- Operation: Search Videos
- Search Query:
{{input.keyword}} - Max Results: 5
- Sorting Order: Views
- Loop Block: Process each video
-
YouTube Block (Get Video Details):
- Operation: Get Video Details
- Video URL:
{{current.url}} - Get Transcript: Enabled
-
LLM Block:
- Google Sheets Block: Append summaries
Example Workflow: Competitor Video Analysis
Analyze competitor YouTube content:- Google Sheets Block: Read list of competitor channel names
- Loop Block: Process each competitor
-
YouTube Block (Search Videos):
- Operation: Search Videos
- Search Query:
{{current.channel_name}} - Max Results: 10
- Sorting Order: Views
-
LLM Block:
- Google Sheets Block: Append competitor analysis
Troubleshooting
Search Videos Issues
Get Video Details Issues
What’s Next
Now that you understand the YouTube block:- Learn about LLM Block to analyze video content
- See Loop Block to process multiple videos
- Explore Google Sheets Block to store video data
- Check Reddit Block for additional content research