Inspiration
Many SMEs struggle to understand why customers stop returning and often lack the resources to hire data analysts or consultants. At the same time, service providers such as marketing agencies, CRM consultants, and loyalty programme providers struggle to reach businesses that genuinely need their services. We wanted to bridge this gap by building an AI-powered platform that not only predicts customer churn but also connects businesses with the right solution partners.
What it does
Our AI Customer Retention Platform helps businesses upload customer datasets in CSV format and receive AI-powered insights on customer churn.
The platform:
Analyzes customer behaviour using Google Gemini AI. Identifies customers at risk of leaving. Explains possible reasons behind customer churn. Recommends actionable retention strategies. Suggests relevant solution partners based on the business's needs. Allows verified business solution providers to register and be recommended to businesses. Creates opportunities for collaboration between businesses through AI-driven recommendations. How we built it Frontend: Next.js, React, TypeScript, Tailwind CSS Backend: Next.js API Routes Database & Authentication: Supabase AI: Google Gemini API Charts & Dashboard: Recharts Deployment: Vercel
The application allows businesses to upload customer CSV files, which are processed by the backend. Google Gemini AI analyzes the customer data and returns structured insights, including churn risk, recommendations, and suitable partner categories. Business and partner information is securely stored in Supabase, enabling authenticated users to access their respective dashboards.
Challenges we ran into Designing prompts that consistently returned valid JSON from the AI model. Handling Gemini API quota limits and model version changes during development. Managing separate authentication flows for business users and solution partners. Preventing duplicate partner registrations and ensuring correct dashboard routing. Matching AI recommendations with appropriate partner categories. Building an intuitive dashboard while keeping the application responsive and user-friendly. Accomplishments that we're proud of Successfully integrated Google Gemini AI into a real-world business use case. Built separate workflows for businesses and verified solution partners. Created an end-to-end system from customer data upload to AI-powered recommendations. Implemented secure authentication and database management with Supabase. Developed an MVP that combines customer analytics with business networking in one platform. Validated our idea through surveys with business owners and marketing service providers. What we learned
Throughout this project, we gained hands-on experience integrating generative AI into a web application and designing effective prompts for structured outputs. We also learned how to manage authentication, database relationships, API integration, and deployment using modern web technologies. More importantly, we learned the importance of validating ideas with real users through surveys and building solutions that address genuine business challenges.
What's next for AI Customer Retention Platform Integrate directly with CRM and POS systems to automate customer data syncing. Enable automatic AI analysis without requiring manual CSV uploads. Improve churn prediction using custom machine learning models trained on larger datasets. Add email and WhatsApp campaign automation for customer retention. Introduce AI-powered collaboration matching between complementary businesses. Expand the partner marketplace with subscriptions, featured listings, and analytics. Develop mobile support and multilingual capabilities for wider adoption. Provide advanced business insights and predictive analytics dashboards for SMEs.
Built With
- next.js
- papaparse
- rechart
- render
- supabase
- tailwindcss
- typescript

Log in or sign up for Devpost to join the conversation.