tl  tr
  Home | Tutorials | Articles | Videos | Products | Tools | Search
Interviews | Open Source | Tag Cloud | Follow Us | Bookmark | Contact   
 Generative AI > Google Gemini API > Extended Warranty Upsell Agent

Extended Warranty Upsell Agent

Author: Venkata Sudhakar

Extended warranties are high-margin products for ShopMax India, but the window to sell them is narrow - most customers decide within the first 30 days of purchase. An upsell agent that identifies which customers bought high-value electronics, checks whether they already have warranty coverage, and triggers a targeted offer at day 14 post-purchase can significantly boost warranty attachment rates without annoying customers who have already opted in.

This tutorial builds an Extended Warranty Upsell Agent using ADK and Gemini. The agent scans recent purchases, scores each customer's upsell propensity based on product value, category, and purchase history, and generates a personalised warranty offer message.

The below example shows the warranty upsell workflow for ShopMax India electronics customers.


It gives the following output,

Warranty Upsell Campaign - ShopMax India
2 candidates identified (1 skipped - already has warranty)

--- ORD-6001 | Suresh Iyer, Chennai | HIGH PROPENSITY (score: 60) ---
Product: Samsung 55-inch 4K TV (Rs 62,000)
Recommended: 3-Year Premium Care - Rs 3,999

Message: Hi Suresh, your Samsung 4K TV is now 2 weeks old - hope it is
lighting up your living room! For just Rs 3,999, our 3-Year Premium Care plan
protects it from manufacturing defects, accidental damage, and liquid damage
with priority 48-hour service. That is less than Rs 4 per day to protect
your Rs 62,000 investment. Activate before day 30: shopmax.in/warranty/ORD-6001

--- ORD-6003 | Kiran Rao, Bangalore | MEDIUM PROPENSITY (score: 35) ---
Product: Sony WH-1000XM5 Headphones (Rs 29,000)
Recommended: 2-Year Extended Warranty - Rs 2,499

Message: Hi Kiran, enjoy your Sony headphones! Consider adding our
2-Year Extended Warranty (Rs 2,499) to cover repairs and accidental damage.
Offer valid until day 30. shopmax.in/warranty/ORD-6003

Automate this agent with a Cloud Scheduler trigger on day 14 post-purchase. Connect it to your WhatsApp Business API or push notification service to deliver messages directly to the customer's device. Log each upsell attempt and outcome in BigQuery to measure attachment rate by product category and optimise the propensity scoring model over time.


 
  


  
bl  br