# Analyze Ecommerce Product Review Complaints

**Use case:** 

Convert ecommerce product reviews into recurring complaint themes, severity, supporting evidence, and action-ready quality findings.

## Input

```json
{
  "reviews": [
    {
      "id": "shop-1",
      "text": "The charging port stopped working after one week.",
      "rating": 1,
      "date": "2026-05-01"
    },
    {
      "id": "shop-2",
      "text": "Broken charging port and customer support sent no reply.",
      "rating": 1,
      "date": "2026-05-20"
    },
    {
      "id": "shop-3",
      "text": "Charging is slow and the product stopped working.",
      "rating": 1,
      "date": "2026-06-01"
    },
    {
      "id": "shop-4",
      "text": "Support never replied about my broken unit.",
      "rating": 1,
      "date": "2026-06-20"
    },
    {
      "id": "shop-5",
      "text": "The device is slow to charge and gets hot.",
      "rating": 2,
      "date": "2026-07-01"
    },
    {
      "id": "shop-6",
      "text": "Product stopped working and refund was denied.",
      "rating": 1,
      "date": "2026-07-10"
    }
  ],
  "productName": "Example Ecommerce Product",
  "maxReviews": 1000,
  "minimumThemeMentions": 2,
  "comparePeriods": true
}
```

## Output

```json
{
  "recordType": {
    "label": "Type",
    "format": "text"
  },
  "theme": {
    "label": "Pain theme",
    "format": "text"
  },
  "severity": {
    "label": "Severity",
    "format": "text"
  },
  "severityScore": {
    "label": "Severity score",
    "format": "number"
  },
  "mentionCount": {
    "label": "Mentions",
    "format": "number"
  },
  "mentionSharePct": {
    "label": "Share %",
    "format": "number"
  },
  "trendDirection": {
    "label": "Trend",
    "format": "text"
  },
  "confidence": {
    "label": "Confidence",
    "format": "text"
  },
  "recommendedAction": {
    "label": "Recommended action",
    "format": "text"
  },
  "evidence": {
    "label": "Evidence",
    "format": "object"
  }
}
```

## About this Actor

This example demonstrates how to use [Review Pain Miner API](https://apify.com/webdata_labs/review-pain-miner-api) with a specific input configuration. Visit the [Actor detail page](https://apify.com/webdata_labs/review-pain-miner-api) to learn more, explore other use cases, and run it yourself.