RazorVasooli.Ai is an autonomous, regulatory-compliant AI revenue recovery agent natively integrated with Razorpay. It detects payment failures, cart abandonments, and overdue invoices, diagnoses root causes, negotiates via conversational Hinglish across Telegram, WhatsApp, Email, and Voice, and executes 1-click settlement.
Real-time revenue recovery intelligence, live ₹ recovered KPIs, active interventions, and SHA-256 batch integrity verification.

Live AI agent negotiating with customers in empathetic Hinglish on Telegram, applying policy-bounded discounts, and generating 1-click Razorpay payment links.

Granular tracking of recurring invoice failures, decline codes (BANK_DECLINED, INSUFFICIENT_FUNDS), recovery status tags, and retries.

Full case lifecycle state machine tracking (DETECTED ➔ DIAGNOSED ➔ INTERVENING ➔ PAUSED PROMISE ➔ RECOVERED / ESCALATED).

Live email thread view tracking real outbound SMTP recovery messages and inbound IMAP customer replies with automated AI actions.

- Node.js: v20+ (recommended v22)
- Docker & Docker Compose: (for PostgreSQL, Redis & Mailpit)
npm installMake sure your .env file exists in the root directory (or copy from .env.example):
cp .env.example .envStart PostgreSQL (with pgvector), Redis (BullMQ), and Mailpit:
docker compose up -d postgres redis mailpitTo verify containers are running:
docker psRun both backend and frontend together with a single command:
npm run dev:allAlternatively, run in separate terminals:
# Terminal 1 — Backend Server
npm run server
# Terminal 2 — Frontend Dashboard
npm run dev| Service | URL | Description |
|---|---|---|
| Frontend Dashboard | http://127.0.0.1:5173 | Main RazorVasooli React/Vite UI |
| Backend API | http://127.0.0.1:5000 | Express REST API & Webhook Ingress |
| Mailpit Web UI | http://127.0.0.1:8025 | View sent customer recovery emails |
If authentication is enabled on the dashboard:
- Email:
admin@razorvasooli.in - Password:
Hemant123
To populate the dashboard with sample recovery cases and A/B test batches:
# Seed fresh demo batches
npm run demo:seed
# Run batch recovery simulation
npm run simulate:batch# Stop dev server in terminal
Ctrl + C
# Stop Docker containers
docker compose down