Index YouTube channel transcripts in Pinecone with Apify and OpenAI
UnknownWhat this workflow does
This AI workflow has 8 nodes and runs on a schedule (every day at 06:00). Along the way it connects Pinecone Vector Store, Embeddings OpenAI and Apify (community).
How it runs
Trigger: On a schedule (every day at 06:00).
- Settings (Edit Fields (Set)): sets 3 fields: channels, maxVideosPerChannel, chunkSizeWords
- Fetch new video transcripts (Apify): run actor and get dataset (actors)
- Keep videos with captions (Filter): keeps only the items that match a condition
- One item per transcript chunk (Code): runs custom JavaScript code
- Pinecone Vector Store: stores documents in the Pinecone vector store, with embeddings: OpenAI embeddings; document loader: Chunk text and metadata
Services it uses
Other Apify + OpenAI templates (230) · Other OpenAI + Pinecone templates (128) · Other Pinecone + Apify templates (5)
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @apify/n8n-nodes-apify is verified or supports 3.0 (used in Fetch new video transcripts).
Nodes used (8)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Apify
@apify/n8n-nodes-apify.apify - Filter
n8n-nodes-base.filter - Code
n8n-nodes-base.code - Pinecone Vector Store
@n8n/n8n-nodes-langchain.vectorStorePinecone - Embeddings OpenAI
@n8n/n8n-nodes-langchain.embeddingsOpenAi - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader
From the author
Quick overview This workflow runs daily to fetch newly published YouTube video transcripts via Apify, generates OpenAI embeddings for transcript chunks, and stores them with metadata in a Pinecone index for retrieval-augmented generation (RAG). How it works…