{"product_id":"n8n-template-vector-sync-ollama-embeddings-qdrant","title":"n8n Template Vector Sync: Ollama Embeddings + Qdrant","description":"\u003ch3\u003eVector-syncs fresh n8n templates into Qdrant using Ollama embeddings\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow automatically pulls the latest community workflow templates from the \u003cstrong\u003en8n public template catalog\u003c\/strong\u003e, converts each workflow into a sanitized searchable text document, generates \u003cstrong\u003eOllama embeddings\u003c\/strong\u003e, and upserts them into a \u003cstrong\u003eQdrant\u003c\/strong\u003e collection for local retrieval—every day at \u003cstrong\u003e2:00 AM\u003c\/strong\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns on a Schedule Trigger\u003c\/strong\u003e daily at \u003cstrong\u003e2:00 AM\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eFetches template listings\u003c\/strong\u003e by calling the n8n public catalog search API (first \u003cstrong\u003etwo pages\u003c\/strong\u003e), then splits the returned workflows into individual items.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRetrieves full workflow JSON\u003c\/strong\u003e for each template from the n8n workflow template API.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBuilds documents for embedding\u003c\/strong\u003e using workflow metadata, sticky note content, system messages, and node configuration; it also sanitizes non-printable characters.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eScans for exposed secrets\u003c\/strong\u003e by flagging templates that match common API key\/secret patterns.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePrevents duplicate vectors\u003c\/strong\u003e by deleting existing Qdrant points whose \u003ccode\u003emetadata.template_id\u003c\/code\u003e matches the templates being processed.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGenerates embeddings with Ollama\u003c\/strong\u003e using \u003cstrong\u003enomic-embed-text:latest\u003c\/strong\u003e and upserts documents + metadata into the Qdrant collection \u003cstrong\u003en8n_templates\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eKeep a \u003cstrong\u003elocal semantic search index\u003c\/strong\u003e of n8n community templates up to date without manual importing.\u003c\/li\u003e\n  \u003cli\u003eSupport internal “find similar workflows” experiences for \u003cstrong\u003eautomation engineers\u003c\/strong\u003e and \u003cstrong\u003eSaaS operators\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eReduce risk by \u003cstrong\u003eflagging potential exposed secrets\u003c\/strong\u003e before using template content for retrieval.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eIntegrations: \u003cstrong\u003en8n public template catalog API\u003c\/strong\u003e, \u003cstrong\u003eOllama\u003c\/strong\u003e, \u003cstrong\u003eQdrant\u003c\/strong\u003e (purge step calls \u003ccode\u003ehttp:\/\/qdrant:6333\u003c\/code\u003e).\u003c\/li\u003e\n  \u003cli\u003eTech stack \/ nodes used: \u003cstrong\u003ecode\u003c\/strong\u003e, \u003cstrong\u003eitem lists\u003c\/strong\u003e, \u003cstrong\u003esticky note\u003c\/strong\u003e, \u003cstrong\u003ehttp request\u003c\/strong\u003e, \u003cstrong\u003eschedule trigger\u003c\/strong\u003e, and \u003cstrong\u003en8n-nodes-langchainembeddings (Ollama embeddings)\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eSetup: create the Qdrant collection named \u003cstrong\u003en8n_templates\u003c\/strong\u003e, add Qdrant credentials in n8n, ensure Ollama has \u003cstrong\u003enomic-embed-text:latest\u003c\/strong\u003e, and update the purge URL\/collection settings if your host\/port differs.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45742777991347,"sku":"N8N-17628","price":3.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/rbmJfqvG3URSaKmEmMMvA_fEiZaqf2.png?v=1785402492","url":"https:\/\/buyflowscripts.com\/products\/n8n-template-vector-sync-ollama-embeddings-qdrant","provider":"N8N Commerce","version":"1.0","type":"link"}