pearl-system

byCars Dakhni

Create a complete web-based Lead Management & Calling Assignment System. PROJECT OVERVIEW: The system will manage 18,000 leads (Name, Phone Number, Email ID) imported from an Excel file. The system will automatically assign leads to callers in batches of 10 records at a time, with a maximum limit of 200 leads per caller per day. USER ROLES: 1. Admin 2. Caller (Calling Team Member) --------------------------------------- AUTHENTICATION SYSTEM --------------------------------------- • Secure Login system required. • Admin default login: Email: [email] Password: admin • Admin must be able to change password. • Admin can create, edit, deactivate, and delete caller accounts. • Caller login with email & password. --------------------------------------- LEAD IMPORT SYSTEM --------------------------------------- • Admin can upload Excel (.xlsx / .csv). • Fields: - Name - Phone Number - Email ID • Data should be stored in database. • Each record must have unique Lead ID (auto generated). --------------------------------------- LEAD ASSIGNMENT LOGIC --------------------------------------- • Caller clicks "Get Leads". • System assigns exactly 10 unassigned leads. • A caller can receive maximum 200 leads per day. • After finishing 10 leads (all must be updated), caller can click "Get Next 10". • System must prevent assignment beyond 200 per day per caller. • Leads once assigned cannot be reassigned unless admin does it manually. --------------------------------------- CALL STATUS UPDATE RULES --------------------------------------- For each lead caller must update: - Call Status (Connected / Not Connected / Follow-up / Not Interested / Converted / etc.) - Mandatory Comment IMPORTANT RULES: • Once status is submitted, it CANNOT be edited by caller. • Caller can only ADD NEW COMMENT (log entry). • Each comment must: - Have timestamp - Be immutable (cannot be edited or deleted by caller). • Maintain full activity log history per lead. --------------------------------------- ADMIN CONTROL --------------------------------------- Admin can: • View all leads • Filter by status, caller, date • Edit call status • Edit comments • Delete comments if needed • Reassign leads • Delete leads • Export data (Excel) • View daily performance of each caller --------------------------------------- DASHBOARD REQUIREMENTS --------------------------------------- Dashboard visible to ALL users. Caller Dashboard (Read-only except own data): • Total leads assigned today • Completed today • Pending today • Total conversions • Status summary (charts) • Daily progress bar (out of 200) Admin Dashboard (Fully Functional): • Total leads • Total assigned • Total unassigned • Conversion rate • Caller performance table • Status distribution charts • Daily / Weekly / Monthly analytics • Export reports --------------------------------------- SYSTEM FEATURES --------------------------------------- • Clean, modern responsive UI • Role-based access control • Secure backend • Proper database structure • Audit log system • Search & filter functionality • Pagination for large records • Secure password hashing • Logout functionality --------------------------------------- TECHNICAL REQUIREMENTS --------------------------------------- Use: Frontend: React / Next.js Backend: Node.js + Express Database: PostgreSQL or MongoDB Authentication: JWT Charts: Chart.js or similar Excel Upload: SheetJS or similar library --------------------------------------- DATABASE STRUCTURE SUGGESTION --------------------------------------- Users Table: - id - name - email - password - role (admin / caller) - is_active - created_at Leads Table: - id - name - phone - email - assigned_to - assigned_date - status - created_at Lead_Comments Table: - id - lead_id - user_id - comment - timestamp Daily_Assignment_Log: - id - user_id - date - total_assigned --------------------------------------- SECURITY RULES --------------------------------------- • Caller cannot edit status once submitted. • Caller cannot edit/delete comments. • Admin has full control. • API endpoints must validate role. • Prevent SQL injection & unauthorized access. --------------------------------------- DELIVERABLES REQUIRED --------------------------------------- • Complete backend code • Complete frontend code • Database schema • API routes • Deployment instructions • Setup instructions Build production-ready scalable system. make all dashboard items workable for admin and admin panel shall be there to manage all items, admin can change the daily limit can upgrade or downgrade if needed, there should be smtp configuration option in admin panel to get mail notification to staff and Manager, there should one more opton of manager for all stall should have all previlages of admin except admin panel for [email] make it admin &change the password to admin and let me change the password accordingly after login

No preview

Comments (0)

No comments yet. Be the first!

Architecture

Service Dependenciesv1
External
Storage
AI
Backend
Frontend
Client
Azure OpenAI
MariaDB
PostgreSQL
Redis
LiteLLM Gateway
FastAPI Server
React App
Browser

No completed page designs yet.

Completed design pages will appear here when they are ready to preview.

No user flows yet.

The User Flow Agent will generate per-persona navigation diagrams after SRD updates.

No completed page designs yet.

Completed design pages will appear here when they are ready to preview.

No user flows yet.

The User Flow Agent will generate per-persona navigation diagrams after SRD updates.