Logo
Case Study

Maxwell Lanka
Next-Gen E-Commerce & AI Integration

Maxwell Lanka AI solutions project overview
  • client :
    client :Maxwell Lanka
  • industry :
    industry :E-Commerce / Retail
  • location :
    location :Sri Lanka
  • focus :
    focus :AI Integration & Dashboards

Executive Summary

Maxwell Lanka, a premier e-commerce platform in Sri Lanka, required a technological leap to enhance customer engagement and streamline administrative operations. PixelWave engineered a high-performance headless e-commerce architecture, integrated an intelligent conversational AI shopping assistant, and deployed a robust administrative financial dashboard. The result is a lightning-fast, highly scalable platform that drives sales while giving management deep, real-time business insights.

  • Client Focus: Retail & Household Products
  • Tech Stack: Next.js, Vercel, Supabase (PostgreSQL & pgvector), Google Gemini AI, LangChain, n8n.

The Challenge

Customer Experience

Navigating large product catalogs can cause buyer friction. The client needed a way to provide instant, personalized product recommendations.

Operational Blindspots

Management lacked a unified, real-time view of financial KPIs (Average Order Value, Revenue Trends, Fulfillment Rates).

Performance Bottlenecks

The platform needed to handle high traffic and dynamic content without compromising on SEO or page load speeds.

Our Solution & Key Features

  • 1. AI-Powered Conversational Commerce (Smart AI Agent)We implemented a semantic-search-driven AI Customer Support Assistant using Google Gemini 3.1 Flash-Lite and Supabase Vector Database.
    • Context-Aware Recommendations: The AI understands natural language queries (in English, Sinhala, and Singlish), scans the database, and recommends exact products with their features and prices.
    • Direct Conversion: The agent generates direct, clickable purchase links for the recommended products, significantly reducing the path-to-purchase.
    • Strict Data Security: Built-in confidentiality guardrails ensure the AI only reveals public selling prices, keeping profit margins and supplier data strictly hidden.
  • 2. Automated Data Ingestion & SyncingUsing n8n orchestration, we built an automated pipeline that continuously syncs product data, generates vector embeddings via Gemini, and updates the Supabase Vector Store. This ensures the AI always has real-time inventory and pricing data without manual data entry.
  • 3. Comprehensive Admin & Financial DashboardWe built a secure, glassmorphism-styled dashboard tailored for executives and store managers:
    • Live KPI Tracking: Real-time monitoring of Total Revenue, Order Counts, and Average Order Value (AOV).
    • Visual Analytics: Custom interactive SVG charts mapping 30-day sales trends and category share distributions.
    • Order Management System: A centralized hub to instantly update fulfillment states (Processing, Shipped, Delivered) and payment statuses, directly synced to the PostgreSQL backend.
  • 4. High-Performance ArchitectureBy leveraging Next.js deployed on Vercel, the application utilizes Server-Side Rendering (SSR) for the admin dashboard (ensuring up-to-the-second data) and Incremental Static Regeneration (ISR) for product pages (guaranteeing instant load times and superior SEO rankings).

Business Impact & ROI (Why it matters for CEOs)

Increased Conversion Rates

The AI assistant acts as a 24/7 digital salesperson, instantly matching customer needs with products and providing immediate checkout links.

Data-Driven Decision Making

The new financial dashboard eliminates guesswork, allowing the CEO to spot sales trends and top-performing products instantly.

Enterprise-Grade Scalability

Built on Next.js and Supabase, the infrastructure is completely serverless. It costs practically nothing during low traffic but scales infinitely during massive seasonal sales.

PixelWave's Role: From conceptualizing the database architecture to deploying advanced Large Language Models (LLMs) into a production environment, PixelWave delivered a complete digital transformation that sets Maxwell Lanka apart from its competitors.

Elena.AI
Elena.AI Online

Hi there! I'm Elena, PixelWave's AI agent. 👋

How can I help you automate your business today?