Integration Status & Configuration
Complete overview of all internal and external integrations powering the Srimanth Properties platform.
Supabase Database
Primary database for properties, leads, appointments, users, and all platform data. Falls back to localStorage when not configured.
- 14 tables: profiles, properties, projects, leads, appointments, favorites, compare_list, property_alerts, franchise_applications, career_applications, blog_articles, testimonials, franchise_territories, market_reports
- Row Level Security (RLS) enabled on all tables
- Auto profile creation on signup via database trigger
- Property view count auto-increment via RPC function
- 3 storage buckets: property-images, resumes, documents
Supabase Auth
Email/password authentication with RBAC. 6 user roles with permission matrix. Falls back to localStorage mock auth.
- 6 roles: admin, owner, agency, seller, buyer, nri
- 4 subscription tiers: free, starter, professional, enterprise
- Session persistence with auto-refresh
- Auto profile creation on signup
- Role-based dashboard routing
Supabase Storage
File storage for property images, resumes, and legal documents. Falls back to base64 localStorage.
- property-images bucket — property photos and galleries
- resumes bucket — career application CVs
- documents bucket — legal documents and agreements
- Public URL generation for all uploads
Calendar Booking (GHL)
Real-time calendar availability and appointment booking via the Srimanth calendar. Fetches free slots and creates bookings automatically.
- Calendar ID: 8ToJJd8WKBn2oMOAzWYH
- Live availability fetching — shows real free slots
- Auto-creates calendar events on booking
- Used by Book Appointment + NRI Video Consultation forms
- Timezone-aware (auto-detects user timezone)
CRM Form Tracking
All lead capture forms (Contact, Book Appointment, Add Property, Franchise, Careers, Digital Services, NRI) send data to your CRM.
- Tracking ID: tk_d9c7cd5cecd34f2dad3e460a67d852d0
- 12 custom fields registered (interest, property type, location, price, etc.)
- File upload support (resumes, property photos up to 50MB)
- Image data field support (base64)
- Non-blocking async submission
Google Meet
Auto-generates Google Meet links for video consultations and remote appointments. Uses Supabase Edge Function when configured, falls back to calendar links.
- Auto-generates Meet link on video consultation booking
- Creates Google Calendar event with Meet embedded
- Sends WhatsApp confirmation with Meet link
- Timezone-aware scheduling
- Fallback: generates calendar event link with Meet details
Razorpay Payments
Payment gateway for subscription upgrades, franchise fees, and service payments. Falls back to simulated payment flow for testing.
- Subscription payments (₹1,999 – ₹12,999/month)
- Franchise fee payment (₹5,00,000)
- Documentation service payments
- Auto-records payments in Supabase
- Fallback: simulated payment for demo/testing
- Requires VITE_RAZORPAY_KEY_ID env var
Google Analytics 4
Comprehensive event tracking for property views, searches, lead conversions, calculator usage, popup interactions, and more. Falls back to console debug logging.
- 22 custom event types tracked
- Property view tracking with value & currency
- Search filter tracking (city, category, price range)
- Lead conversion tracking
- Calculator usage analytics
- Popup engagement metrics
- User identification with role & subscription tier
- Requires VITE_GA4_ID env var
Email Notifications
Transactional email service for booking confirmations, lead notifications, payment receipts, and welcome emails. Uses Supabase Edge Function, falls back to mailto links.
- 12 email templates (lead, appointment, video consult, franchise, career, payment, NRI, welcome, etc.)
- Customer confirmation emails
- Internal team notifications
- Payment receipt emails
- NRI welcome sequence
- Property alert match notifications
WhatsApp Business
Floating WhatsApp widget with pre-filled enquiry templates, click-to-chat, and WhatsApp confirmation messages for bookings.
- Floating widget with 5 pre-filled enquiry templates
- Buy, Sell, Documentation, Investment, Site Visit templates
- Auto-formatted booking confirmation messages
- Google Meet link sharing via WhatsApp
- Number: +91 92417 06010
Google Translate
Dual-language support (English + Kannada) via Google Translate widget in the navigation bar.
- Eng / ಕನ್ನಡ toggle in header
- Background translation — no page reload
- Auto-detects and translates all page content
- Custom styled to match brand
Phone Integration
Click-to-call integration across all pages with the business phone number.
- Click-to-call on all CTA buttons
- Number: +91 92417 06010
- Tracked as phone_call event in GA4
Environment Variables
Configure these environment variables to activate the fallback integrations.
VITE_SUPABASE_URLSupabase project URL
VITE_SUPABASE_ANON_KEYSupabase anon (publishable) key
VITE_RAZORPAY_KEY_IDRazorpay Key ID (rzp_test_... or rzp_live_...)
VITE_GA4_IDGoogle Analytics 4 Measurement ID (G-...)
See SUPABASE_SETUP.md for complete setup instructions.
Translate