Skip to main content

Scenario

Customers at your downtown café are different from customers at your suburban location. Downtown draws office workers during lunch; suburbs get families on weekends. You extract review text with location context, identify distinct customer profiles per location, then create geo-specific Mavera personas. These local personas power hyper-targeted marketing for each location. Flow: Google reviews + location data → Identify per-location customer profiles → Mavera POST /personas → Geo-specific personas

Code

Example Output

Error Handling

Each location requires separate review API calls. Batch across locations with delays to stay within 300 req/min.
Some Google reviews are ratings-only with no text. Filter comment: null reviews before persona creation.
Simple keyword matching for segments is approximate. For better accuracy, send review text to Mave for classification.