Vinicius Aguiar
Back to projects
SaaS in production
Vox Pet Digital

Vox Pet Digital

Vertical SaaS for pet shops and veterinary clinics — from scheduling to invoices, with WhatsApp AI.

The purpose

Veterinary clinics and pet shops are complex businesses: they handle appointments, medical records, vaccines, sales, inventory, commissions, invoices and customer service — all at the same time. Most use spreadsheets or generic systems that don't understand the segment's routine.

Vox Pet Digital was built to be the system that covers the complete cycle of this business. A single platform integrating operational management, financials and automated WhatsApp customer service — so clinics can focus on animal care, not spreadsheets.

The differentiator is that the platform scales with the business: a clinic with 1 location uses the same modules as a chain with 5 branches. Real multi-tenant + multi-branch, not a workaround.

Technical challenges

1

Express → NestJS migration

Strangler fig pattern: v1 (41 controllers) and v2 (12 NestJS modules) coexisting in the same process, with strict rules for new code.

2

24/7 WhatsApp + AI

Agent with 10 tools, per-tenant RAG, Whisper for audio, conversation memory and automated follow-up via cron.

3

Multi-tenant + multi-branch

95 Prisma models, 93 with tenant_id, 76 with branch_id. Inter-branch stock transfers with approval workflow.

4

Invoices with fallback

Two providers (Focus NFe + NFe.io), resilient queue processing every 30s, supplier XML import.

The platform

Vox Pet Digital — Dashboard principal com métricas da clínica

Tech stack

Next.js 16 + React 19NestJS + Express (v1/v2)PostgreSQL 16 + PrismaOpenAI (GPT-4o-mini + Whisper)Baileys (WhatsApp)Stripe + Mercado Pago + AsaasFocus NFe + NFe.ioFirebase AdminMUI v7 + shadcn/ui + Tailwind v4