Website Chatbot Agent with Modular Sub-Agent Architecture
detail.loadingPreview
A modular AI chatbot for websites, routing user queries to specialized sub-agents for efficient handling of FAQs, calendar management, and support ticket creation.
About This Workflow
Website Chatbot Agent with Modular Sub-Agent Architecture
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.
Key Features
- Modular Sub-Agent Design: Dedicated agents for specific tasks (Calendar, RAG/FAQs, Ticketing).
- Intelligent Routing: A central agent (Ultimate Website Chatbot Agent) analyzes user input and directs it to the appropriate sub-agent.
- Contextual Memory: Utilizes 'Simple Memory' to maintain conversational context.
- FAQ Handling: Employs a RAG (Retrieval-Augmented Generation) agent for answering common questions.
- Calendar Integration: Includes a calendar agent for checking availability and booking appointments.
- Support Ticket Creation: A ticket agent to escalate complex issues or user requests for human follow-up.
- LLM Integration: Leverages OpenAI's GPT models for natural language understanding and processing.
How To Use
- Chat Trigger (
When chat message received): This node initiates the workflow when a new message is received from the website chat interface. - Main Agent (
Ultimate Website Chatbot Agent): This node acts as the core orchestrator. It receives the user's message, leverages theOpenAI Chat Modelfor understanding, and uses theSimple Memorynode to retain context. Based on thesystemMessageprompt, it decides which specialized tool (sub-agent) to call or if it needs to escalate. - Sub-Agents (
calendarAgent,RAGagent,ticketAgent): These nodes are specializedtoolWorkflownodes. Each is configured to handle a specific task by calling a separate workflow (indicated byworkflowId).calendarAgent: For calendar-related actions.RAGagent: For answering questions using a knowledge base.ticketAgent: For creating support tickets.
- OpenAI Model (
OpenAI Chat Model): Provides the language model capabilities for the main agent. - Memory (
Simple Memory): Stores recent conversation history to provide context to the main agent. - Sticky Note (
Sticky Note): Contains documentation and setup instructions for the workflow.
Apps Used
Workflow JSON
{
"id": "42346684-71dd-4603-9835-0c8888628177",
"name": "Website Chatbot Agent with Modular Sub-Agent Architecture",
"nodes": 22,
"category": "AI Assistants",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 42346684-71dd...
About the Author
SaaS_Connector
Integration Guru
Connecting CRM, Notion, and Slack to automate your life.
Statistics
Related Workflows
Discover more workflows you might like
Universal CSV to JSON API Converter
Effortlessly transform CSV data into structured JSON with this versatile n8n workflow. Integrate it into any application as a custom API endpoint, supporting various input methods including file uploads and raw text.
Automate Local Business Outreach with AI-Powered Yelp Scraper
This workflow automates the process of scraping local business details from Yelp using AI, then leverages that data to send personalized partnership proposals via Gmail. It's perfect for sales and marketing teams looking to streamline lead generation and outreach campaigns.
Automate Getty Images Editorial Search & CMS Integration
This n8n workflow automates searching for editorial images on Getty Images, extracts key details and embed codes, and prepares them for seamless integration into your Content Management System (CMS), streamlining your content creation process.