Internal CRM & RNP Lead Management
CEAR Latinoamericano
Internal platform to centralize and qualify over 200,000 RNP procurement entities and leads: sales prospecting pipeline, Marketing Manager task assignments for sales reps, and smart feedback loop with the Mailer System.

The Business Challenge
CEAR's sales reps and Marketing Manager handled prospective student acquisition via direct phone calls and WhatsApp with zero centralization, tracking outreach in scattered Excel spreadsheets. This caused massive data loss, zero performance visibility, and duplicate outreach across more than 200,000 RNP suppliers. The core goals were:
- Centralize and structure a massive database of over 200,000 National Registry of Suppliers (RNP) entities in PostgreSQL using Drizzle ORM.
- Eliminate scattered spreadsheets with a central Leads module featuring history logs, call logs, and verified email capture.
- Implement a Tasks module where the Marketing Manager assigns prospect batches to sales reps and monitors progress, effectiveness, and productivity in real time.
- Bidirectional synergy with the Mailer System: the CRM qualifies the contact list via sales calls, and the Mailer feeds back email opens to target campaigns toward highly engaged leads.
Technical Architecture & Decisions
High-performance full-stack solution built in 2 months as a solo developer for high-volume corporate data:
Frontend & High-Performance Data Tables (Next.js, TanStack Table & TypeScript)
Modular Backend & Data Layer (NestJS, Drizzle ORM & PostgreSQL)
Infrastructure, On-Premise VPS & Mailer Synergy
Engineering Challenges Overcome
Query Performance & Filtering on 200k+ RNP Entities
Handling a database of over 200,000 records without performance bottlenecks through efficient cursor-based queries in PostgreSQL with Drizzle ORM and TanStack Table in Next.js.
Task Tracking & Commercial Productivity
Designing an operational workflow where the Marketing Head distributes leads and assigns targets, enabling clear measurement of contact and closing rates per sales representative.
Integrated Ecosystem: CRM ↔ Mailer Synergy
Preventing data silos by connecting the CRM with the bulk SendGrid/BullMQ mailer engine so reps prioritize warm leads who have already demonstrated high engagement.
Internal CRM Gallery
Screenshots: Institutional dashboard, RNP entities module, lead tracking and task distribution.
