Inspiration
The idea stemmed from a real-world problem faced by many retail investors — missing out on timely stock decisions due to the lack of alerts or overwhelming data. I wanted to build something simple, intelligent, and personalized. That’s how InvestorForce came into being: a tool that makes financial insights accessible to everyone using conversational AI.
Adding to this, the inspiration became even more personal — my husband and brother are both passionate about the stock market, and I often noticed them discussing trends and struggling to get accurate, actionable insights. Despite their deep interest, there wasn’t a reliable way for them to get answers to their every question in real time.
That made me wonder — what if something could analyze the entire market, understand trends, and respond like a knowledgeable friend? I'm sure they — and many others like them — would be thrilled if such a solution existed.
InvestorForce is designed to be that intelligent, helpful companion — a virtual friend to anyone interested in the stock market, turning confusion into confidence.
I'm confident that tools like this can make investing smarter, less stressful, and more informed for people like them — and many others.
What It Does
InvestorForce helps retail investors make informed decisions by delivering real-time stock alerts and insights directly to them.
Currently, we’ve opted to ingest bulk stock data into Salesforce’s Data Cloud for real-time analysis, providing accurate and up-to-date stock trends without relying on external APIs. This approach allows us to efficiently process large volumes of data and offer personalized stock alerts tailored to each investor's portfolio.
Key features of InvestorForce include:
Real-Time Stock Data: The system pulls stock data from Data Cloud, ensuring that information remains relevant and accurate for stock analysis.
Personalized Alerts: Based on individual portfolio performance and market trends, InvestorForce sends personalized alerts to users via email, notifying them when stock trends shift.
Conversational Interface: Using Agentforce, users can interact with the system conversationally, asking for stock updates or receiving timely buy/sell recommendations based on data analysis.
Data-Driven Insights: By analyzing historical stock performance and current trends, InvestorForce provides actionable insights tailored to each user’s investment strategy.
Future Plan: In the future, I plan to integrate external APIs for more granular, real-time market data, allowing us to provide even faster and more accurate stock alerts. This would further enhance the responsiveness and accuracy of the alerts, making InvestorForce a more robust solution for stock market enthusiasts.
How we built it
Designing the Data Model: The first step was setting up Salesforce objects like Stock_Master_dlm, Customerdlm, Portfolio_History_dlm, and Market_News__dlm to manage customer portfolios, stock data, historical transactions, and market news.
Using Agentforce for Alerts: I utilized Agentforce to build the conversational agent that triggers buy/sell alerts. It collects real-time stock data and compares it with market trends to generate actionable alerts. The agent sends Personalized Stock Recommendations based on the user's individual investment preferences and portfolio.
Key Topics Built: Buy Sell Stock Alerts: An invocable Apex class was written to fetch customer data, analyze stock trends, and send personalized buy/sell alerts based on changes in stock prices.
Personalized Stock Recommendations: Based on the stock trends and the customer’s portfolio, I implemented a system to send personalized recommendations on whether to buy, sell, or hold specific stocks, using email notifications.
Portfolio Insights: With Data Cloud integration, I built a process that analyzes historical portfolio data and provides insights on overall portfolio performance and asset allocation.
Real-Time Market Analysis: Real-time stock data is pulled from Data Cloud and analyzed using dynamic algorithms to provide up-to-date market insights, ensuring that users receive alerts based on the latest market trends.
Apex Class for Email Notifications: I wrote an invocable Apex class that fetches customer data based on email, pulls stock trends, and sends personalized alerts via email notifications.
Real-Time Data Handling with Data Cloud: Real-time stock data is fetched and analyzed using Data Cloud, which is integrated with Salesforce to ensure the information is always up-to-date.
Email Integration: Using Salesforce's built-in email functionality, I built custom alerts based on stock performance and market news. These are sent to customers via email notifications when stock trends change or when relevant market news is available.
Challenges we ran into
Salesforce Email Limits: Managed daily email cap by optimizing the frequency and importance of messages. As we're not using SMS or APIs, this was crucial to ensure we don’t hit Salesforce's daily email sending limits.
Real-Time Accuracy: Ensured up-to-date data by using Data Cloud for bulk data ingestion rather than APIs. This approach was effective, but I had to carefully manage the data refresh cycles to avoid overwhelming the system.
UX Complexity: Designed a conversational experience that can handle multiple stocks and market trends, making it intuitive without overwhelming the users. The challenge was ensuring that the alerts were informative but not cluttered, especially when dealing with various alert types (buy, sell, portfolio updates).
Scalability: Implemented efficient bulk data processing and Data Cloud integration to support high volumes of customer records and alerts. The challenge was ensuring smooth system performance as the number of records grew, without relying on APIs for real-time data fetching.
Accomplishments that we're proud of
Real-Time Personalized Alerts: Developed a robust system that delivers personalized buy/sell stock alerts to users based on real-time market data. These alerts help retail investors make informed decisions about their investments, reducing the reliance on manual analysis.
Effective Use of Data Cloud: Successfully implemented Data Cloud for bulk data ingestion, enabling us to handle large datasets efficiently. This approach allowed for real-time analysis of customer portfolios, stock trends, and historical data, without relying on external APIs.
User-Friendly Conversational Interface: Designed a seamless and intuitive conversational interface using Salesforce Agentforce that delivers stock recommendations, portfolio insights, and market analysis in a user-friendly format. This interface simplifies complex financial data, making it accessible for all investors.
Scalable System Design: Built a scalable system that can handle a growing number of users and data points. With the effective use of bulk data processing and Data Cloud, we ensured that the system can grow without performance degradation.
Email Notification Optimization: While we continue to face Salesforce's daily email limits due to the platform's restrictions on the number of emails that can be sent per day, we've made significant progress by optimizing the frequency and targeting of notifications. This ensures that users receive the most relevant updates without exceeding the limits. Additionally, due to Data Cloud fields not being available in flows and email templates, we encountered some limitations. To overcome these constraints, we leveraged Apex Email Messaging, allowing us to bypass these restrictions and deliver more personalized, targeted emails. This step has significantly improved our ability to manage email notifications efficiently, and we are actively working on further solutions to handle the daily email cap more effectively while exploring ways to integrate Data Cloud fields into flows and templates for better automation.
Real-Time Market Insights: Created a tool that provides real-time market analysis by combining stock trends, portfolio data, and market news. This allows users to stay updated with critical stock information and make better investment decisions.
What we learned
Salesforce Agentforce and Conversational AI: I gained hands-on experience with Agentforce, learning how to integrate conversational agents within Salesforce. This allowed me to build intelligent and automated stock alert systems that respond in real-time, helping me better understand how AI can drive engagement in financial applications.
Apex Programming and Email Integration: Through the challenges faced with email limits in Salesforce, I deepened my understanding of Apex programming. I learned how to create and manage custom email templates, leverage Apex Email Messaging, and handle real-time notifications, all while ensuring they fit within the platform's constraints.
Real-Time Data Management with Data Cloud: Working with Data Cloud helped me learn how to efficiently manage large-scale datasets. I gained a better understanding of how to ingest and process bulk data and then integrate it within Salesforce for dynamic use in real-time stock alerts.
Email Notification Optimization: I learned about the limitations Salesforce imposes on daily email sends, leading me to explore strategies like Apex and optimizing frequency to ensure messages reach the right users. This experience helped me understand the importance of balancing system limitations with user engagement.
UX and User-Centric Design: Creating a seamless user experience was key to the success of InvestorForce. I learned how to design interfaces that prioritize user-friendliness while delivering complex financial insights in an easily digestible format. This was crucial in ensuring that users received timely and actionable stock alerts without being overwhelmed.
Scalability and Bulk Processing: As InvestorForce scales, I realized the importance of designing systems that can handle a growing number of users and data. I worked on implementing efficient bulk processing strategies to ensure system performance remains consistent even as user volume and data size increase.
What's next for InvestorForce
External API Integration: While we've built InvestorForce using bulk data ingestion into Data Cloud, the next step is to integrate external stock market APIs to fetch real-time data. This will provide even more accurate, dynamic, and faster updates for stock trends, market news, and customer portfolios.
Advanced AI Features: We plan to enhance the conversational agent capabilities by integrating more advanced AI algorithms. These will enable more nuanced stock recommendations and personalized insights based on individual user behavior, portfolio performance, and market conditions.
Mobile Support and App Integration: To make InvestorForce even more accessible, we aim to develop mobile-friendly features or even an app, allowing investors to receive alerts and manage their portfolios on the go. This will improve accessibility and allow users to stay informed anytime, anywhere.
Expanded Notification Channels: Currently, InvestorForce uses email notifications. Moving forward, we plan to integrate SMS and possibly push notifications for more immediate and versatile communication, ensuring that investors receive real-time updates in their preferred formats.
Enhanced Portfolio Insights: We're working on providing deeper portfolio insights, including risk analysis, projected returns, and detailed breakdowns of asset performance. This will help investors make more informed decisions about their investments.
Scalability Improvements: As InvestorForce grows, we’ll focus on improving its scalability to handle a larger number of users and more extensive datasets. This will involve optimizing data processing and storage strategies to ensure consistent performance across the platform.
**Advanced User Analytics: We aim to add features that allow users to analyze their investing patterns and better understand their decisions. This will include personalized reports and performance reviews based on user activities and stock trends.
Built With
- agentforce
- apex
- bulkdataingestion
- datacloud
- salesforce
- salesforceemailmessaging
Log in or sign up for Devpost to join the conversation.