Revanta OS

The operating system for sales, support, delivery, and automation.

Revanta OS combines CRM, ERP, WhatsApp automation, AI agents, lead management, customer operations, analytics, and multi-tenant SaaS controls into one execution layer.

Next.js UI shell

Node.js API layer

PostgreSQL system of record

Prisma schema discipline

N8N workflow orchestration

WhatsApp Cloud API

AI provider abstraction

Tenant-aware security

Operating principles

Built as one product, not a pile of disconnected tools.

The architecture is intentionally modular, tenant-aware, and operationally dense so teams can move fast without losing control.

Modular monolith first, so the product stays maintainable before scale adds more services.

Multi-tenant org isolation on every business table and every server decision.

Async side effects for WhatsApp, AI, webhooks, notifications, and scheduled follow-ups.

Operational UX first: dense, fast, task-oriented screens instead of marketing-style dashboards.

Provider abstraction for AI and communications so the product can swap vendors without rewrites.

Core modules

Production-grade systems that cover the full operating loop.

Each module is designed around a clear architecture layer, storage shape, API surface, UI pattern, automation boundary, security model, and deployment responsibility.

Module

Executive Dashboard

The command layer for leadership to see what needs action now.

Architecture

Reads from tenant-scoped rollups and queue states instead of raw event noise.

Database

Uses denormalized summaries for leads, deals, tasks, messages, invoices, and alerts.

API Design

Serves summary, queue, risk, and drilldown endpoints for live operational views.

Frontend

Dense widgets, overdue queues, next-step cards, and fast drill-in panels.

Automation

Feeds escalation checks, follow-up reminders, and priority routing.

Security / Deployment

Tenant-scoped and role-filtered with auditability on every decision. Background refresh jobs keep the dashboard fast without blocking the app.

Module

Smart CRM

The system of record for leads, contacts, companies, deals, and activities.

Architecture

Centralized CRM workflow with inline edits and event-based activity tracking.

Database

Lead, contact, company, deal, task, timeline, and assignment tables with tenant ownership.

API Design

CRUD plus stage updates, assignment, merge, archive, and timeline endpoints.

Frontend

Table-first execution workspace with inline edits, filters, and quick actions.

Automation

Triggers lead scoring, routing, follow-up creation, and task generation.

Security / Deployment

Server-side RBAC and field-level control for sensitive customer data. Optimistic UI with server reconciliation to keep the workspace responsive.

Module

WhatsApp Command Center

The inbox and automation hub for message-driven sales and support.

Architecture

Webhook-first message ingestion with thread state and human takeover controls.

Database

Conversation, message, template, webhook event, and thread ownership tables.

API Design

Webhook ingest, send reply, template send, assign, mark read, and takeover endpoints.

Frontend

Inbox on the left, thread center, customer context on the right.

Automation

Routes messages, sends replies, and escalates to humans when confidence is low.

Security / Deployment

Webhook signature validation, idempotency, and org-level phone isolation. Queue-backed sends and retries keep messaging reliable under load.

Module

AI Brain

The provider router and policy layer for internal AI actions.

Architecture

Model abstraction on top of OpenAI, OpenRouter, Claude, and Gemini.

Database

Stores agents, prompts, tool calls, inference logs, and retrieval references.

API Design

Chat, qualify, summarize, retrieve, and decision-support endpoints.

Frontend

Exposed through operational actions instead of a chat-only interface.

Automation

Generates replies, summaries, recommendations, and qualification signals.

Security / Deployment

Tool permissions and prompt versioning keep the AI controlled and auditable. Fallback routing and usage tracking protect the system from provider issues.

Module

N8N Workflow Center

The orchestration layer for business triggers and scheduled actions.

Architecture

Registry of workflows, triggers, rules, runs, and retry state.

Database

Tracks workflow definitions, executions, errors, secrets, and rule ownership.

API Design

Create, update, inspect, retry, and disable workflow endpoints.

Frontend

Workflow list, run history, failure queue, and credential visibility.

Automation

Lead creation, message received, no reply, payment overdue, and booking flows.

Security / Deployment

Scoped secrets, approval rules, and audit logging for sensitive operations. N8N is isolated internally and accessed through signed application requests.

Module

Customer 360

One operational view that merges sales, support, billing, and delivery context.

Architecture

Composes data from CRM, conversations, payments, projects, and documents.

Database

Customer profile, summary snapshots, health indicators, and relationship links.

API Design

Profile, timeline, related objects, health, and action endpoints.

Frontend

Single-page account view with timeline, status, and next-step context.

Automation

Raises renewal reminders, escalation flags, and follow-up tasks.

Security / Deployment

Tenant isolation with visibility controls for sensitive account data. Precomputed snapshots keep profile pages fast and operationally useful.

Module

Knowledge Base

The source for help content, internal answers, and retrieval-backed AI responses.

Architecture

Documents are versioned, chunked, indexed, and published by state.

Database

Document, version, chunk, category, and embedding records.

API Design

Ingest, search, publish, deprecate, and retrieval APIs.

Frontend

Editor, category tree, article state, and search surface.

Automation

Detects stale content and surfaces relevant articles to AI and support.

Security / Deployment

Draft and published access controls with source traceability. Background indexing jobs keep retrieval current without blocking edits.

Module

Analytics

Operational reporting that helps teams decide and act, not just stare at charts.

Architecture

Event capture plus rollups for funnel, channel, team, and time dimensions.

Database

Event tables, rollup tables, and org-scoped materialized metrics.

API Design

Metrics endpoints for pipeline, response time, workload, and revenue views.

Frontend

Compact charts with filters and drill-down into operational records.

Automation

Anomaly detection can generate alerts and escalation tasks.

Security / Deployment

PII masking and tenant-scoped metrics access protect sensitive data. Incremental rollups keep metrics responsive and cheap to query.

Module

Project Management

A delivery workspace tied to customers, work, and accountability.

Architecture

Projects, milestones, tasks, comments, and attachments linked to customer records.

Database

Project, milestone, task, checklist, comment, and attachment tables.

API Design

Project CRUD, task board updates, assignee changes, and progress endpoints.

Frontend

List and board views with quick detail drawers for execution.

Automation

Creates work from wins, support issues, and onboarding events.

Security / Deployment

Project-level access rules and org membership enforcement. Real-time updates can degrade gracefully to polling when needed.

Module

Team Management

Simple, internal operator control for owners, managers, and execution teams.

Architecture

Users, teams, roles, permissions, queues, and ownership assignments.

Database

Membership, invite, queue, role, and assignment records.

API Design

Invite, deactivate, role change, team mapping, and assignment endpoints.

Frontend

Admin surfaces for teams, operators, and workload visibility.

Automation

Load balancing and assignment routing keep execution moving.

Security / Deployment

RBAC enforced server-side with audit logging. Admin-only routes and org-specific settings keep the area contained.

Module

Billing System

Stripe-backed subscriptions, invoices, payments, and usage tracking.

Architecture

Subscription and billing state are stored separately from product content.

Database

Plans, subscriptions, invoices, payments, and usage ledger records.

API Design

Checkout, portal, invoice, usage, and webhook endpoints.

Frontend

Subscription status, invoice history, and plan management screens.

Automation

Payment failure, renewal, and delinquency workflows protect revenue.

Security / Deployment

Signed webhooks and no client-side trust for billing state. Webhook retries and idempotency keep billing state accurate.

Module

Multi-Tenant Layer

The isolation and governance layer that keeps the SaaS safe at scale.

Architecture

Every request resolves organization context before reading or writing data.

Database

Organization, membership, invite, tenant setting, and audit log tables.

API Design

Tenant-aware middleware and org-scoped resource APIs.

Frontend

Org switcher, branding, permissions, and settings experiences.

Automation

Onboarding, routing, and default settings can be tenant-specific.

Security / Deployment

Strict row ownership, permissions, secrets isolation, and audit trails. Single codebase, horizontal scaling, and cache keyed by tenant.

Workflow center

The operating loops that make the system useful every day.

These workflows are the core execution patterns for sales, support, and follow-up.

Lead Created

1AI qualification2Lead scoring3CRM entry4WhatsApp follow-up5Appointment booking6Sales notification

Every new lead gets routed, scored, and followed up without manual handoff gaps.

Customer Message

1WhatsApp webhook2AI Brain3Knowledge Base search4Response generation5WhatsApp reply

Messages are answered from the right context and escalated to humans when needed.

No Reply Cadence

12 hours224 hours33 days

Follow-ups stay consistent without requiring the team to remember every pending conversation.

Industry templates

Start with a template, then tune it to the business.

Each template keeps the core product intact while adjusting workflow stages, dashboards, automations, KPIs, and CRM fields for the vertical.

Template

Fitness

V1

Workflows

Trial inquiryMembership renewalClass booking

Dashboards

Leads by sourceActive membersNo-show risk

Automations

Trial follow-upRenewal remindersClass confirmations

KPIs

Trials bookedRenewal rateAttendance rate

CRM customizations

Membership stageTrainer assignmentClass history

Template

Wellness

V1

Workflows

Consultation requestTreatment planFollow-up care

Dashboards

ConsultationsTreatment pipelineRebookings

Automations

Consult bookingPost-visit follow-upRetention reminders

KPIs

ConsultsRepeat visitsResponse time

CRM customizations

Therapist assignmentPlan notesSession cadence

Template

Salon

V1

Workflows

Appointment bookingService upsellLoyalty follow-up

Dashboards

Open slotsBooked servicesReturning clients

Automations

Booking confirmationsNo-show remindersRebook prompts

KPIs

Fill rateRepeat rateAvg booking value

CRM customizations

Stylist assignmentService historyPackage tracking

Template

Restaurant

V1

Workflows

ReservationTable inquiryEvent booking

Dashboards

ReservationsPeak demandRepeat diners

Automations

Reservation confirmationsEvent follow-upReview prompts

KPIs

Reservation rateRepeat visitsResponse time

CRM customizations

Guest historyTable preferencesOffer tags

Template

Entertainment

V1

Workflows

Ticket inquiryGroup bookingVIP request

Dashboards

EventsVIP leadsCapacity demand

Automations

Ticket remindersEvent confirmationsUpsell offers

KPIs

Ticket salesLead response timeAttendance

CRM customizations

Venue preferencesBooking tierAudience segment

Template

Healthcare

V1

Workflows

Patient bookingPre-visit intakeFollow-up care

Dashboards

AppointmentsFollow-upsNo-show risk

Automations

Appointment remindersIntake follow-upCare reminders

KPIs

Appointments keptNo-show rateResponse time

CRM customizations

Doctor assignmentVisit typeCare notes

Template

Real Estate

V1

Workflows

Lead qualificationSite visitNegotiation

Dashboards

Hot leadsVisits bookedDeals in progress

Automations

Lead routingSite visit remindersPrice update follow-up

KPIs

Visits bookedDeal velocityLead response time

CRM customizations

Property interestBudget rangeBroker assignment

Template

Education

V1

Workflows

Admission inquiryCounseling callEnrollment

Dashboards

ApplicationsCounseling queueEnrollment funnel

Automations

Inquiry follow-upCounseling remindersEnrollment nudges

KPIs

ApplicationsEnrollment rateReply speed

CRM customizations

Program interestParent/student roleCohort tracking

Deployment design

Practical infrastructure, not overbuilt infrastructure.

Google Cloud VM hosting behind Nginx
PM2 process supervision for Node services
Docker for repeatable local and production builds
Environment configuration separated from source control
Webhook retries, idempotency, and job queues
PostgreSQL as the durable system of record

Security design

Tenant isolation, provider control, and auditable execution.

Server-side permission checks on every business action
Tenant IDs required on all operational tables
Signed webhook validation for WhatsApp and billing events
Role-based visibility for operators, managers, and admins
Audit logs for workflow changes and system actions
Credential storage kept off the client and out of UI state

Build direction

Revanta OS becomes the system operators use to discover, convert, and manage work.

The code structure is organized to support CRM, ERP, WhatsApp, AI, billing, and team operations without turning into a fragmented app collection.

Next step

Ready to get more leads and save time?

Revanta AI builds websites, automations, dashboards, and software that help teams respond faster, reduce manual work, and run with more control.