Skip to main content

Find the most relevant workflow templates using RAG, Qdrant and Gemini

Workflow preview

Workflow preview
100%
Find the most relevant workflow templates using RAG, Qdrant and Gemini preview
Open on n8n.io

1. Workflow Overview

AI Workflow Recommender (RAG + Qdrant + Gemini) This workflow helps users find the most relevant n8n templates using AI. It combines Retrieval Augmented Generation (RAG), vector search (Qdrant),...

Best for

  • Internal Wiki automation workflows
  • AI RAG automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.manualtrigger, n8n-nodes-base.code, n8n-nodes-base.splitout, n8n-nodes-base.set, n8n-nodes-base.httprequest, n8n-nodes-base.if, @n8n/n8n-nodes-langchain.vectorstoreqdrant

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by ARofiqi Maulana.

Original n8n.io source

1.1 Workflow description

Title
Find the most relevant workflow templates using RAG, Qdrant and Gemini
Workflow name
Find the most relevant workflow templates using RAG, Qdrant and Gemini

🤖 AI Workflow Recommender (RAG + Qdrant + Gemini)

This workflow helps users find the most relevant n8n templates using AI.

It combines Retrieval-Augmented Generation (RAG), vector search (Qdrant), and Gemini to understand user intent and recommend workflows based on meaning, not just keywords.


⚙️ How it works

  1. Collect workflow templates from the n8n API using multiple search queries
  2. Process and clean the data (split, format, deduplicate)
  3. Convert workflows into embeddings using Gemini
  4. Store embeddings in a vector database (Qdrant)
  5. Accept user queries via chat interface
  6. Convert queries into embeddings
  7. Retrieve relevant workflows using semantic search
  8. Generate AI-powered recommendations with explanations and template links

🚀 What this workflow does

  • Understands user intent (not just keywords)
  • Finds relevant workflows using semantic similarity
  • Recommends the best workflows with explanations
  • Provides ready-to-use template links

🧩 Setup steps

  • Set up Qdrant (Cloud or self-hosted)
  • Add Google Gemini API credentials
  • Run the Data Ingestion workflow to populate the database
  • Activate the RAG chatbot workflow

⚠️ Important

  • Make sure the vector database is populated before using the chatbot
  • Ensure embedding model and vector dimension match
  • Free-tier APIs may have rate limits

🎥 Tutorial

@youtube

1.2 Logical Blocks

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.

2. Block-by-Block Analysis

Block 1 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 3 - Start Ingestion (Manual Trigger)

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 4 - Generate Search Queries

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 5 - Split Queries

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 6 - Prepare Search Params

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 7 - Fetch Templates from n8n API

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.4

Block 8 - Check If Results Exist

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 9 - Split Workflows

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 10 - Format for Embedding (Content + Metadata)

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 11 - Remove Duplicate Templates

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 12 - Store in Vector DB (Qdrant)

Type / Role
@n8n/n8n-nodes-langchain.vectorStoreQdrant - vectorStoreQdrant
Config choices
Version 1.3

Block 13 - Generate Embeddings

Type / Role
@n8n/n8n-nodes-langchain.embeddingsGoogleGemini - embeddingsGoogleGemini
Config choices
Version 1

Block 14 - Load Documents for Embedding

Type / Role
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - documentDefaultDataLoader
Config choices
Version 1.1

Block 15 - Chat Input Trigger

Type / Role
@n8n/n8n-nodes-langchain.chatTrigger - chatTrigger
Config choices
Version 1.1

Block 16 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2

Block 17 - LLM (Gemini Chat Model)

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 18 - Conversation Memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 19 - Retriever (Qdrant)

Type / Role
@n8n/n8n-nodes-langchain.vectorStoreQdrant - vectorStoreQdrant
Config choices
Version 1.3

Block 20 - Query Embedding (Gemini)

Type / Role
@n8n/n8n-nodes-langchain.embeddingsGoogleGemini - embeddingsGoogleGemini
Config choices
Version 1

Block 21 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 23 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 24 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Showing the first 24 of 39 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Find the most relevant workflow templates using RAG, Qdrant and Gemini
Complexity advanced
Nodes 39
Categories Internal Wiki, AI RAG
Author ARofiqi Maulana
Published 15 Apr 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15081/15081.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

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.

Frequently asked questions

What does Find the most relevant workflow templates using RAG, Qdrant and Gemini do?

AI Workflow Recommender (RAG + Qdrant + Gemini) This workflow helps users find the most relevant n8n templates using AI. It combines Retrieval Augmented Generation (RAG), vector search (Qdrant),...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

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 Internal Wiki, AI RAG use case.