Block 1 - Query Classification
- Type / Role
- @n8n/n8n-nodes-langchain.agent - agent
- Config choices
- Version 1.8
This workflow is provided as-is. Please review and test before using in production.
Unlock adaptive, context aware AI chat in your automations—no coding required! This template is a plug and play n8n workflow that transforms how your chatbots, support agents, and knowledge systems...
@n8n/n8n-nodes-langchain.agent, n8n-nodes-base.switch, @n8n/n8n-nodes-langchain.chattrigger, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.lmchatgooglegemini, @n8n/n8n-nodes-langchain.memorybufferwindow, @n8n/n8n-nodes-langchain.embeddingsgooglegemini, n8n-nodes-base.stickynote
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Brandon Crenshaw.
Original n8n.io sourceUnlock adaptive, context-aware AI chat in your automations—no coding required!
This template is a plug-and-play n8n workflow that transforms how your chatbots, support agents, and knowledge systems respond to users. Powered by Google Gemini and a Qdrant vector database, it automatically classifies every incoming query and applies a tailor-made strategy for Factual, Analytical, Opinion, or Contextual requests—delivering the right answer, every time.
🛠️ Key Features Automatic Query Classification: Seamlessly detects whether the user wants facts, a deep analysis, opinions, or context—then routes each input to the best answering strategy.
Four Dynamic Retrieval Modes:
End-to-End RAG Pipeline: Uses Gemini to classify and answer, while Qdrant powers fast, smart knowledge retrieval.
No-Code Visual Editing: Import into n8n, connect your LLM and vector database credentials, and you’re live—customize, extend, and scale with zero backend code.
Reusable in Any Project: Perfect for customer support, research, onboarding bots, internal knowledgebases, or any adaptive AI chat interface.
🚀 How it Works
🧩 What’s Included
💡 Use Cases
Any scenario where smarter, more relevant answers = better user experience
Ready to build smarter automations? Import this template, connect your Gemini & Qdrant accounts, and let your AI agent adapt to every conversation.
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.
Showing the first 24 of 40 workflow blocks. Download the JSON for the full node graph.
| Workflow | Create adaptive RAG chat agent with Google Gemini and Qdrant |
|---|---|
| Complexity | advanced |
| Nodes | 40 |
| Categories | Support Chatbot, AI RAG |
| Author | Brandon Crenshaw |
| Published | 22 Jun 2025 |
Use the JSON export at /data/workflows/5111/5111.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.
Unlock adaptive, context aware AI chat in your automations—no coding required! This template is a plug and play n8n workflow that transforms how your chatbots, support agents, and knowledge systems...
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 Support Chatbot, AI RAG use case.