AI YouTube Trend Explorer – n8n Automation Workflow with Gemini/ChatGPT
This n8n template helps you automatically discover, analyze, and track trending topics and videos on YouTube using an AI-powered agent.
Use cases are many: This workflow is perfect for YouTube creators needing fresh video ideas, digital marketers scouting new campaign topics, social media managers who want to catch trends early, and researchers who want to analyze what’s viral.
How It Works The workflow starts whenever a chat message is received (e.g., a trend question, a topic prompt, or a request for insights). Incoming chat is routed to the AI Agent – Trend Explorer node: First, the agent triggers the Workflow – YouTube Search tool to gather the latest trending topics and keywords from YouTube. Next, the agent supplies this real-time YouTube data to the OpenAI Chat Model for deep analysis, trend interpretation, and unique insights. To provide context-aware answers and track ongoing interests, the agent also references a Simple Memory module, recalling past queries, and user instructions. Finally, the result is a fast, data-driven, and smart trend report delivered instantly to your chat.
How To Set Up Download the workflow package (including 2 .json files) and import it into your n8n interface. Set up necessary access in the following components of the AI Agent - Trend Explorer node: OpenAI Chat Model: allows API connection for trend insights. Workflow – YouTube Search: searches for trending videos based on the query. Simple Memory (optional): enhances experience for ongoing sessions. Start by sending a chat message on n8n. Check the response from the AI agent in the same chat box. Ask follow-ups, explore deeper, or trigger new searches - all in one chat thread.
Requirements n8n instance (self-hosted or cloud). Set up API access to OpenAI Chat Model for chat-based AI.
How To Customize Connect to your favorite chat platforms**: Easily integrate with additional chat triggers such as Telegram, Slack, or your preferred messaging app. Choose your preferred AI model**: If you want a different viewpoint, simply swap OpenAI Chat Model for Google Gemini, Claude, or any compatible LLM model in your workflow. Upgrade memory for smarter conversations: For long-term recall or more advanced, context-aware chats, replace **Simple Memory with a vector database like Pinecone or Redis.
Need Help? If you’d like this workflow customized to fit your tools and platforms availability, or if you’re looking to build a tailored AI Agent for your own business - please feel free to reach out to Agent Circle. We’re always here to support and help you to bring automation ideas to life.
Join our community on different platforms for support, inspiration and tips from others.
Website: https://www.agentcircle.ai/ Etsy: https://www.etsy.com/shop/AgentCircle Gumroad: http://agentcircle.gumroad.com/ Discord Global: https://discord.gg/d8SkCzKwnP FB Page Global: https://www.facebook.com/agentcircle/ FB Group Global: https://www.facebook.com/groups/aiagentcircle/ X: https://x.com/agent_circle YouTube: https://www.youtube.com/@agentcircle LinkedIn: https://www.linkedin.com/company/agentcircle
Related Templates
Use OpenRouter in n8n versions <1.78
What it is: In version 1.78, n8n introduced a dedicated node to use the OpenRouter service, which lets you to use a lot...
Task Deadline Reminders with Google Sheets, ChatGPT, and Gmail
Intro This template is for project managers, team leads, or anyone who wants to automatically remind teammates of tasks ...
🤖 Build Resilient AI Workflows with Automatic GPT and Gemini Failover Chain
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. How it works This...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments