workflows.fit
Back to n8n workflows
n8n templateFreeBy Abdul Mir

Company website chatbot agent (RAG, calendar integrations)

Company Website Chatbot Agent Overview This workflow implements a modular Website AI Chatbot Assistant capable of handling multiple types of customer interactions autonomously. Instead of relying on a single large age...

AILangchainCore NodesChat TriggerLm Chat Open AiTool WorkflowMemory Buffer Window
Loading interactive preview...

Template notes

Company Website Chatbot Agent

Overview This workflow implements a modular Website AI Chatbot Assistant capable of handling multiple types of customer interactions autonomously. Instead of relying on a single large agent to handle all logic and tools, this system routes user queries to specialized sub-agents—each dedicated to a specific function.

By using a manager-style orchestration layer, this approach prevents overloading a single AI model with excessive context, leading to cleaner routing, faster execution, and easier scaling as your automation needs grow.

---

How It Works

1. Chat Trigger - The flow is initiated when a chat message is received via the website widget.

2. Manager Agent (Ultimate Website AI Assistant) - The central LLM-based agent is responsible for parsing the message and deciding which specialized sub-agent to route it to. - It uses an OpenAI GPT model for natural language understanding and a lightweight memory system to preserve recent context.

3. Sub-Agent Routing - calendarAgent: Handles availability checks and books meetings on connected calendars. - RAGAgent: Searches company documentation or FAQs to provide accurate responses from your internal knowledge base. - ticketAgent: Forwards requests to human support by generating and sending support tickets to a designated email.