Sync documentation vectors from GitHub with Ollama and Qdrant
Ready for 3.0What this workflow does
This AI workflow has 14 nodes and runs on a schedule (every day at 03:00). Along the way it connects Qdrant Vector Store and Embeddings Ollama. It also calls api.github.com and qdrant:6333 over HTTP.
How it runs
Trigger: On a schedule (every day at 03:00).
- Fetch Latest Commit SHA (HTTP Request): calls api.github.com
- Fetch Qdrant State SHA (HTTP Request): calls qdrant:6333
- Check Commit SHA Change (Code): runs custom JavaScript code
- Delete n8n Docs Qdrant Vector Store (HTTP Request): calls qdrant:6333 (POST)
- Fetch n8n Docs Tree (HTTP Request): calls api.github.com
- Parse Doc File List (Code): runs custom JavaScript code
- Fetch Raw Markdown (HTTP Request): calls an HTTP API
- Markdown Section Chunker (Code): runs custom JavaScript code
- Qdrant Vector Store: stores documents in the Qdrant vector store, with embeddings: Embeddings Ollama; document loader: Default Data Loader
- Prepare State Payload (Code): runs custom JavaScript code
…plus 1 more step. See the full node list below.
Services it uses
Other Ollama + Qdrant templates (15)
HTTP calls to: api.github.com, qdrant:6333
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (6)
- Qdrant Vector Store
@n8n/n8n-nodes-langchain.vectorStoreQdrant - Embeddings Ollama
@n8n/n8n-nodes-langchain.embeddingsOllama - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader
From the author
Quick overview This workflow runs daily to sync the n8n-io/n8n-docs GitHub repository into a Qdrant vector collection by fetching Markdown files, chunking them by section, generating embeddings with Ollama, and storing the chunks with metadata for retrieval.…