A 240-agent residential real-estate firm in Gurgaon got a 3-year quote from a Salesforce implementation partner — Sales Cloud Enterprise + Gainsight CS for the post-sale customer-success layer. The owner forwarded the quote to us with a one-line message: "tell me honestly if I am being taken for a ride." We told him honestly: half-yes, half-no. Salesforce is genuinely powerful, but he was buying enterprise capability he would never use. We built him a custom CRM on Next.js + Postgres + Twilio + Razorpay. This is the comparison math, the architecture we shipped, and what we deliberately did not build.
The Answer in 60 Words
For a 240-agent sales-heavy team that uses CRM as a daily tool (not a dashboard), custom build pays back in 11 months versus Salesforce + Gainsight. We built a Next.js + Postgres + Twilio (calls + SMS) + Razorpay (booking deposits) CRM.
Why This Matters Now
The Indian real-estate CRM market in 2025 is genuinely overbuilt at the enterprise tier. Salesforce Sales Cloud Enterprise is priced per user per month. Add Gainsight per user per month for customer success, and the per-user spend climbs further. Industry studies show Salesforce TCO is typically 2-3x the base subscription when you include implementation, customisation, and ongoing admin labour. For a 240-agent team, that adds up fast over 3 years before the firm sells a single flat.
The custom-build alternative has dropped meaningfully in cost since 2023. Next.js + Postgres + a managed deployment platform handle 80% of CRM functionality out of the box. The remaining 20% — call recording, SMS automation, payment integration, lead routing — is handled by the developer ecosystem (Twilio, Exotel, Razorpay) at usage-based pricing rather than per-seat. The break-even agent count for custom-vs-Salesforce has dropped from ~600 in 2020 to roughly 80 in 2025.
The Client (Specific Details)
The TCO Comparison (3-Year Math)
This is the table that decided the project. We built it for the owner on a Wednesday afternoon over a Zoom call.
| Salesforce + Gainsight (Quoted) | Custom Build (Our Quote) | |
|---|---|---|
| Initial implementation | One-time fee (Salesforce SI partner) | One-time fee (us) |
| Year 1 licences (240 users × 12 mo) | Per user, negotiated down | None |
| Year 1 hosting + run cost | Bundled | Monthly run cost |
| Year 1 admin / customisation labour | In-house Salesforce admin | Our retainer for 8 hours/week |
| Years 2-3 licences | Per user (with 5% YoY price hike) | None |
| Years 2-3 hosting + admin | Higher | Lower (run + ongoing dev) |
| Years 2-3 features (CTO estimates) | Similar (Salesforce Apex dev) | Similar (us building features) |
| 3-year TCO | Higher | 72% lower |
The honest caveat: Salesforce gives you a richer ecosystem of third-party apps (we counted 14 likely-useful AppExchange apps). Custom build means we own those features as buildable backlog items. The owner's framing: "for that saving I can hire one more dev for 5 years."
Why Salesforce Was The Wrong Fit (Specifically)
Salesforce is genuinely the best CRM in the world for certain shapes of business. It is the wrong fit for this firm because:
The Architecture We Shipped
The Stack
| Layer | Choice | Why |
|---|---|---|
| Frontend | Next.js 14 + Tailwind | Server components for the agent dashboard; PWA so it installs on agent phones. |
| Database | PostgreSQL 16 (Aurora) | Relational schema; multi-tenant by branch via row-level security. |
| Auth + RBAC | Clerk Pro | 240 users, 6 role types, organisation feature handles branch hierarchy. |
| Telephony | Twilio (calls) + Exotel (IVR) | Twilio for agent click-to-call; Exotel for inbound DID routing into agent voicemail. |
| Wati | Same reasoning as our diagnostics build — fastest template approvals in our test set. | |
| Payments | Razorpay | Standard Indian payment gateway; payment links integration is genuinely 2-day work. |
| Search | Meilisearch (self-hosted) | 4,800 unit inventory + 240,000 historical leads needed instant search. Meili at our scale costs less than ElasticSearch. |
| Postmark | Transactional only; marketing emails go through their existing Mailmodo account. | |
| Hosting | Vercel Pro (frontend) + AWS Mumbai (Aurora + workers) | Hybrid; frontend at Vercel for global edge, backend in Mumbai for data residency. |
The 14-Week Plan
The Outcome (6-Month Numbers)
The conversion lift came from two places: the call-recording-and-transcription pipeline let sales managers coach agents from real conversations (not from anecdote), and the click-to-call removed roughly 6 minutes per outbound call cycle. At 30 calls/day × 240 agents, that is 720 agent-hours/week recovered.
The Pre-Cutover Checklist
- All 240 users imported with correct branch + role + active project assignments
- Click-to-call tested across 4 carriers (Jio, Airtel, Vi, BSNL) on agent phones
- Razorpay payment link → booking → GST invoice round-trip tested for 8 unit price points
- WhatsApp templates approved with zero rejection notes
- Lead routing tested at 5x peak (we did 70 leads/min; deployed at 14)
- Materialised views for agent dashboard refresh every 30 seconds
- Backup of Postgres taken nightly cross-region (Mumbai → Hyderabad)
- Audit log captures every record edit with user-id + timestamp + diff
- RBAC tested — agent at branch A cannot see branch B's leads (we did red-team this)
- Roll-back plan: feature flag falls back to Zoho for an emergency 7-day window
What We Deliberately Did Not Build
1. Marketing automation (drip campaigns, lead nurture flows). The firm uses Mailmodo for this. We integrated Mailmodo via webhook. Building it inside the CRM would have added 3 months — for a feature that worked fine outside the CRM.
2. Customer success platform (Gainsight equivalent). Real estate is a transactional one-shot purchase, not a SaaS subscription. The owner did not need NPS tracking, health scores, or retention dashboards. We pushed back hard on this in week 1; he agreed within 30 minutes once we showed him the use-case mismatch.
3. AI-driven lead scoring. We considered it. The senior agents' instincts are genuinely better than any model we could train on 14 months of historical data. v3 candidate, post-2027.
4. Multi-currency / international. The firm sells to Indian buyers in INR. NRI resale comes through their dedicated NRI agents who use a separate workflow. We did not bloat the schema for a future use case.
Common Mistakes (When You Build Custom Real-Estate CRM)
Symptom: "Agents bypass the CRM and use their personal WhatsApp for customer comms." Cause: the CRM-to-WhatsApp pipeline has friction or fails silently. Fix: ship a "open WhatsApp from CRM" button that opens WhatsApp Web with the customer's number pre-filled, with a JS-injected event that logs the open back to the CRM. Catches 78% of bypass attempts.
Symptom: "Sales managers complain that 'real conversion' looks worse on the new CRM." Cause: better data integrity exposes leads that agents would have manually marked "lost" to inflate active pipeline. Fix: hold a 1-day workshop with managers on the new metrics. Show them that their pipeline count was previously inflated.
Symptom: "Lead routing assigns to agents who are on leave." Cause: leave-tracking lives in the HR system, not the CRM. Fix: nightly sync from the HR system. Lead routing skips agents with active leave records.
Symptom: "Booking deposit Razorpay link expires before customer pays." Cause: default Razorpay link TTL is too short. Fix: extend to 7 days for booking deposits; add a "regenerate link" button on the booking record.
Symptom: "Call recordings missing for 4-12% of calls." Cause: customer (or sometimes agent) declines recording consent prompt. Fix: log the consent decline as a separate event so the manager knows the call happened but was not recorded. Compliant + auditable.
A Detail That Surprised The Owner
In month 3 post-launch, the senior sales manager noticed that a particular agent was closing 31% above team average on similar leads. Pulled the call transcripts (Whisper made this trivially searchable). Found the agent had a specific 4-question discovery script she always used — "how soon do you need to move," "is this a single-name or joint purchase," "have you visited the project," "what is your monthly EMI tolerance." The other agents skipped these and went straight to project pitch. Sales manager rolled out the 4-question script as a team training module. Team conversion lifted by 14% in 6 weeks.
The owner's exact words at the next quarterly review: "I would have paid for the whole build for that one finding alone."
Where Real-Estate CRM Fits In Our Wider Work
We have shipped variants for:
For founder-essay context on why we keep saying no to off-the-shelf, see viveksinra.com — we have published several pieces on the build-vs-buy framework.
FAQ
What if I am only at 80 agents — is custom still the right call?
The break-even has shifted to roughly 80 agents in 2025. Below 80, Zoho CRM Plus or HubSpot is genuinely the right call. Between 80 and 200, it depends on how complex your sales motion is. Above 200 with a sales-heavy team, custom wins.
Can the same CRM handle commercial real estate?
The schema accommodates it. Commercial deals have longer cycles, more stakeholders, and lease-vs-sale variations we did not need. We could extend the schema for commercial in 4-6 weeks, but the workflows differ enough that we recommend a separate build.
What about the developer-side workflow (allocations, escrow, RERA filings)?
Out of scope for this build. The firm's developer relationships are managed via Excel + email currently. We pitched a v2 that integrates allocation tracking and RERA reporting — not yet greenlit.
How does Salesforce's AI capability (Einstein) compare?
Einstein is genuinely good at lead scoring and predictive analytics — IF you have 12+ months of clean training data. Most Indian real-estate firms do not. We can integrate Claude Sonnet via API for scoring; it is strictly cheaper than the Einstein add-on.
What is the ongoing engineering retainer?
8 hours/week of dedicated developer time + 4 hours/week of project lead. Covers feature requests, bug fixes, and occasional infrastructure tuning.
Can the firm self-host this if they want to stop paying us?
Yes. We ship the codebase + deployment scripts. The Aurora Postgres dump is portable. Migration to in-house team would take roughly 4 weeks of knowledge transfer. We have done this for 2 prior clients without drama.
Did you consider HubSpot Sales Hub Enterprise?
Yes. HubSpot's enterprise tier in 2025 is actually higher than Salesforce per-user. The reason is HubSpot bundles marketing/CMS features the client did not need. Same TCO problem.
Is the call recording compliant with the DPDP Act?
We capture explicit consent on every call (the auto-prompt at start). Recordings are stored in India-region S3 with 90-day default retention, extendable per-deal for legal-hold cases. The consent log is immutable. Audit-ready.
Need a custom CRM for a sales-heavy team?
We build custom CRMs for Indian sales-heavy operations — real estate, financial services, B2B sales, education enrollment. Typical project: 12–18 weeks, fixed scope. The first call is a build-vs-buy honesty session — we will tell you whether custom is genuinely the right call for your team size and motion.
Book a Build-vs-Buy Call
