Skip to main content

Scenario

Not all reviewers are the same. 1-star reviewers have different concerns than 3-star reviewers. You segment reviews by star rating, create a persona for each tier (1-2 star detractors, 3-star neutrals, 4-5 star promoters), then run a Focus Group asking the pivotal question: “What would move you to 5 stars?” The answers reveal the exact interventions needed for each segment. Flow: Trustpilot GET /reviews → Group by star tier → Mavera POST /personas (per tier) → POST /focus-groups (“What moves you to 5?”)

Code

Example Output

Error Handling

Trustpilot requires separate API calls per star rating. The code loops through stars individually. For large volumes, paginate each star level independently.
Trustpilot reviews can be in any language. For non-English dominant businesses, filter by language param or use Mave for translation.