Block 1 - When chat message received
- Type / Role
- @n8n/n8n-nodes-langchain.chatTrigger - chatTrigger
- Config choices
- Version 1.3
This template provides a high performance, cost optimized alternative to standard AI Agents for building RAG (Retrieval Augmented Generation) chatbots. Instead of relying on a single expensive mode...
@n8n/n8n-nodes-langchain.chattrigger, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.chainllm, n8n-nodes-base.httprequest, @n8n/n8n-nodes-langchain.textclassifier, @n8n/n8n-nodes-langchain.chat, @n8n/n8n-nodes-langchain.memorymanager, @n8n/n8n-nodes-langchain.memorybufferwindow
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Guillaume Duvernay.
Original n8n.io sourceThis template provides a high-performance, cost-optimized alternative to standard AI Agents for building RAG (Retrieval-Augmented Generation) chatbots.
Instead of relying on a single expensive model to decide every action, this workflow uses a modular "Routing & Specialized Steps" architecture.
It delivers results up to 50% faster and 3x more cost-efficiently by only involving heavy-duty models when deep internal knowledge is actually required.
By leveraging Lookio as the core RAG platform, you can connect your own documentation (PDFs, Docs, Webpages) to a chat interface without the complexity of managing vector databases or custom chunking strategies manually.
Learn more about breaking down agents for efficiency in this YouTube deep dive.
Lookio is a business-focused AI platform designed for automated knowledge retrieval.
Unlike casual AI tools, Lookio is "API-first," meaning it’s built specifically to integrate with tools like n8n.
It handles the entire RAG pipeline—from document ingestion to vector storage and logical retrieval—allowing you to focus on building the logic of your automation rather than the infrastructure of your AI.
Lookio offers various query modes (Eco, Flash, Deep) so you can prioritize speed or depth depending on your budget.
<YOUR-API-KEY> in the header and paste your assistant_id in the body.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 | Build a cost-efficient Lookio RAG chatbot with GPT-4.1 models for knowledge Q&A |
|---|---|
| Complexity | advanced |
| Nodes | 20 |
| Categories | Support Chatbot, AI RAG |
| Author | Guillaume Duvernay |
| Published | 06 Jan 2026 |
Use the JSON export at /data/workflows/12521/12521.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.
This template provides a high performance, cost optimized alternative to standard AI Agents for building RAG (Retrieval Augmented Generation) chatbots. Instead of relying on a single expensive mode...
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.