Automate YouTube Video Discovery and Analysis
detail.loadingPreview
Streamline your YouTube content strategy by automatically searching for videos based on your query, extracting detailed information, and filtering for the most relevant and engaging content. This workflow helps you discover trending videos, analyze their performance, and gain insights into your niche.
About This Workflow
This n8n workflow is designed to revolutionize how you interact with YouTube data. It begins by triggering from another workflow, allowing for seamless integration into your existing automation pipelines. It then leverages the power of the YouTube API to search for videos based on a dynamic search_term you provide. The workflow intelligently filters results to include only videos published within the last two days, prioritizing relevance and moderate safe search settings. It then refines this by fetching detailed video information, including content details, snippets, and statistics. Finally, it processes this data, allowing you to store and utilize crucial insights like view counts, like counts, and descriptions for your marketing and analysis needs.
Key Features
- Dynamically search YouTube for videos based on your specified keywords.
- Filter videos by publication date and relevance for up-to-date content.
- Extract comprehensive video details: view counts, likes, comments, descriptions, tags, and more.
- Automate the process of identifying trending or relevant YouTube content.
- Integrate seamlessly with other n8n workflows for end-to-end automation.
How To Use
- Trigger Workflow: This workflow is designed to be triggered by another n8n workflow. Ensure the calling workflow passes a
search_termparameter. - Configure YouTube Node: In the 'Youtube - Get Video' node, ensure your YouTube API credentials are set up correctly. The
qparameter will be dynamically populated by thesearch_termfrom the trigger. - Set Publication Filter: The 'Youtube - Get Video' node is pre-configured to search for videos published within the last 2 days. Adjust the
publishedAfterparameter if you require a different time range. - Define Advanced Search: The 'Youtube - Get Video' node allows for additional filtering like
regionCodeandorder. Customize these as needed. - Process Video Data: The 'HTTP - Find Video Data' node makes a second API call to retrieve more granular details about each video found.
- Conditional Logic (Optional): The 'If - Longer Than 3' node allows you to apply further logic, for instance, filtering videos based on their duration.
- Group and Output Data: The 'Field - Group Data' node consolidates key video statistics and metadata into a structured format for easier use in subsequent steps or for outputting.
- Save Data: The 'Code - Save Data To Memory' node is crucial for persisting the processed data for future use or for passing it to another workflow. Customize the
jsCodeto store data as needed.
Apps Used
Workflow JSON
{
"id": "2968c0bc-060c-4533-b6b6-d889ec41f974",
"name": "Automate YouTube Video Discovery and Analysis",
"nodes": 17,
"category": "Marketing",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 2968c0bc-060c...
About the Author
DevOps_Master_X
Infrastructure Expert
Specializing in CI/CD pipelines, Docker, and Kubernetes automations.
Statistics
Related Workflows
Discover more workflows you might like
Automated Multi-Platform Social Media Publisher
Streamline your social media content creation and publishing with this n8n workflow. Simply fill out a web form with your caption, media (image or video), and target platforms, and let n8n automate the posting process across multiple social networks.
WhatsApp AI Assistant: LLaMA 4 & Google Search for Real-Time Insights
Instantly deploy a smart AI assistant on WhatsApp, powered by Groq's lightning-fast LLaMA 4 model. This workflow enables real-time conversations, remembers context, and provides up-to-date answers by integrating live Google Search results.
AI-Powered On-Page SEO Audit & Report Automation
Instantly generate comprehensive on-page SEO technical and content audits for any website URL. This AI-powered workflow automates the entire process, from scraping the page to delivering a detailed report directly to your inbox, empowering you to optimize for better search rankings and user engagement.