# Review Response: Sample Priority Ranking

**Use case:** 

Rank fictional locations and recurring issues from synthetic review records. Use permitted datasets; do not export reviewer identities or claim live scraping.

## Input

```json
{
  "reviews": [
    {
      "locationName": "Harbor Cafe",
      "rating": 1,
      "publishedAt": "2026-10-20",
      "text": "Long wait and the staff were rude."
    },
    {
      "locationName": "Harbor Cafe",
      "rating": 2,
      "publishedAt": "2026-10-18",
      "text": "Wrong order and slow service."
    },
    {
      "locationName": "Harbor Cafe",
      "rating": 5,
      "publishedAt": "2026-10-05",
      "text": "Great coffee."
    },
    {
      "locationName": "Harbor Cafe",
      "rating": 5,
      "publishedAt": "2026-09-10",
      "text": "Lovely place."
    },
    {
      "locationName": "Harbor Cafe",
      "rating": 4,
      "publishedAt": "2026-09-12",
      "text": "Good."
    },
    {
      "locationName": "Harbor Cafe",
      "rating": 5,
      "publishedAt": "2026-09-15",
      "text": "Friendly."
    },
    {
      "locationName": "Central Gym",
      "rating": 1,
      "publishedAt": "2026-10-22",
      "text": "Dirty showers and a bad smell."
    },
    {
      "locationName": "Central Gym",
      "rating": 2,
      "publishedAt": "2026-10-15",
      "text": "Locker room is filthy."
    },
    {
      "locationName": "Central Gym",
      "rating": 4,
      "publishedAt": "2026-10-10",
      "text": "Good equipment."
    },
    {
      "locationName": "Park Dental",
      "rating": 5,
      "publishedAt": "2026-10-21",
      "text": "Quick and clean."
    },
    {
      "locationName": "Park Dental",
      "rating": 4,
      "publishedAt": "2026-10-12",
      "text": "Fine visit."
    },
    {
      "locationName": "Park Dental",
      "rating": 2,
      "publishedAt": "2026-10-02",
      "text": "Billing mistake, charged twice."
    }
  ],
  "recentDays": 30,
  "lowRatingMax": 2,
  "minRecurrence": 2,
  "useDefaultTopics": true,
  "maxLocations": 50,
  "maxReviews": 20000
}
```

## Output

```json
{
  "recordType": {
    "label": "Type"
  },
  "rank": {
    "label": "Rank"
  },
  "locationName": {
    "label": "Location"
  },
  "priorityScore": {
    "label": "Priority score"
  },
  "recentReviews": {
    "label": "Recent reviews"
  },
  "recentLowRatings": {
    "label": "Recent low ratings"
  },
  "recentAverageRating": {
    "label": "Recent avg"
  },
  "priorPeriodAverageRating": {
    "label": "Prior avg"
  },
  "ratingChange": {
    "label": "Change"
  },
  "recurringIssues": {
    "label": "Recurring issues"
  },
  "confidence": {
    "label": "Confidence"
  },
  "sampleCaveat": {
    "label": "Caveat"
  }
}
```

## How it works

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

The Review Response Prioritizer by Location Actor is ready to run with the inputs already set for "Review Response: Sample Priority Ranking". [Sign up or log in](https://console.apify.com/create-task-from-example/eRbhX2osfdsYgaDPK) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Review Response: Sample Priority Ranking" task

The Review Response Prioritizer by Location Actor will start running based on the input automatically. You can also change all the input fields, like reviews, recent window (days), and more, to match your specific use case.

### 3. Receive the "Review Response: Sample Priority Ranking" 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 type, rank, location, 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 "Review Response: Sample Priority Ranking" task via API](https://apify.com/practical_ai_lab_jp/pal-maps-reviews-response-prioritizer.md).

## About this Actor

This example demonstrates how to use [Review Response Prioritizer by Location](https://apify.com/practical_ai_lab_jp/pal-maps-reviews-response-prioritizer.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/practical_ai_lab_jp/pal-maps-reviews-response-prioritizer.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-response-prioritizer.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`).
