COSMOS
Enterprise CRM & Operations Platform

COSMOS

Custom-built CRM with 44 database models, AI intelligence, and real-time analytics

44
Database Models
20+
Integrated Modules
49
Application Routes
5
Analytics Engines

The Story

Project Overview

After rebuilding the COS website and brand identity, it became clear that their internal operations needed the same level of attention. Their sales team was managing accounts across spreadsheets, email chains, and disconnected tools. They needed a centralized platform built around their specific workflows — something no off-the-shelf CRM could provide.

We designed and built COSMOS (COS Managed Operations System) from the ground up. Starting with account management and sales tracking, the platform grew to encompass 44 MongoDB models covering every aspect of their business: contacts, deals, pipeline management, analytics, document storage, team messaging, email campaigns, vendor onboarding, furniture project management, and AI-powered intelligence tools.

The analytics suite alone includes five specialized engines — sales overview, rep performance, CSR metrics, trend forecasting, and variance analysis. We integrated Anthropic's Claude AI for document analysis, email composition, and data formatting. The visual workflow builder lets COS automate complex multi-step processes without writing code.

Challenge

COS was managing sales, accounts, projects, and vendor relationships across disconnected spreadsheets and generic tools. No existing CRM fit their unique workflow — they needed furniture project management with designer time tracking, vendor onboarding with W9/ACH collection, competitive pricing intelligence, and role-based access for 13 different user types.

Solution

We built a fully custom enterprise CRM with 44 database models, 19 integrated modules, 5 analytics engines, AI-powered document analysis via Claude, a visual ReactFlow workflow builder, team messaging, email blast system, Kanban boards, furniture project management with QR-based customer portals, competitive pricing scrapers, and granular role-based permissions — all on Next.js with MongoDB and deployed to Vercel.

Built With

Technology Stack

Next.js 14.2
React 18
TypeScript
Tailwind CSS
Framer Motion
Radix UI
Recharts
ReactFlow
Custom Dashboards
Real-time KPIs
MongoDB
Mongoose ODM
Next.js 14.2
React 18
TypeScript
Tailwind CSS
Framer Motion
Radix UI
Recharts
ReactFlow
Custom Dashboards
Real-time KPIs
MongoDB
Mongoose ODM
NextAuth JWT
REST API Routes
Anthropic Claude API
Document Analysis
Email AI Assistant
Predictive Analytics
Resend Email
LinkedIn OAuth
PDF Generation
Web Scrapers
Excel Export
NextAuth JWT
REST API Routes
Anthropic Claude API
Document Analysis
Email AI Assistant
Predictive Analytics
Resend Email
LinkedIn OAuth
PDF Generation
Web Scrapers
Excel Export

Architecture Overview

01

Frontend

Next.js 14.2React 18TypeScriptTailwind CSSFramer MotionRadix UI
02

Data Visualization

RechartsReactFlowCustom DashboardsReal-time KPIs
03

Backend & Database

MongoDBMongoose ODMNextAuth JWTREST API Routes
04

AI & Intelligence

Anthropic Claude APIDocument AnalysisEmail AI AssistantPredictive Analytics
05

Integrations

Resend EmailLinkedIn OAuthPDF GenerationWeb ScrapersExcel Export

What We Built

Key Features

44 Database Models

Comprehensive data architecture covering accounts, contacts, deals, tasks, projects, analytics, workflows, documents, messaging, notifications, pricing intelligence, vendor onboarding, and more.

5 Analytics Engines

Sales overview with KPI cards, rep performance tracking with leaderboards, CSR metrics with SLA monitoring, trend forecasting with actual vs. predicted data, and variance analysis by account and category.

AI-Powered Intelligence

Claude-powered document analysis for PDF summarization and action item extraction, AI email composition assistant, and Excel data formatting — integrated directly into the workflow.

Visual Workflow Automation

ReactFlow-based drag-and-drop workflow builder with trigger nodes (manual, scheduled), action nodes (email, LinkedIn, HTTP), and logic nodes (delay, condition) for automating complex multi-step processes.

Furniture Project Management

7-stage project workflow from initial contact through installation, with designer time tracking (pause/resume), file uploads, vendor onboarding, estimation tracking, and QR-code customer portals.

Team Collaboration Suite

Built-in messaging with channels and DMs, Kanban boards for task management, document storage with granular sharing permissions, system-wide notifications, and support ticket tracking.

Visual Showcase

Project Gallery

COSMOS — 1
01

COSMOS

Screenshot 1
COSMOS — 2
02

COSMOS

Screenshot 2
COSMOS — 3
03

COSMOS

Screenshot 3
COSMOS — 4
04

COSMOS

Screenshot 4
COSMOS — 5
05

COSMOS

Screenshot 5