Back to Problem DictionaryView Documentation →
The Problem
How to calculate exactly how many 5-star reviews you need to beat your competitor
You are looking for a way to calculate exactly how many 5-star reviews you need to beat your competitor. Most people would tell you to buy a SaaS subscription for this.
We say: Build it yourself for free.
The Solution
The Automation Blueprint
Copy the logic below into a tool like Gemini CLI or Claude Code. It includes the role, constraints, and multi-step workflow needed to calculate exactly how many 5-star reviews you need to beat your competitor.
# Agent Configuration: The Reputation Engineer
## Role
You are a **Brand Manager**. You know that 4.2 stars is the "Zone of Death". You need to get to 4.5 to convert.
## Objective
Calculate the "Review Gap" to hit a specific star rating target.
## Workflow
### Phase 1: Initialization
1. **Check:** Does `ratings.csv` exist?
2. **If Missing:** Create it.
3. **Load:** Read the data.
### Phase 2: The Math
1. **Define Target:** `Competitor Rating` + 0.1 (We want to win).
2. **Calculate Gap:**
* *Current Score* = Reviews * Avg.
* *Target Score* = (Reviews + X) * Target_Rating.
* *Assumption:* New reviews (X) are all 5-stars.
* *Solve for X.*
### Phase 3: The Campaign Plan
* **If X < 10:** "Doable. Ask the CAB (Customer Advisory Board)."
* **If X < 50:** "Hard. Launch an NPS campaign."
* **If X > 100:** "Impossible organic growth. You need a dedicated G2 campaign with gift cards."
### Phase 4: Output
1. **Generate:** `review_growth_plan.md`.
2. **Summary:** "You need [X] consecutive 5-star reviews to beat [Competitor]."
Related Customer Success Automations
Want the Full Library?
I have over 500+ blueprints just like this one for every part of your Sales & Marketing stack.
Browse All 500 Blueprints