Youtube RAG search with frontend using Apify, Qdrant and AI
Ready for 3.0What this workflow does
This AI workflow has 49 nodes and runs manually, when you click “Execute workflow” (plus 4 other triggers). Along the way it connects Qdrant Vector Store, Embeddings OpenAI, Redis and OpenAI Chat Model. It also calls api.apify.com and api.openai.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 4 other triggers).
- Get Latest Youtube Videos (HTTP Request): calls api.apify.com
- Incr Rate Limit (Redis): incr
- Generate Webpage (HTML): parses or builds HTML
- Ignore Already Seen (Remove Duplicates): removes duplicate items
- Get Video Subtitles (HTTP Request): calls api.apify.com
- 10req/min (If): checks a condition and branches into true / false
- Render Page (Respond to Webhook): sends the response back to the webhook caller
- For Each Video (Loop Over Items (Split in Batches)): loops over the items in batches
- Chunk Subtitles (Edit Fields (Set)): sets 1 field: vtt
- Get Query (Edit Fields (Set)): sets or maps fields
…plus 27 more steps. See the full node list below.
Services it uses
HTTP calls to: api.apify.com, api.openai.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (25)
- Manual Trigger
n8n-nodes-base.manualTrigger - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - Qdrant Vector Store
@n8n/n8n-nodes-langchain.vectorStoreQdrant - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - Recursive Character Text Splitter
@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - No Operation, do nothing
n8n-nodes-base.noOp - Wait
n8n-nodes-base.wait - Sort
n8n-nodes-base.sort - Respond to Webhook
n8n-nodes-base.respondToWebhook - Information Extractor
@n8n/n8n-nodes-langchain.informationExtractor - Webhook
n8n-nodes-base.webhook - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - If
n8n-nodes-base.if - Redis
n8n-nodes-base.redis - Execute Sub-workflow
n8n-nodes-base.executeWorkflow - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Split Out
n8n-nodes-base.splitOut - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Remove Duplicates
n8n-nodes-base.removeDuplicates - HTML
n8n-nodes-base.html - Markdown
n8n-nodes-base.markdown - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
From the author
Ever wanted to build your own RAG search over Youtube videos? Well, now you can! This n8n template shows how you can build a very capable Youtube search engine powered by Apify, Qdrant and your LLM of choice to quickly and efficiently browse over many videos…