Published 6 days ago
This n8n workflow is designed to assist YouTube content creators in identifying trending topics within a specific niche. By leveraging YouTube's search and data APIs, it gathers and analyzes video performance metrics from the past two days to provide insights into what content is gaining traction. Here's how the workflow operates:
Trigger Setup: The workflow begins when a user sends a query through the chat_message_received
node. If no niche is provided, the AI prompts the user to select or input one.
AI Agent (Language Model): The central node utilizes a GPT-based AI agent to:
YouTube Search: The youtube_search
node runs a secondary workflow to query YouTube for relevant videos published within the last two days. It retrieves basic video data such as video IDs, relevance scores, and publication dates.
Video Details Retrieval: The workflow fetches additional details for each video:
Data Processing:
Output: The workflow compiles insights and presents them to the user, highlighting:
get_videos
, find_video_snippet
, find_video_statistics
, and find_video_data
nodes.window_buffer_memory
node ensures the AI agent retains context during analysis, enhancing the quality of the generated insights.This workflow is ideal for YouTubers or marketers seeking data-driven inspiration for creating content that aligns with current trends, maximizing the potential to engage their audience.
For the niche "digital marketing":
Implement complex processes faster with n8n