Skip to main content

Scenario

Your Klaviyo account tracks what customers buy. You want to test cross-sell hypotheses — if someone bought Product A, would they buy Product B? You pull purchase data and catalog information, then run a Mavera Focus Group with product-context questions using Likert scale and NPS format. The result is validated cross-sell opportunities before you build the flow.

Architecture

Code

Example Output

Error Handling

The Catalog Items API (/api/catalog-items) requires catalog sync to be configured in Klaviyo. If not set up, the endpoint returns empty. The code includes fallback sample data.
For production cross-sell analysis, query Klaviyo’s Events API filtered by Placed Order events to find actual co-purchase patterns before hypothesizing pairs.
Focus Group responses include both the numeric rating and explanation. Parse the numeric value (e.g. “4/5”) and the qualitative reasoning separately for analysis.

What’s Next

Klaviyo Integration

Back to Klaviyo integration overview

Segment Overlap Analysis

Simplified segmentation recommendations

SMS vs. Email Creative Testing

Channel preference insights

Focus Groups API

Full reference for POST /api/v1/focus-groups