Inspiration
In the fast-paced world of SaaS, "Silent Churn" is a billion-dollar problem. We realized that by the time a Customer Success Manager (CSM) manually audits usage logs and support tickets—a process that typically takes over 2 hours—the customer has already decided to leave. We were inspired to build a "Guardian" that turns reactive manual work into proactive autonomous protection.
What it does
Revenue Sentinel is an autonomous AI agent that monitors enterprise accounts in real-time. It uses a 4-phase pipeline to:
Audit: Retrieve live usage logs and support ticket sentiment from Elasticsearch.
Analyze: Calculate a dynamic Health Score (0-100) to identify risks or expansion opportunities.
Remediate: Use Vector Search to find historical technical solutions with up to 99% accuracy.
Execute: Trigger automated business actions in Slack and Salesforce to save or grow revenue.
How we built it
Backend: Powered by Elasticsearch as both a real-time observability store and a Vector Database.
AI Intelligence: An LLM-driven agent equipped with specialized tools to query indices and execute remediation workflows.
Frontend: A React-based dashboard featuring Live Agent Logs that stream the agent’s thought process in real-time.
Integrations: Designed with connectors for Google Sheets, Gmail, Slack, and Salesforce.
Challenges we ran into
The biggest challenge was maintaining high-fidelity automation during platform-level billing issues with the Google Cloud/Gmail API. We had to pivot quickly, designing a robust CSV-based simulation through the Elasticsearch Data Visualizer to ensure the AI agent could still perform deep audits and vector searches without a live mail connection.
Accomplishments that we're proud of
Massive Efficiency: Successfully reduced a 2-hour manual audit process to just 5.8 seconds.
Precision Remediation: Achieving a 99% match using Vector Search to find specific technical fixes (like API certificate rotations) that prevent churn.
Proactive Growth: Identifying a $75,000 ARR expansion opportunity for a healthy customer autonomously.
What we learned
We learned that Elasticsearch is much more than a search engine—it is a powerful engine for Autonomous Observability. We also realized the importance of "Human-in-the-loop" logs, where showing the agent's thought process (via Live Agent Logs) builds critical trust with business users.
What's next for Revenue Sentinel: Autonomous Revenue Protection Agent
The next step is to move beyond simulation by finalizing the Google Workspace and AWS integrations for a full production environment. We also plan to implement "Predictive Churn Forecasting" by training custom models on historical Elasticsearch data to catch risks even before they appear in support tickets.
Built With
- custom-agent-framework
- elasticsearch
- elasticsearch-data-visualizer
- elasticsearch-vector-search
- javascript
- llm
- node.js
- react
- tailwind-css
- vite
Log in or sign up for Devpost to join the conversation.