About This Architecture
SalesBoost is a multi-tier SaaS architecture combining a Next.js React frontend with Node.js backend APIs, Supabase PostgreSQL data layer, and an AI intelligence engine for lead classification and workflow automation. Data flows from Sales and Mobile Users through a CDN-backed Presentation Layer secured by WAF, into an API Gateway that routes requests to modular backend services: Lead Management, Workflow Engine, Auth, Messaging, and Activity Logger. The Intelligence Layer uses an AI Engine with Lead Classifier, Intent Analyzer, Workflow Generator, and RAG Pipeline to enrich leads and suggest optimizations, while the Data Layer persists users, leads, workflows, messages, and activity logs in Supabase with Redis caching and object storage for files. External integrations via WhatsApp, Instagram, Facebook Messenger, and Email APIs enable omnichannel communication. This architecture demonstrates separation of concerns, scalable microservices patterns, and AI-driven personalization for sales teams. Fork and customize this diagram on Diagrams.so to adapt the AI modules, add new integrations, or adjust data schemas for your sales platform.