Xpenser is not just a simple expense manager. It is an advanced expense management tool designed to simplify logging and analyzing your spending habits. With robust features, including seamless WhatsApp integration powered by Twilio, Xpenser stands out as a unique solution for personal finance management.
Twilio's Programmable WhatsApp Messaging facilitates user interaction through WhatsApp.
Send WhatsApp Message using TwiML
consttwiml=newTwilio.twiml.MessagingResponse();twiml.message("Please ask about spends you have done or spend you want to log.");callback(null,twiml);
AI
Gemini 1.5 Flash, a Google AI Model, enhances Xpenser with advanced analytics and predictions.
Expense Analytics
Analyzing user expense history to provide insights and respond to user queries.
constanalyticsModel=genAI.getGenerativeModel({model:"gemini-1.5-flash",systemInstruction:"Based on below expenses done by user give answer to user. Optimize as WhatsApp message reply and add emojis.\n\nExpense History:\n"+expenseCsvText,});constgenerationConfig={temperature:0.6,topP:0.95,topK:64,maxOutputTokens:8192,responseMimeType:"application/json",};constchatSession=model.startChat({generationConfig});constresult=awaitchatSession.sendMessage(event.Body);constaiResponse=result.response.text()
Expense Categorization
Categorizing expenses based on user-provided descriptions.
Xpenser qualifies for the Twilio Times Two prize category by utilizing multiple Twilio features: Verify, Functions, and WhatsApp Messaging.
Future Scope
Spending Habits: Use AI to identify spending patterns and suggest ways to optimize expenses based on historical data.
Mobile Applications: Develop native iOS and Android applications for enhanced accessibility and a more seamless user experience.
Custom Reports: Allow users to generate customizable reports based on various parameters such as date range, categories, or tags.
Investment Tracking: Add features to track investments and provide insights into portfolio performance.
Manage Categories: Create and manage custom categories and sub-categories for a more personalized experience.
Conclusion
It was a great experience to work on this project while exploring Twilio services and integrating AI to enhance the user experience. Thanks to Dev.to team for this amazing hackathon.
Love what you have built!