Overview
Aditya Builds is a premium interior design and construction firm based in Patna, Bihar. Samyora built their complete digital infrastructure from scratch: a dynamic public website powered by a live CMS, a full-featured admin panel with Role-Based Access Control (RBAC), a dual-mode inquiry system, a Zoho-powered email threading architecture, and a four-capability AI layer for both content creation and client communication.
The Challenge
Aditya Builds had no structured digital presence. Their team managed all client inquiries manually through WhatsApp, missed leads outside business hours, and spent significant time copying build request details from messages into spreadsheets before any conversation could begin.
Three specific problems demanded solving:
- The inquiry process had no structure. A client could send a message saying "kitchen work" and the team had to follow up manually for every detail: project type, area, budget, and timeline.
- Content management required a developer for every small change. Updating a phone number or business hours meant a full code deployment.
- There was no email system. The admin panel had a "Send Reply" button that saved text to the database and showed a success message, but sent nothing. Customers heard nothing after submitting an inquiry.
Our Solution
Public Website
The website is built on Next.js 15 with all content live-fetched from Supabase on every render. Company name, phone number, address, hero section words, and business hours are all controlled from the admin panel. No hardcoded strings exist on the public site.
The flagship page is Design Your Space, a 6-step guided build request wizard that captures everything needed to start a project conversation in one structured flow: project type, build service, plot details, scope (floors, bedrooms, bathrooms, budget, timeline), special requirements, and contact info.
Admin Panel CMS
The admin panel features an 8-tab Settings page covering every aspect of the business:
| Tab | What It Controls |
|---|---|
| General | Company name, tagline, logo, phone, email |
| Hero Section | Animated rotating text words and colors with live animated preview |
| Contact | Primary phone, WhatsApp number, support email |
| Address | Street, city, state, pincode, Google Maps embed URL |
| Social Media | Instagram, LinkedIn, YouTube, Facebook links |
| Business Hours | Per-day open/close times with open/closed toggle |
| SEO | Meta title, description, keywords, OG image URL |
| Analytics | Google Analytics ID, Facebook Pixel ID |
The Hero Section editor is the most technically involved: a drag-and-drop segment editor lets the client style individual words with bold, italic, or gradient formatting, pick colors per word, and see a real-time animated preview before saving.
3-Tier RBAC System
Three role tiers enforced at every API route via session cookie:
- super_admin: Full access. Can only be assigned via direct SQL. The API has a hardcoded block preventing promotion to this role through any interface.
- admin: Can manage inquiries, projects, properties, users, settings, and AI drafts.
- staff: Read-only access. Can view inquiries and add internal notes.
Dual Inquiry System
Both inquiry types write to the same Supabase table with different type flags. The admin panel filters by type and presents type-appropriate workflow actions.
For a Build Request, the admin converts the inquiry directly into a project record with a single click. The system reads all fields from the inquiry (client name, phone, email, budget, location, area, timeline) and pre-populates the new project, eliminating the manual data entry that previously consumed 10 minutes per inquiry.
Admin actions: view full detail modal, send reply via email or WhatsApp, schedule site visit with date and notes, convert to project (1-click), link to existing project, add internal notes (admin-only), and bulk status updates.
Email Threading via Zoho SMTP
Every outbound email is sent from noreply@adityabuilds.co.in, CCs contact@adityabuilds.co.in, and sets Reply-To to contact@adityabuilds.co.in. When the team replies from their contact mailbox, the reply continues the same thread the customer already has.
DNS is fully configured: MX, SPF, DKIM, and DMARC at p=quarantine. Implemented flows include secure admin password reset (SHA-256 token hashing, 60-minute expiry, single-use enforcement, rate limiting per email and IP) and wired admin reply sending with full history logging.
AI Layer
Magic Wand — Any text field in the admin panel has a wand icon. One click sends the text to Gemini, which rewrites it as professional, SEO-optimized copy and returns structured Markdown with headers, bullet points, and bold text.
Project Auto-Fill — Upload project photos and Gemini analyzes the images to return a complete project record: a title with embedded SEO keywords (e.g., "Luxury 3BHK Interior Design in Patna"), a full Markdown description, features, and tags. Zero manual typing required when adding a new portfolio project.
AI Reply Drafter — On any open inquiry, one click generates a professional email or WhatsApp draft. Gemini reads the inquiry type, identifies specifically which fields are missing (e.g., number of floors not specified, plot ownership unknown), and asks only the relevant follow-up questions. It never requests contact info already provided. Gated to admin and super_admin roles only.
Dhanno Chatbot — A persistent AI assistant inside the admin panel with memory stored per session in Supabase. Role-aware: it adapts what information it surfaces based on the logged-in user's role.
The Result
Aditya Builds now operates a fully automated client intake pipeline. Build requests arrive as structured, complete data rather than loose WhatsApp messages. The team responds with AI-drafted follow-ups in under a minute. Every reply creates a trackable email thread. Content updates that previously required a developer now take 30 seconds in the admin panel.