Hackathon Project by Rexnel Team
Β© 2025 Rexnel Team. All Rights Reserved.
This software solution was developed for the SBI Life Hack AI-Thon. All source code, documentation, and related materials are proprietary to the Rexnel Team. Any unauthorized copying, modification, distribution, or use of this software solution outside of the Rexnel Team or without explicit written permission is strictly prohibited.
For licensing inquiries, please contact the Rexnel Team.
Authorized Use: This code may be used by VS Code and members of the Rexnel Team only.
Welcome to the SBI Life Insurance AI-Driven Customer Experience & Retention Platform! This innovative solution combines advanced analytics, AI personalization, and gamification to enhance customer engagement and reduce churn. Built with cutting-edge technology, this system helps insurance agents and administrators make data-driven decisions while delivering a personalized experience to customers.
Our solution addresses the challenge that sits at the heart of the future of insurance and fintech: enhancing customer experience and retention through AI-driven personalization.
- WORKING DEPOLYED LINK: DEPOLYED LINK
- Dynamic AI Personalization: Real-time, customer-specific policy recommendations that go beyond static personas
- Predictive Analytics: Early detection of lapsation risks to drive retention
- Gamified Engagement: Reward-based systems with coins to make customer interactions more meaningful and sticky
- Explainable AI: Built on SHAP for transparency and trust
- Conversational AI + Sentiment Analysis: Engaging, human-like digital interactions
- Ethical & Secure: GDPR & RBI-compliant data handling
Our solution reflects months of research, commitment, and innovation β aligned with cutting-edge industry insights from McKinsey, Deloitte, Harvard Business Review, and Gartner.
- Customer Details: View detailed information about each customer, including their loyalty score, churn probability, and policy recommendations
- Churn Prediction: Identify customers at high risk of churn and take proactive measures to retain them
- Loyalty Score: Measure customer loyalty with a dynamic score that updates based on their interactions and behavior
- Policy Recommendations: Suggest tailored insurance policies based on customer profiles and preferences
- Daily Login Points: Customers earn coins for daily platform engagement
- Achievement Rewards: Complete tasks and milestones to earn additional coins
- Redemption Options: Exchange coins for coupons, discounts, and exclusive products
- Leaderboards: Competitive elements to drive platform engagement
- Custom Data Training: Easily train the chatbot using a
data.txtfile containing FAQs, policy details, and other relevant information - Policy Suggestions: The chatbot can recommend the best insurance policies based on customer needs and preferences
- 24/7 Support: Provide instant assistance to customers with an AI-powered chatbot that can handle queries, policy updates, and more
- Sentiment Analysis: Detect customer emotions to provide appropriate responses
- User Creation Form: Add new customers or agents with a simple form
- Manage Teams: View and manage registered users, their roles, and statuses
- Leaderboard: Track top-performing users based on their scores and achievements
- Customer Churn Rate: Visualize churn rates over time
- User Role Distribution: Analyze the distribution of users by role (e.g., customer, agent)
- User Score Distribution: View the distribution of loyalty scores across users
- Top Users by Score: Identify top-performing users with the highest loyalty scores
- Coin Economy Analytics: Track coin earning and redemption patterns
- Dynamic FAQs: Answer common customer questions with a comprehensive FAQ section
- Customizable: Easily update FAQs to reflect the latest policies and customer concerns
- Download User Data: Export user data in CSV format
- Download Policy Data: Export policy details for further analysis
- Reward System Reports: Download reports on coin distribution and redemption
Our solution is powered by a Multi-Agentic Framework and built on a robust tech stack spanning:
- AI/ML: For predictive analytics and personalization
- NLP: For conversational AI and sentiment analysis
- Cloud: For scalable infrastructure
- Gamification Engines: For engagement and retention
- Explainable AI: For transparent decision-making
- GitHub Repository: Dashboard User Analysis
- Deployed Link: Dashboard User Analysis on Render
- Node.js (v16 or higher)
- A modern web browser (Chrome, Firefox, Edge, etc.)
Clone the repository to your local machine using the following command:
git clone https://github.com/astyashish/sbi_prototype.git
cd sbi-life-insurance-websiteInstall the required dependencies using npm:
npm install-
Create a CSV file named
insurance_data_example.csvin the root directory. -
Add the following sample data to the CSV file:
Name,Age,Gender,Health Conditions,Occupation,Income Level,Family Dependents,Lifestyle Choices,Policy History,Coins Rahul,28,Male,None,Software Engineer,High,2,"Gym, Non-Smoker",No Claims,1000 Priya Patel,35,Female,Diabetes,Doctor,High,4,"Yoga, Non-Smoker",One Claim,1000 -
Ensure the CSV file path in the
fetchCSVAndUpdateCoinsfunction matches the file location:const response = await fetch('insurance_data_example.csv');
Start the development server:
npm startThe website should now be running on http://localhost:3000.
For a static version, you can simply open:
index.htmlsbi-life-insurance-website/
βββ index.html
βββ styles.css
βββ main.js
βββ insurance_data_example.csv
βββ data.txt # For AI chatbot training
βββ assets/
β βββ img/
β βββ video/
β βββ css/
β βββ js/
βββ README.md
βββ package.json
The project uses the following libraries:
- Swiper: For the popular plans swiper
- MixItUp: For filtering featured insurance plans
- ScrollReveal: For scroll animations
- Navigate to the Dashboard to view customer insights, churn predictions, and policy recommendations
- Use filters to analyze specific customer segments
- Monitor customer coin balances in the dashboard
- Configure coin rewards for various activities
- Manage redemption options for customers
- Interact with the chatbot to get instant answers to customer queries
- Train the chatbot with new data by updating
data.txt
- Add new users via the User Creation Form
- Manage existing users and their roles in the Manage Teams section
- Explore Charts & Analytics to gain insights into customer behavior and performance metrics
- Update the FAQs section to address common customer concerns
User data is stored in a CSV format with the following fields:
idnameemailrolestatusBadgeCoins
Example:
id,name,email,role,status,Badge,Coins
1,ANURAG MISHRA,,Customer,Rejected,π Elite,5000
2,ANURAG MISHRA,anmi21aiml@cmrit.ac.in,Customer,Pending,π’ Beginner,1200
Policy data is stored in a CSV format with the following fields:
CustomerIDAgeIncomeLocationPolicyTypeTenurePremiumAmountClaimsMadeLoginFrequencySupportCallsChurn
Example:
CustomerID,Age,Income,Location,PolicyType,Tenure,PremiumAmount,ClaimsMade,LoginFrequency,SupportCalls,Churn
1001,25,50000,0,1,2,10000,1,30,2,0
Customers can earn coins through various activities:
- Daily Login: 50 coins per day
- Policy Purchase: 1000 coins per new policy
- Premium Payment: 500 coins per on-time payment
- Referrals: 750 coins per successful referral
- Completing Profile: 300 coins for completing profile information
- Engagement Activities: Various points for surveys, feedback, etc.
Customers can redeem coins for:
- Premium Discounts: Exchange coins for premium reductions
- Gift Vouchers: Redeem for e-commerce or retail vouchers
- Digital Products: Exchange for digital subscriptions or services
- Exclusive Content: Access to premium financial planning tools
- Physical Merchandise: SBI Life branded products
The coin system is implemented in the main.js file:
// Example coin management function
function updateUserCoins(userId, activity) {
const coinRewards = {
'dailyLogin': 50,
'policyPurchase': 1000,
'premiumPayment': 500,
'referral': 750,
'profileCompletion': 300
};
// Update user coins in database
const currentCoins = getUserCoins(userId);
const newCoins = currentCoins + coinRewards[activity];
setUserCoins(userId, newCoins);
// Update UI
updateCoinDisplay(userId);
}The system recommends insurance policies based on customer profiles. Here are some examples:

- SBI Life β eShield Next (id: sbipp1): A term plan offering multiple coverage options
- SBI Life β Saral Jeevan Bima (id: sbipp2): A straightforward term insurance plan
- SBI Life β Sampoorna Cancer Suraksha (id: sbipp3): A specialized plan for cancer coverage
- SBI Life β Smart Swadhan Plus (id: sbisp1): A term assurance plan with a return of premiums
- SBI Life β Shubh Nivesh (id: sbisp2): An endowment plan offering regular income
- SBI Life β Smart Wealth Assure (id: sbiu1): A single premium ULIP with market-linked returns
- SBI Life β Smart Elite (id: sbiu2): A limited premium payment ULIP for high net-worth individuals
- SBI Life β Retire Smart (id: sbirp1): A ULIP offering assured additions for retirement
- SBI Life β Saral Pension (id: sbirp2): A traditional pension plan providing regular income
- SBI Life β Smart Champ Insurance (id: sbicp1): A plan to support your child's education
- SBI Life β Smart Money Back Gold (id: sbimbp1): A money-back plan with regular payouts
- SBI Life β Shubh Nivesh (Whole Life Option) (id: sbiwlp1): An endowment plan with whole life coverage
A: Churn probability is predicted using a trained machine learning model based on customer behavior and historical data. Our model analyzes factors such as policy type, tenure, premium amount, claims history, login frequency, and support interactions to determine the likelihood of a customer discontinuing their policy.
A: Yes, policy recommendations are dynamically updated based on customer interactions and preferences. The AI model continuously learns from customer behavior to refine and personalize recommendations.
A: Simply update the data.txt file with your custom data and run the training script. You can add new FAQs, policy details, and response templates to enhance the chatbot's knowledge base.
A: The coin system rewards customers for engagement and loyalty. Users earn coins through various activities such as daily logins, policy purchases, and referrals. These coins can be redeemed for discounts, vouchers, and exclusive products.
A: Absolutely. Our platform adheres to GDPR and RBI data protection guidelines. All personal information is encrypted, and we employ strict access controls to protect customer data.
A: Administrators can customize various aspects of the platform, including dashboard views, policy recommendations, coin rewards, and chatbot responses. Contact your system administrator for specific customization options.
Our solution is designed for enterprise-scale deployment with:
- Cloud-native architecture for elastic scaling
- Microservices design for modular growth
- Real-time analytics processing
- Caching mechanisms for optimal performance
- Data partitioning for high-volume handling
Projected outcomes based on industry benchmarks:
- 25-30% reduction in policy lapsation
- 40% increase in cross-selling effectiveness
- 60% improvement in customer engagement metrics
- 45% enhancement in Customer Satisfaction Score (CSAT)
- 35% reduction in customer service operational costs
Our roadmap includes:
- Enhanced voice-enabled AI interactions
- Blockchain integration for reward tokenization
- VR/AR-based customer education modules
- Advanced behavioral economics integrations
- Expanded ecosystem partnerships
Thank you for using the SBI Life Insurance AI-Driven Customer Experience & Retention Platform! We hope this tool helps you deliver exceptional service to your customers. π
Developed by Rexnel Team for SBI Life Hack AI-Thon 2025