# Analyze Sample Customer Complaints and Review Trends

**Use case:** 

Use twelve synthetic reviews to preview rating trends, owner response rates and recurring issues. No scraping or reviewer identities; supply your own permitted review exports for real analysis.

## Input

```json
{
  "records": [
    {
      "placeId": "sample-place-001",
      "title": "Example Cafe",
      "stars": 5,
      "publishedAtDate": "2026-01-11T11:00:00Z",
      "text": "Friendly staff and delicious food."
    },
    {
      "placeId": "sample-place-001",
      "title": "Example Cafe",
      "stars": 4,
      "publishedAtDate": "2026-01-17T11:00:00Z",
      "text": "Great service and clean tables."
    },
    {
      "placeId": "sample-place-001",
      "title": "Example Cafe",
      "stars": 4,
      "publishedAtDate": "2026-02-03T11:00:00Z",
      "text": "Good atmosphere and reasonable price."
    },
    {
      "placeId": "sample-place-001",
      "title": "Example Cafe",
      "stars": 3,
      "publishedAtDate": "2026-02-09T11:00:00Z",
      "text": "The wait time is slow."
    },
    {
      "placeId": "sample-place-001",
      "title": "Example Cafe",
      "stars": 2,
      "publishedAtDate": "2026-03-10T11:00:00Z",
      "text": "Long wait and noisy seating."
    },
    {
      "placeId": "sample-place-001",
      "title": "Example Cafe",
      "stars": 1,
      "publishedAtDate": "2026-03-19T11:00:00Z",
      "text": "Service was rude and the price is expensive."
    },
    {
      "placeId": "sample-place-002",
      "title": "Example Bakery",
      "stars": 4,
      "publishedAtDate": "2026-01-13T11:00:00Z",
      "text": "Fresh bread and friendly staff."
    },
    {
      "placeId": "sample-place-002",
      "title": "Example Bakery",
      "stars": 5,
      "publishedAtDate": "2026-01-23T11:00:00Z",
      "text": "Excellent value and delicious pastries."
    },
    {
      "placeId": "sample-place-002",
      "title": "Example Bakery",
      "stars": 4,
      "publishedAtDate": "2026-02-08T11:00:00Z",
      "text": "Clean shop, parking is easy."
    },
    {
      "placeId": "sample-place-002",
      "title": "Example Bakery",
      "stars": 5,
      "publishedAtDate": "2026-02-14T11:00:00Z",
      "text": "Great fresh quality."
    },
    {
      "placeId": "sample-place-002",
      "title": "Example Bakery",
      "stars": 5,
      "publishedAtDate": "2026-03-05T11:00:00Z",
      "text": "Fantastic service and fair price."
    },
    {
      "placeId": "sample-place-002",
      "title": "Example Bakery",
      "stars": 4,
      "publishedAtDate": "2026-03-20T11:00:00Z",
      "text": "Helpful staff and short wait."
    }
  ],
  "minTopicMentions": 2,
  "includeMonthlyTrend": true
}
```

## Output

```json
{
  "recordType": {
    "label": "Record type"
  },
  "business": {
    "label": "Business"
  },
  "businessName": {
    "label": "Business name"
  },
  "reviews": {
    "label": "Reviews"
  },
  "avgRating": {
    "label": "Avg rating"
  },
  "negativePct": {
    "label": "Negative %"
  },
  "ratingTrend": {
    "label": "Rating trend"
  },
  "frequencyTrend": {
    "label": "Frequency"
  },
  "topIssueTopics": {
    "label": "Top issues"
  },
  "outlierPatternDetected": {
    "label": "Outliers"
  },
  "lowSample": {
    "label": "Low sample"
  },
  "unansweredLowRatingReviews": {
    "label": "Unanswered low ratings"
  },
  "reviewPriorityScore": {
    "label": "Priority score"
  },
  "reviewPriorityTier": {
    "label": "Action priority"
  },
  "reviewPriorityReasons": {
    "label": "Review priority reasons"
  },
  "suggestedManagerActions": {
    "label": "Recommended manager actions"
  },
  "prioritySampleSize": {
    "label": "Priority sample size"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Google Maps Review Sentiment & Priority Analysis Actor is ready to run with the inputs already set for "Analyze Sample Customer Complaints and Review Trends". [Sign up or log in](https://console.apify.com/create-task-from-example/SrFYkExKkGa6Nfh0e) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Analyze Sample Customer Complaints and Review Trends" task

The Google Maps Review Sentiment & Priority Analysis Actor will start running based on the input automatically. You can also change all the input fields, like review records (json array), minimum topic mentions, and more, to match your specific use case.

### 3. Receive the "Analyze Sample Customer Complaints and Review Trends" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as record type, business, business name, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Analyze Sample Customer Complaints and Review Trends" task via API](https://apify.com/practical_ai_lab_jp/pal-maps-reviews-sentiment-trends.md).

## About this Actor

This example demonstrates how to use [Google Maps Review Sentiment & Priority Analysis](https://apify.com/practical_ai_lab_jp/pal-maps-reviews-sentiment-trends.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/practical_ai_lab_jp/pal-maps-reviews-sentiment-trends.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/practical_ai_lab_jp/pal-maps-reviews-sentiment-trends.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
