noble-nova

byDharti Sanariya

# NOVA AI — PROPER LIVE WORKING PRODUCTION SAAS You are a senior SaaS architect, full-stack engineer, AI engineer, DevOps engineer, security engineer and product designer. Build NOVA AI as a REAL PRODUCTION SaaS, not a demo, simulation, prototype or static UI. NOVA AI is an AI Sales & Appointment Automation platform for GCC businesses, starting with Kuwait real-estate companies and later expanding to UAE, Saudi Arabia, Qatar, Bahrain and Oman. The application must have a real frontend, real backend, real persistent database, real authentication, real AI processing, real messaging integrations, real appointment management, real automation, real subscription enforcement and real analytics. Do not create fake buttons, fake API responses, fake dashboard numbers or simulated workflows. ## 1. CORE SALES WORKFLOW The complete production workflow must be: Customer Lead → Real Lead Capture → AI Conversation → AI Qualification → Requirement Extraction → Property Matching → Real Customer Communication → Appointment Booking → Agent Assignment → Automated Follow-up → CRM Timeline → Sales Pipeline → Analytics A customer should be able to contact the business through the configured communication channel and receive an actual AI-generated response. Example: Customer: “I need a 2 bedroom apartment in Kuwait City under 900 KWD.” The system must actually process the message, extract: Location = Kuwait City Bedrooms = 2 Budget = 900 KWD Then query the real database, calculate property matches, generate an AI response and send the response through the connected messaging provider. ## 2. REAL AI Integrate a real AI provider through a secure server-side provider abstraction. Support OpenAI and/or Google Gemini. AI capabilities: * Customer conversation * Lead qualification * Requirement extraction * Property recommendations * Lead scoring * Conversation summarization * Follow-up generation * Campaign generation * Sales message generation API keys must be stored only in server environment variables. Never expose keys to frontend JavaScript. Create a provider interface so another AI provider can be added later without changing business logic. ## 3. REAL WHATSAPP Integrate the official WhatsApp Business Cloud API. Implement: * Incoming messages * Outgoing messages * Webhook verification * Webhook processing * Conversation storage * Message status * Delivery status * Read status * Error handling When a real WhatsApp message arrives: WhatsApp Webhook → Backend → Identify customer → Find/create lead → AI processing → Property matching if required → Generate response → Send through WhatsApp API → Store message → Update CRM timeline Do not simulate this workflow. Create webhook routes and secure verification. ## 4. REAL DATABASE Use PostgreSQL for production. Use migrations and proper relational schema. Main tables: organizations users roles subscriptions plans usage leads customers properties property_images conversations messages appointments campaigns campaign_recipients activities tasks notifications ai_usage provider_configurations webhook_events Every organization-owned record must contain organization_id. All queries must enforce tenant isolation. Never allow cross-organization access. ## 5. REAL AUTHENTICATION Create a unified `/login`. No role selector. Use secure authentication with sessions. Support: Super Admin Organization Owner Manager Sales Agent Implement: login logout password hashing password reset session expiration protected routes server-side authorization role permissions A user must only see functionality permitted for their organization and role. ## 6. REAL LEAD CAPTURE Support multiple lead sources: WhatsApp Website form Manual entry Campaign API/Webhook When a website lead form is submitted, create a real database record. When a WhatsApp customer contacts the business, automatically create or identify the customer and lead. Prevent duplicate customers using phone/email matching where appropriate. ## 7. REAL AI PROPERTY MATCHING Build a real matching engine using database records. Inputs: budget location property type bedrooms bathrooms amenities Use configurable weighted scoring. Default: Budget 30% Location 25% Bedrooms 20% Property Type 10% Bathrooms 5% Amenities 10% Return actual properties from PostgreSQL. AI may explain recommendations, but the underlying property selection must come from the real database. ## 8. REAL CRM Create: /app/leads /app/leads/[id] Every interaction must update the CRM. Timeline events: Lead Created Message Received AI Response Lead Qualified Property Matched Agent Assigned Appointment Created Appointment Confirmed Follow-up Sent Status Changed Deal Won Deal Lost Users can manually add notes, tasks and activities. ## 9. REAL APPOINTMENTS Create a production appointment system. Support: Create Edit Reschedule Cancel Confirm Complete No Show Integrate Google Calendar and/or Microsoft Calendar. When a customer chooses a real appointment slot, verify availability and create the appointment. Store external calendar event ID. Avoid double booking. Send appointment confirmation and reminder through configured communication channels. ## 10. REAL AUTOMATION ENGINE Create a server-side automation engine. Examples: New lead → immediate AI response. Hot lead → notify agent. No response for 24 hours → follow-up. Appointment tomorrow → reminder. Viewing completed → follow-up. Lead inactive for 7 days → re-engagement campaign. Use a reliable background job/cron architecture. Jobs must be persistent and retry failed operations. Do not depend on browser tabs being open. ## 11. REAL CAMPAIGNS Create `/app/campaigns`. Allow business owners to select a real audience from their database. AI can generate campaign content. Before sending, provide preview and confirmation. Then send through configured provider. Track: queued sent delivered read failed replied Store every recipient and message result. Implement rate limiting and provider error handling. ## 12. REAL ANALYTICS Create `/app/analytics`. Calculate real metrics from PostgreSQL: Total Leads Qualified Leads Hot Leads Appointments Completed Viewings Won Deals Lost Deals Conversion Rate Pipeline Value Response Rate Campaign Performance Agent Performance AI Usage Do not hard-code dashboard numbers. Charts must update when database records change. ## 13. REAL SUBSCRIPTIONS Implement actual subscription architecture. Plans: Starter Growth Pro Enterprise Integrate a real payment/subscription provider suitable for the target market. Support: subscription creation subscription activation renewal payment failure cancellation expiry plan upgrade plan downgrade Use webhooks to update subscription status. Subscription restrictions must be enforced on the server. If subscription expires, protected API operations must stop. Do not rely on frontend restrictions. ## 14. REAL MULTI-TENANCY Each organization is completely isolated. Organization A must never access: Organization B's leads customers properties messages campaigns analytics users appointments Enforce this at repository/service/API level. Test tenant isolation explicitly. ## 15. REAL ADMIN Create `/admin`. Super Admin can: Create organizations View organizations Suspend organizations Activate organizations Manage plans View subscriptions View usage View system health Manage provider configuration Customer-facing users must never access these pages. ## 16. PRODUCTION INFRASTRUCTURE Prepare the project for deployment. Use: PostgreSQL secure environment variables production authentication database migrations logging error monitoring architecture background jobs webhooks API validation rate limiting backup strategy HTTPS deployment Create: `.env.example` Document all required variables. Never commit secrets. ## 17. UI/UX Create a premium GCC B2B SaaS design. Use: warm ivory charcoal soft beige subtle gold Keep the interface simple and premium. Create responsive: public website login dashboard leads AI inbox properties appointments campaigns analytics settings admin No clutter. No fake statistics. No placeholder content in production. ## 18. PRODUCTION TEST Before completion, perform this real workflow: 1. Create organization. 2. Create user. 3. Login. 4. Add real property. 5. Submit real website lead. 6. Verify lead is stored. 7. Send real WhatsApp message through configured provider. 8. Receive webhook. 9. AI processes the message. 10. Extract customer requirements. 11. Query PostgreSQL. 12. Calculate property matches. 13. Generate response. 14. Send response through WhatsApp. 15. Store conversation. 16. Update CRM. 17. Create appointment. 18. Sync calendar. 19. Send reminder. 20. Run follow-up automation. 21. Create campaign. 22. Send campaign. 23. Track delivery/replies. 24. Verify analytics. 25. Verify subscription limits. 26. Verify tenant isolation. Fix every error before declaring the product complete. ## 19. IMPORTANT RULE Do NOT replace unavailable production integrations with fake simulations. If an integration requires credentials, clearly document: * which account is required * which API key is required * which webhook URL must be configured * which environment variables must be added * how to activate the integration But the architecture and implementation must already exist. The final product must be a genuine production SaaS where, after adding the required third-party credentials, the actual services work end-to-end. Do not call the product “production-ready” until authentication, database, AI, messaging, webhooks, appointments, automation, subscriptions, security and tenant isolation have been implemented and tested.

public websitedashboard
public website

Comments (0)

No comments yet. Be the first!

System Requirements

System Requirement Document
Page 1 of 10

System Requirements Document for noble-nova

1. Introduction

NOVA AI is a production-ready SaaS platform designed for AI Sales & Appointment Automation, specifically targeting GCC businesses, starting with Kuwait real-estate companies. The platform will expand to UAE, Saudi Arabia, Qatar, Bahrain, and Oman. It integrates real AI processing, messaging, appointment management, automation, subscription enforcement, and analytics to facilitate sales and appointment workflows.

2. System Overview

NOVA AI is a comprehensive SaaS solution that automates sales and appointment processes for real-estate businesses in the GCC. It includes real-time AI-driven interactions, WhatsApp messaging integration, PostgreSQL database management, and secure authentication. The platform is designed to handle real customer interactions, lead management, property matching, and appointment scheduling, ensuring a seamless experience for users.

2a. Product Interpretation and Delivery Boundary

NOVA AI is delivered as a production SaaS platform with real integrations and no simulated components. It supports AI processing through OpenAI or Google Gemini, integrates with WhatsApp Business Cloud API, and uses PostgreSQL for data management. Authentication is unified and secure, supporting multiple user roles. The platform enforces tenant isolation and subscription restrictions server-side. The UI is designed to be responsive and premium, aligning with GCC cultural aesthetics.

Page 2 of 10

2b. Source Content Inventory

Not applicable as no content source directive was provided.

2c. Page Content and Component Coverage

public website

  • Information/State: Overview of NOVA AI, features, and benefits for GCC real-estate businesses.
  • Primary Actions: Contact form, demo request.
  • Components: Hero section, feature highlights, testimonials, contact form.
  • States: Loading, success, error.

/login

  • Information/State: User authentication interface.
  • Primary Actions: Login, password reset.
  • Components: Login form, password reset link.
  • States: Loading, success, error.

dashboard

  • Information/State: Overview of user activities and key metrics.
  • Primary Actions: Navigate to leads, properties, campaigns, analytics.
  • Components: Summary cards, navigation menu.
  • States: Loading, success, error.
Page 3 of 10

leads

  • Information/State: List of leads with status and details.
  • Primary Actions: View lead details, add new lead.
  • Components: Lead table, filters, add lead button.
  • States: Loading, empty, success, error.

/app/leads

  • Information/State: Detailed lead management.
  • Primary Actions: Edit lead, assign agent, update status.
  • Components: Lead detail view, timeline, notes section.
  • States: Loading, success, error.

/app/leads/[id]

  • Information/State: Specific lead details and interactions.
  • Primary Actions: Update lead information, add notes.
  • Components: Conversation history, qualification status.
  • States: Loading, success, error.

AI inbox

  • Information/State: AI-driven customer interactions.
  • Primary Actions: Respond to messages, view conversation history.
  • Components: Message list, AI response generator.
  • States: Loading, success, error.
Page 4 of 10

properties

  • Information/State: List of properties with details.
  • Primary Actions: Add property, edit property details.
  • Components: Property table, filters, add property button.
  • States: Loading, empty, success, error.

Appointments

  • Information/State: Appointment scheduling and management.
  • Primary Actions: Schedule, reschedule, cancel appointments.
  • Components: Calendar view, appointment form.
  • States: Loading, success, error.

campaigns

  • Information/State: Campaign management and tracking.
  • Primary Actions: Create campaign, view results.
  • Components: Campaign list, creation form.
  • States: Loading, success, error.

/app/campaigns

  • Information/State: Detailed campaign operations.
  • Primary Actions: Edit campaign, send campaign.
  • Components: Audience selection, content preview.
  • States: Loading, success, error.
Page 5 of 10

analytics

  • Information/State: Business performance metrics.
  • Primary Actions: View detailed analytics, export data.
  • Components: Charts, data tables.
  • States: Loading, success, error.

/app/analytics

  • Information/State: In-depth analytics and reports.
  • Primary Actions: Filter data, generate reports.
  • Components: Metric cards, filter options.
  • States: Loading, success, error.

settings

  • Information/State: User and organization settings.
  • Primary Actions: Update settings, manage subscriptions.
  • Components: Settings form, subscription details.
  • States: Loading, success, error.

3. Functional Requirements

  • As a Customer Lead, I should be able to contact the business through WhatsApp or a website form and receive an AI-generated response. (explicit)
  • As a Sales Agent, I should be able to view and manage leads, including AI-driven conversations and property matches. (explicit)
  • As a Manager, I should be able to oversee campaigns, appointments, and analytics to optimize sales operations. (explicit)
  • As an Organization Owner, I should be able to manage users, properties, and subscriptions to ensure business continuity. (explicit)
  • As a Super Admin, I should be able to manage organizations, plans, and system health from the admin interface. (explicit)
Page 6 of 10

4. User Personas

  • Super Admin: Manages organizations, plans, subscriptions, usage, provider configuration, and system health.
  • Organization Owner: Owns the business workspace, users, properties, campaigns, subscriptions, and sales operations.
  • Manager: Oversees leads, agents, appointments, campaigns, and analytics.
  • Sales Agent: Works on assigned leads, conversations, requirements, property matches, appointments, notes, tasks, activities, and follow-ups.
  • Customer Lead: Contacts a business through WhatsApp or website/API lead capture, exchanges messages with AI or staff, provides requirements, and can choose an appointment slot.

5. Core User Flows

Customer Lead Interaction

  1. Customer Lead contacts the business via WhatsApp or website form.
  2. AI processes the message, extracts requirements, and queries the database.
  3. AI generates a response and sends it through the messaging provider.
  4. Lead is created or updated in the CRM.

Sales Agent Workflow

  1. Sales Agent logs in and accesses the dashboard.
  2. Views and manages leads, including AI-driven conversations.
  3. Schedules appointments and updates lead status.
  4. Completes follow-ups and updates CRM timeline.
Page 7 of 10

Manager Oversight

  1. Manager logs in and accesses the dashboard.
  2. Reviews analytics and campaign performance.
  3. Manages appointments and agent assignments.
  4. Oversees lead qualification and property matching.

Organization Owner Management

  1. Organization Owner logs in and accesses the settings.
  2. Manages users, properties, and subscriptions.
  3. Reviews business performance through analytics.
  4. Adjusts settings and configurations as needed.

Super Admin Administration

  1. Super Admin logs in and accesses the admin interface.
  2. Manages organizations, plans, and system health.
  3. Configures provider settings and monitors usage.
  4. Ensures system compliance and performance.
Page 8 of 10

6. Visuals Colors and Theme

  • Muse: Yves Béhar
  • Palette:
    • Background: #F5F5F5
    • Surface: #EAE7DC
    • Text: #333333
    • Primary: #C8A97E
    • Accent: #B5BA72
    • Muted: #D3CAB9
  • Typography:
    • Headings: Work Sans — Bold
    • Body: Karla
    • Scale: 1.5 modular
  • Shape Language: Rounded interfaces with soft cards
  • Layout: Single-column focus with ample white space
  • Motion: Breathing, slow easing transitions

7. Signature Design Concept

The public entry features a balanced editorial hero with a large product image on the left and key messaging on the right. The background is warm ivory with subtle gold accents. Rounded cards with soft shadows are used for lead and property listings, and the interface is designed to be responsive with a human-scale spacing.

Page 9 of 10

8. Interaction Model & Motion Direction

  • Interaction Model: Static
  • Motion Tempo: Restrained
  • Hero Dimensionality: Layered_2d
  • Landing Hero Motion Brief: A composed hero section with a large, softly-lit product image and a color-blocked call to action. The motion is subtle, with slow easing transitions to maintain a calm and controlled user experience.

9. Non-Functional Requirements

  • Security: API keys stored in server environment variables; secure authentication and authorization.
  • Performance: Real-time AI processing and messaging integration.
  • Scalability: Supports expansion to additional GCC countries.
  • Reliability: Persistent background jobs with retry mechanisms.

10. Tech Stack

  • Frontend: React
  • Backend: Python/FastAPI
  • Database: PostgreSQL
  • Messaging: WhatsApp Business Cloud API
  • AI Provider: OpenAI/Google Gemini
  • Deployment: Docker, Kubernetes
Page 10 of 10

11. Assumptions and Constraints

  • The platform will initially target Kuwait real-estate companies and expand to other GCC countries.
  • All integrations must be real and production-ready; no simulations or placeholders.
  • Tenant isolation and subscription restrictions are enforced server-side.

12. Glossary

  • GCC: Gulf Cooperation Council
  • CRM: Customer Relationship Management
  • AI: Artificial Intelligence
  • SaaS: Software as a Service
  • API: Application Programming Interface
public website design preview
public website: Submit contact form
AI inbox: Exchange messages with AI
leads: View lead status
Appointments: Choose appointment slot
public website design preview
public website: Submit contact form
AI inbox: Exchange messages with AI
leads: View lead status
Appointments: Choose appointment slot