Block 1 - Airtable
- Type / Role
- n8n-nodes-base.airtable - airtable
- Config choices
- Version 2.1
This workflow is provided as-is. Please review and test before using in production.
YouTube Transcript Indexing Backend for Pinecone This tutorial explains how to build the backend workflow in n8n that indexes YouTube video transcripts into a Pinecone vector database. Note...
n8n-nodes-base.airtable, n8n-nodes-base.splitinbatches, n8n-nodes-base.wait, n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.vectorstorepinecone, @n8n/n8n-nodes-langchain.embeddingsopenai
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Adyl Itto.
Original n8n.io sourceThis tutorial explains how to build the backend workflow in n8n that indexes YouTube video transcripts into a Pinecone vector database. Note: This workflow handles the processing and indexing of transcripts onlyβthe retrieval agent (which searches these embeddings) is implemented separately.
This backend workflow performs the following tasks:
Fetch Video Records from Airtable π₯
Retrieves video URLs and related metadata.
Scrape YouTube Transcripts Using Apify π¬
Triggers an Apify actor to scrape transcripts with timestamps from each video.
Update Airtable with Transcript Data π
Stores the fetched transcript JSON back in Airtable linked via video ID.
Process & Chunk Transcripts βοΈ
Parses the transcript JSON, converts "mm:ss" timestamps to seconds, and groups entries into meaningful chunks. Each chunk is enriched with metadataβsuch as video title, description, start/end timestamps, and a direct URL linking to that video moment.
Generate Embeddings & Index in Pinecone πΎ
Uses OpenAI to create vector embeddings for each transcript chunk and indexes them in Pinecone. This enables efficient semantic searches later by a separate retrieval agent.
Airtable Search Node:
url and metadata) from your Airtable base.Loop Over Items:
Trigger Apify Actor:
https://api.apify.com/v2/acts/topaz_sharingan~youtube-transcript-scraper-1/runs?token=<YOUR_TOKEN> {
"includeTimestamps": "Yes",
"startUrls": ["{{ $json.url }}"]
}
Wait for Processing:
Retrieve Transcript Data:
https://api.apify.com/v2/acts/topaz_sharingan~youtube-transcript-scraper-1/runs/last/dataset/items?token=<YOUR_TOKEN>Format Transcript Data:
const jsonObject = items[0].json;
const jsonString = JSON.stringify(jsonObject, null, 2);
return { json: { stringifiedJson: jsonString } };
Extract the Video ID:
{{$json.url.split('v=')[1].split('&')[0]}}
Update Airtable Record:
Retrieve Updated Records:
Parse and Chunk Transcripts:
https://youtube.com/watch?v=VIDEOID&t=XXs).Enrich & Split Text:
Generate Embeddings:
Index in Pinecone:
"videos"). "transcripts").This backend workflow is dedicated to processing and indexing YouTube video transcripts so that a separate retrieval agent can perform efficient semantic searches. With this setup:
Transcripts Are Indexed:
Chunks of transcripts are enriched with metadata and stored as vector embeddings.
Instant Topic Retrieval:
A retrieval agent (implemented separately) can later query Pinecone to find the exact moment in a video where a topic is discussed, thanks to the direct URL and metadata stored with each chunk.
Scalable & Modular:
The separation between indexing and retrieval allows for easy updates and scalability.
Happy automating and enjoy building powerful search capabilities with your YouTube content! π
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | π Process YouTube transcripts with Apify, OpenAI & Pinecone database |
|---|---|
| Complexity | advanced |
| Nodes | 16 |
| Categories | Document Extraction, AI RAG |
| Author | Adyl Itto |
| Published | 16 Mar 2025 |
Use the JSON export at /data/workflows/3184/3184.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
YouTube Transcript Indexing Backend for Pinecone This tutorial explains how to build the backend workflow in n8n that indexes YouTube video transcripts into a Pinecone vector database. Note...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Document Extraction, AI RAG use case.