|
|
Win/Loss Analysis Agent
Author: Venkata Sudhakar
Understanding why ShopMax India wins or loses deals is critical to improving the sales playbook. A Win/Loss Analysis Agent processes closed deal data - including loss reasons, competitor involvement, deal size, and sales cycle length - and uses Gemini to surface patterns and strategic recommendations that a manager would otherwise spend hours compiling manually.
This tutorial builds a Win/Loss Analysis Agent using Google ADK and Gemini 2.0 Flash. The agent aggregates closed deal data by quarter, identifies the top win and loss drivers, and generates a strategic insight report.
The below example shows the Win/Loss Agent analysing Q1 2026 closed deals for the South India region.
It gives the following output,
WIN/LOSS ANALYSIS - Q1 2026 (South India)
==========================================
Revenue Summary
Total Deals : 8
Win Rate : 50%
Won Revenue : Rs 285 lakhs
Lost Revenue : Rs 425 lakhs
Sales Cycle
Avg cycle (won) : 24 days
Avg cycle (lost): 43 days <- Longer cycles correlate with losses
Top Loss Reasons
1. Price too high (2 deals, Rs 155 L lost)
2. Slow response (1 deal, Rs 200 L lost)
3. Missing feature (1 deal, Rs 70 L lost)
Competitive Losses
CompetitorX : 2 losses (retail sector, price-driven)
Industry Win Rates
Logistics : 100% | Manufacturing: 50%
Healthcare : 50% | Retail : 0%
Top 3 Recommendations
1. Introduce a competitive pricing floor for retail - we lost Rs 320 L
in retail with 0% win rate. Address CompetitorX directly.
2. Set a 24-hour response SLA for deals above Rs 50 L. Slow response
cost us our biggest deal this quarter.
3. Conduct a product gap review for healthcare. One loss due to missing
feature - identify and roadmap the gap.
The Win/Loss Analysis Agent turns raw CRM data into strategic intelligence. Run it quarterly with different regional filters to compare performance across territories. Feed in free-text call notes using Gemini to extract qualitative insights that structured data alone cannot capture.
|
|