Get a chat assistant that finds fresh YouTube videos for a specific niche and returns the best options with clear stats. It helps creators and marketing teams plan content faster and pick ideas with more confidence.
A chat message triggers an AI Agent with short term memory. The agent checks if the user gave a niche. If not, it asks for one. When a niche is provided, it runs a YouTube search tool that looks for recent videos from the last two days in the US. Results go through a loop to enrich each video with details like duration and metrics using the YouTube API. A filter keeps only items that meet length rules. Cleaned and grouped data gets saved and sent back as a single response.
You will need an OpenAI API key, a YouTube OAuth connection, and a Google Cloud API key with the YouTube Data API enabled. Set the GOOGLE_API_KEY environment variable in n8n Cloud. Expect research time to drop from hours to minutes while keeping results consistent. This fits channels, agencies, and brands that track niche trends often. Adjust region, safe search, and date filters to match your audience and goals.