Complete Youtube

Main Workflow

Workflow Structure (13 nodes)
100%
Langchain.chat Trigger
chat_message_received
Langchain.lm Chat Open Ai
openai_llm
Langchain.agent
AI Agent
Langchain.memory Buffer Window
window_buffer_memory
Langchain.tool Workflow
youtube_search
You Tube
get_videos1
Split In Batches
loop_over_items1
Http Request
find_video_data1
Code
retrieve_data_from_memory1
If
if_longer_than_3_
Set
response1
Set
group_data1
Code
save_data_to_memory1
Node Types:
default
trigger
http
transform
code
logic
Requires credentials

Prerequisites

Required Credentials (1)

You Tube

Used by: get_videos1

Docs

Complexity

Advanced

Expert level. Custom code, complex logic, many integrations.

Setup time: ~40 min
Score: 66/100
Custom Code
Conditional Logic
Loops

When to Use This Workflow

AI-Powered Content Creation

Automate content generation, summarization, or analysis using AI capabilities.

Save hours of manual work while maintaining quality and consistency.

Real-time Response

React instantly when events happen - new orders, form submissions, or API calls.

Zero delay between trigger and action for time-sensitive workflows.

Error Reduction

Eliminate human error from routine processes with consistent automation.

Improve accuracy and reliability across your workflows.

workflow.json
{
  "id": "XSyVFC1tsGSxNwX9",
  "meta": {
    "instanceId": "60ad864624415060d2d0a0e71acd8b3b40e4ee2e9ef4b439d9937d3d33537a96"
  },
  "name": "Complete Youtube",
  "tags": [],
  "nodes": [
    {
      "id": "fd74706b-609b-4723-b4a4-067e1b064194",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        300,
        60
      ],
      "parameters": {
        "options": {
          "systemMessage": "=You help youtube creators find trending videos based on a specific niche.\n\nVerify if the user informed a niche before doing anything. If not, then ask him for one by giving him suggestions for him to select from.\n\nAfter you know what type of content the user might produce, use the \"youtube_search\" tool up to 3 times with different search terms based on the user's content type and niche.\n\nThe tool will answer with a list of videos from the last 2 days that had the most amount of relevancy. It returns a list of json's covering each video's id, view count, like count, comment count, description, channel title, tags and channel id. Each video is separated by \"### NEXT VIDEO FOUND: ###\".\n\nYou should then proceed to understand the data received then provide the user with insightful data of what could be trending from the past 2 days. Provide the user links to the trending videos which should be in this structure:\n\nhttps://www.youtube.com/watch?v={video_id}\n\nto reach the channel's link you should use:\n\nhttps://www.youtube.com/channel/{channel_id}\n\nFind patterns in the tags, titles and especially in the related content for the videos found.\n\nYour mission isn't to find the trending videos. It's to provide the user with valuable information of what is trending in that niche in terms of content news. Remember to provide the user with the numbers of views, likes and comments while commenting about any video. So you should not talk about any particular video, focus rather in explaining the overall senario of all that was found.\n\nExample of response:\n\n\"It seems like what is trending in digital marketing right now is talking about mental triggers, since 3 of the most trending videos in the last 2 days were about...\""
        }
...

Workflow Details

Nodes
15
Trigger
Event
Source
awesome
Added
Dec 4, 2025

Need Help?

Check out the official n8n documentation for detailed guides.

Related Workflows

Build a Tax Code Assistant with Qdrant, Mistral.ai and OpenAI

Step 1. Download the Tax Code PDF [Read more about handling Zip Files](https://docs.n8n.io/integrations/builtin/core-nod...

Embeddingsmistralcloud
Documentdefaultdataloader
Textsplitterrecursivecharactertextsplitter
Http-request
38 nodesEvent
Curated

Building RAG Chatbot for Movie Recommendations with Qdrant and Open AI

Tool, calling Qdrant's recommendation API based on user's request, transformed by AI agent

Github
Embeddingsopenai
Documentdefaultdataloader
Textsplittertokensplitter
27 nodesEvent
Curated

AI-powered WooCommerce Support-Agent

Find WooCommerce User-ID User-ID is required to query past orders

Memorybufferwindow
Executeworkflow
Woocommerce
Http-request
40 nodesEvent
Curated

🔥📈🤖 AI Agent for n8n Creators Leaderboard - Find Popular Workflows

AI Agent for n8n Creator Leaderboard Stats https://github.com/teds-tech-talks/n8n-community-leaderboard

Http-request
Lmchatopenai
Executeworkflow
Chat
43 nodesEvent
Curated

Create a Branded AI-Powered Website Chatbot

Ensure these referance this workflow, replace placeholders

Memorybufferwindow
Lmchatopenai
Toolhttprequest
Executeworkflow
24 nodesWebhook
Curated

Chat with GitHub OpenAPI Specification using RAG (Pinecone and OpenAI)

Indexing content in the vector database This part of the workflow is responsible for extracting content, generating embe...

Http-request
Vectorstorepinecone
Documentdefaultdataloader
Textsplitterrecursivecharactertextsplitter
17 nodesEvent
Curated