What is KAIU Natural Living?
KAIU Natural Living is a modern SaaS e-commerce platform that combines the power of React, Node.js, and PostgreSQL with an intelligent AI orchestrator for WhatsApp customer service. The platform enables seamless product management, order processing, and customer engagement through automated AI responses and human handover capabilities.Quickstart Guide
Get your first order placed in under 5 minutes
Architecture Overview
Understand the tech stack and system design
AI Orchestrator
Learn how the WhatsApp AI chatbot works
API Reference
Explore the REST API endpoints
Key Features
AI-Powered WhatsApp Integration
The platform features an intelligent AI orchestrator built on Anthropic Claude 3 Haiku and LangChain that handles customer inquiries through WhatsApp automatically.The AI orchestrator automatically handles product inquiries, inventory searches, and can seamlessly hand over to human agents when requested.
Real-Time Dashboard with Socket.IO
Monitor and manage WhatsApp conversations in real-time through the admin dashboard.server.mjs
Complete E-Commerce Workflow
Product Management
Manage your product catalog with SKU tracking, inventory control, and multimedia support
Order Processing
Handle orders from creation through delivery with multiple payment methods (COD, Wompi, Transfer)
Logistics Integration
Automated shipping quote generation and label creation with Venndelo and other carriers
Platform Capabilities
Multi-Role User Management
Multi-Role User Management
The platform supports four distinct user roles:
- CUSTOMER: End users who place orders
- ADMIN: Business owner with full access
- WAREHOUSE: Logistics staff managing inventory and shipments
- SUPPORT: Agents handling WhatsApp chats and knowledge base
schema.prisma
Inventory & Stock Control
Inventory & Stock Control
Real-time inventory management with reserved stock tracking:
Order Status Tracking
Order Status Tracking
Comprehensive order lifecycle management:
- PENDING → CONFIRMED → PROCESSING → READY_TO_SHIP
- PICKUP_REQUESTED → SHIPPED → DELIVERED
- Alternative flows: CANCELLED, RETURNED
RAG-Powered Knowledge Base
RAG-Powered Knowledge Base
Vector-based semantic search using PostgreSQL pgvector extension:The AI can search company policies, shipping times, and product information to provide accurate responses.
Privacy & Compliance
backend/whatsapp/queue.js
Technology Stack
Frontend
React 18 + Vite + TailwindCSS
Backend
Node.js + Express + Socket.IO
Database
PostgreSQL + Prisma ORM
Queue System
BullMQ + Redis
AI Engine
Anthropic Claude + LangChain
Messaging
WhatsApp Cloud API
Next Steps
Ready to get started? Follow our quickstart guide to set up your development environment and place your first order.Continue to Quickstart
Set up KAIU Natural Living in 5 minutes