# AI Review Insights & Reply Generator (`deadmist/ai-review-insights`) Actor

Turn Google Maps, Tripadvisor, Yelp, Booking or any reviews into insights with AI: top praises and complaints with counts and quotes, rating trend, action items, and ready reply drafts for negative reviews. Pay per review.

- **URL**: https://apify.com/deadmist/ai-review-insights.md
- **Developed by:** [Vladyslav Kosenko](https://apify.com/deadmist) (community)
- **Categories:** AI, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## AI Reviews Analyzer: Google Maps Review Insights & Replies

You have 2,000 reviews from Google Maps, Tripadvisor or Yelp. What do customers actually love, what keeps going wrong, and who still needs a reply?

Pick the dataset of any review scraper, and this Actor gives you, **for every business in it**:

- a **summary** an owner can read in 20 seconds;
- the **top praises and complaints**, with the number of mentions and a real quote for each;
- the **rating trend**: last 90 days against the time before;
- **3–5 action items**, ordered by impact;
- **reply drafts** for negative or unanswered reviews, written in the language of each review.

Every review also gets its own row with sentiment and the exact things the customer praised or complained about.

You pay $0.002 per analysed review and $0.02 per business report. Reviews without text are free. AI usage of about $0.0001 per review (Fast mode) is billed to your Apify account at cost.

### Who it is for

- **Local marketing and reputation agencies** that send clients monthly review reports.
- **Hotel, restaurant and clinic owners** who want to know what to fix first.
- **Analysts** comparing competitors by what their customers complain about.

### How to use it

1. Scrape reviews with any review Actor, e.g. **Google Maps Reviews Scraper**, **Google Maps Scraper** (with reviews), **Tripadvisor Reviews Scraper**, Yelp, Booking, Trustpilot or app store scrapers.
2. Pick that run's dataset in **Reviews dataset**, or paste reviews into **Reviews**.
3. Optionally describe the business and set a reply signature.
4. Run it, then open **Report (Markdown)** in the Output tab, or the **Business reports** table.

Reviews are grouped by business automatically, so one run can analyse many places.

### Real example

Seventy newest Google Maps reviews of two New York places, 40 of them with text:

**Joe's Pizza Broadway** · 4.59★

| What customers complain about | Mentions | Example |
|---|---|---|
| Long wait and lines | 13 | “the lines are long and the cleanliness isn't that geeat” |
| Average or bland taste | 5 | “the taste was okay at best” |
| Limited seating and crowding | 4 | “Entiendo porque no tienen sillas…” |

What to fix first: *Show realistic wait-time estimates at the counter, since misleading wait time claims drove the most disappointed reviews.*

**Pod Times Square** · 4.2★

| What customers love | Mentions | Example |
|---|---|---|
| Great location | 37 | “Great location” |
| Clean rooms | 16 | “Extremely clean and all new amenities close to subway…” |

| What customers complain about | Mentions | Example |
|---|---|---|
| Small rooms | 15 | “Die Zimmer sind sehr sehr klein.” |
| Hidden fees and overcharging | 7 | “THEY WILL FIND EVERY WAY TO OVERCHARGE YOU.” |

A reply draft for a 2★ review:

> Thank you for sharing your experience, and we're sorry the wait was longer than you were told and that your crust came out burnt. We understand how frustrating that is after hearing so much about us. Please reach out to our Broadway team with your order details so we can look into what happened and make it right on your next visit.

Both reports were produced in 30 seconds.

### Output

| Output | What's in it |
|---|---|
| `REPORT.md` | All business reports as one readable document, ready to paste into an email or a doc |
| Business reports view | One row per business: rating, trend, sentiment %, themes, action items |
| Reviews and replies view | One row per review: rating, sentiment, praise, complaints, reply draft |

### Replies

- **Reviews of 3 stars or less** (default) get a draft unless the owner already answered.
- **All unanswered reviews** gives a draft for every review without an owner response.
- Replies are written in the review's language, refer to what the customer actually said, and never invent facts about the business. Always read them before posting.

### AI quality

| Mode | Model | AI usage per review |
|---|---|---|
| Fast (default) | Claude Haiku 5.5 | about $0.0001 |
| Balanced | Claude Sonnet 5.5 | about $0.002 |
| Best | Claude Opus 5.5 | about $0.004 |

AI usage runs through Apify's OpenRouter integration and is billed to your Apify account at OpenRouter's price. On Apify's free plan it costs 10× more.

### FAQ

**Which review formats work?** Any dataset with a text field (`text`, `review`, `content`, `body`…) and optionally a rating (`stars`, `rating`, `score`). Place datasets with a nested `reviews` list, such as Google Maps Scraper output, are unpacked automatically.

**How many reviews per business?** Up to 500 by default. Change **Maximum reviews per business** for more.

**Are mention counts exact?** They are counts of reviews in which the AI found that theme, merged across similar wording. Quotes are copied word for word.

# Actor input Schema

## `datasetId` (type: `string`):

A dataset of reviews from another run, e.g. Google Maps Reviews Scraper, Tripadvisor Reviews Scraper, Yelp, Booking, Trustpilot or app store review scrapers. Reviews are grouped by business automatically, and each business gets its own report.

## `reviews` (type: `array`):

Optional. Paste reviews directly: plain strings, or objects with text and rating fields. Used together with or instead of the dataset.

## `businessContext` (type: `string`):

Optional. A sentence about the business, its name and what it offers. It makes the replies and action items more specific.

## `replies` (type: `string`):

Which reviews get a suggested owner reply. Reviews the owner already answered are skipped.

## `replySignature` (type: `string`):

Optional. How replies end, e.g. "— Anna, Manager at Café Rosa".

## `reportLanguage` (type: `string`):

Language of the report and theme labels. Replies are always written in the language of each review.

## `maxReviewsPerBusiness` (type: `integer`):

The newest reviews are usually first in scraper datasets. Reviews without text count in rating statistics but are not analysed or charged.

## `model` (type: `string`):

Fast (Claude Haiku 5.5) costs about $0.0001 per review in AI usage, Balanced (Claude Sonnet 5.5) about $0.002, Best (Claude Opus 5.5) about $0.004. AI usage is billed to your Apify account at cost, on top of the Actor price; on Apify's free plan it costs 10× more.

## `maxConcurrency` (type: `integer`):

How many businesses are analysed at once.

## Actor input object example

```json
{
  "reviews": [
    {
      "text": "Great coffee but we waited 25 minutes for two flat whites.",
      "rating": 3
    },
    {
      "text": "Lovely staff and the best croissants in town!",
      "rating": 5
    }
  ],
  "replies": "negative",
  "reportLanguage": "English",
  "maxReviewsPerBusiness": 500,
  "model": "fast",
  "maxConcurrency": 4
}
```

# Actor output Schema

## `report` (type: `string`):

All business reports in one readable document.

## `reports` (type: `string`):

Themes, trend and action items per business.

## `reviews` (type: `string`):

Sentiment, labels and reply drafts per review.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "reviews": [
        {
            "text": "Great coffee but we waited 25 minutes for two flat whites.",
            "rating": 3
        },
        {
            "text": "Lovely staff and the best croissants in town!",
            "rating": 5
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("deadmist/ai-review-insights").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "reviews": [
        {
            "text": "Great coffee but we waited 25 minutes for two flat whites.",
            "rating": 3,
        },
        {
            "text": "Lovely staff and the best croissants in town!",
            "rating": 5,
        },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("deadmist/ai-review-insights").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "reviews": [
    {
      "text": "Great coffee but we waited 25 minutes for two flat whites.",
      "rating": 3
    },
    {
      "text": "Lovely staff and the best croissants in town!",
      "rating": 5
    }
  ]
}' |
apify call deadmist/ai-review-insights --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,deadmist/ai-review-insights"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/GhpLGWJz7RdPls7wb/builds/V86QhIiSNtx5QKnoA/openapi.json
