# Review Insights AI: Sentiment Analysis of Customer Reviews (`datatools-ai/review-insights-ai`) Actor

Analyze customer reviews with AI: sentiment, top complaints, praise, feature requests and reply templates. Works with a CSV or reviews you already have from Google Maps, Trustpilot, App Store or Amazon. 100 reviews + 1 report = $0.251.

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

## Pricing

from $2.00 / 1,000 review analyzeds

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

## Review Insights AI: Sentiment Analysis of Customer Reviews

| You give | You get | Cost |
|---|---|---|
| Reviews from any scraper dataset (Google Maps, Trustpilot, App Store, Amazon…), a CSV or JSON you already have | Per review: sentiment, topics, complaints, praise, requests. Per business/product: an **insights report** with top issues, quotes, trends, actions and reply templates | **$0.002 per review** + **$0.05 per report** (100 reviews + 1 report = **$0.251**) |

👉 Press **Start** to try the prefilled sample reviews (**≈ $0.067**).

**Turn hundreds of customer reviews into clear insights in minutes.** Feed this Actor reviews from **Google Maps, Trustpilot, the App Store, Google Play, Amazon, Booking, Yelp** or any CSV, and get AI **sentiment analysis**, the **top complaints and praise** with real quotes, **feature requests**, monthly **trends**, **recommended actions** and ready-to-use **reply templates** – per business, location, app or product. Output in **English or Spanish**.

This Actor analyzes reviews you provide. It does not scrape review sites.

For **multi-location businesses, agencies, product managers, e-commerce sellers, app developers and CX teams** who need review analytics without reading every review.

### Use cases

- **Sentiment analysis of customer reviews** you already have (Google Maps, Trustpilot, App Store, Amazon, a CSV or another Actor's dataset).
- See **top complaints and praise** with verbatim quotes, not just a star average.
- Pull **feature requests** and monthly rating/sentiment trends for a product or location.
- Draft **reply templates** for common negative situations.
- Feed the insights report to a CX, product or agency workflow (Sheets, Make, Zapier, n8n, or the Apify API).

### What you get

**Per review** (dataset item, `type: "review"`): `entity`, `rating`, `date`, `text` (optional), `sentiment` (positive / neutral / negative / mixed), `sentimentScore`, `topics`, `complaints`, `praise`, `featureRequests`, `reviewLanguage`, `summary`, `hasOwnerReply`.

**Per business / product** (`type: "summary"`, plus HTML + Markdown report):

- ⭐ Average rating, rating distribution, % positive / negative, owner reply rate
- 😡 Top complaints with mentions, % of reviews and verbatim quotes
- 😍 Top praise themes
- 💡 Feature requests
- 📈 Monthly trend of volume, sentiment and rating
- ✅ Recommended actions ranked by impact, with evidence
- 💬 Reply templates for common negative situations

### How to use

1. Get reviews you already have – a reviews-scraper dataset, a CSV export, or JSON.
2. Paste the **dataset ID** (or a CSV URL / JSON) into this Actor. Fields such as text, rating, date and business name are detected automatically.
3. Run it and open the **Insights report** from the Output tab, or download the analyzed reviews as CSV / Excel / JSON.

Try it instantly: the input is prefilled with sample reviews.

### Input example

```json
{
  "datasetId": "YOUR_REVIEWS_DATASET_ID",
  "language": "en",
  "businessContext": "Coffee shop chain with 12 locations in Mexico City",
  "generateSummary": true
}
```

### Output example (real run)

From the prefilled Café Aurora sample (8 reviews). One analyzed review:

```json
{
  "type": "review",
  "entity": "Café Aurora",
  "rating": 5,
  "date": "2026-10-02",
  "text": "Best flat white in town and the staff is super friendly. A bit pricey though.",
  "sentiment": "positive",
  "sentimentScore": 0.8,
  "topics": ["coffee", "staff"],
  "complaints": [],
  "praise": ["best flat white", "friendly staff"],
  "featureRequests": ["lower prices"],
  "reviewLanguage": "en",
  "summary": "Best flat white in town with friendly staff.",
  "hasOwnerReply": false
}
```

The matching insights summary item from the same run:

```json
{
  "type": "summary",
  "entity": "Café Aurora",
  "reviews": 8,
  "analyzed": 8,
  "avgRating": 3.38,
  "ratingDistribution": [
    {"stars": 5, "count": 3},
    {"stars": 4, "count": 1},
    {"stars": 3, "count": 1},
    {"stars": 2, "count": 2},
    {"stars": 1, "count": 1}
  ],
  "sentiment": [
    {"sentiment": "positive", "count": 4, "pct": 50},
    {"sentiment": "negative", "count": 3, "pct": 38},
    {"sentiment": "mixed", "count": 1, "pct": 13}
  ],
  "ownerReplyRate": 0
}
```

Open the HTML report from the Output tab for quotes, trends, recommended actions and reply templates.

### Pricing

Pay per result. Failed reviews are not charged. Set a maximum cost per run in run options.

| What you run | You pay |
|---|---|
| Actor start (once per run) | $0.001 |
| 1 review analyzed | $0.002 |
| 1 insights report (per business/product) | $0.05 |
| **100 reviews + 1 report** | **$0.20 + $0.05 + $0.001 = $0.251** |
| 500 reviews + 1 report | $1.00 + $0.05 + $0.001 = $1.051 |
| 2,000 reviews + 4 location reports | $4.00 + $0.20 + $0.001 = $4.201 |
| Prefill sample (8 reviews + 1 report) | ≈ $0.067 |

### For AI agents (Apify MCP)

**Purpose:** Turn a set of reviews the user already has into per-review sentiment/complaints/praise labels and an optional insights report.

**Call when:** The user provides a reviews dataset ID, a CSV URL, or a JSON array of reviews and wants analysis – not when they only have a Google Maps URL to scrape.

**Inputs:** Exactly one of `datasetId`, `csvUrl`, or `reviews`. Recommended: `language` (`en` or `es`), `generateSummary` (true), optional `businessContext`, `maxReviews`.

**Output fields:** Review items as listed above; one `type: "summary"` item per entity with `avgRating`, `sentiment`, `ratingDistribution`, `ownerReplyRate`, plus HTML/Markdown reports in the key-value store.

**Cost:** $0.002 × reviews analyzed + $0.05 × reports + $0.001 start.

### Privacy & data

- No reviewer names, IDs or profile data are ever output – only the review text (optional), rating, date and analysis.
- Review text is sent to the **OpenAI API** for analysis; OpenAI does not train on API data by default.
- You are responsible for having the right to process the reviews you provide.
- AI analysis can be wrong – verify important findings.

### Integrations

Works with Google Sheets, Make, Zapier, n8n, Slack and AI agents (Apify MCP server). Schedule it weekly to monitor reputation over time.

### More AI tools from DataTools AI

- [AI Table Enricher](https://apify.com/datatools-ai/ai-table-enricher) – add AI columns (classify, extract, summarize, translate) to a CSV, Sheet or dataset you already have.
- [App Store Official Feeds](https://apify.com/datatools-ai/app-store-official-feeds) – iOS app details, recent reviews and top charts from Apple's official feeds, with no HTML scraping.
- [Career Site Jobs API + AI Hiring Signals](https://apify.com/datatools-ai/career-site-jobs-hiring-signals) – official ATS APIs (Greenhouse, Lever, Ashby and more) plus AI hiring-signals summaries.
- [AI Ad Strategy Report from Meta Ad Library Ads](https://apify.com/datatools-ai/ad-library-ai-strategy-report) – AI strategy report from Meta Ad Library ads you provide (hooks, offers, 5 ideas).
- [Company Profile from Domain](https://apify.com/datatools-ai/company-profile-from-domain) – structured firmographics from a company's own public website (industry, products, HQ, socials and tech stack).
- [AI Web Data Extractor](https://apify.com/datatools-ai/ai-web-data-extractor) – extract structured JSON from public web pages you provide, with fields described in plain language.

***

### 🇪🇸 En español

**Análisis de reseñas con IA.** Sube reseñas que ya tengas de Google Maps, Trustpilot, App Store, Amazon o un CSV y obtén: sentimiento, principales quejas y elogios con citas reales, solicitudes de mejoras, tendencias mensuales, acciones recomendadas y plantillas de respuesta, por negocio o producto. Reportes en español o inglés. **100 reseñas + 1 reporte = $0.251**. Ideal para cadenas, agencias, restaurantes, tiendas en línea y apps en México y Latinoamérica.

# Actor input Schema

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

Dataset from a reviews scrape you already ran (Google Maps, Trustpilot, App Store, Google Play, Amazon, Booking, etc.). Text, rating, date and business name are detected automatically. Leave empty if you use csvUrl or reviews.

## `csvUrl` (type: `string`):

Public CSV URL (e.g. Google Sheets → Publish to web → CSV) with a review text column. Leave empty if you use datasetId or reviews.

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

Array of review objects. Accepted fields (auto-detected): text or review/content/comment; rating or stars/score; date or publishedAtDate/time; title or name/business/app (entity). Example: \[{"title":"Café Aurora","stars":5,"publishedAtDate":"2026-10-02","text":"Best flat white in town."}].

## `language` (type: `string`):

Language for labels, summaries and the insights report (en or es). Reviews themselves can be in any language.

## `generateSummary` (type: `boolean`):

If true (default), also write one HTML + Markdown + JSON insights report per business/product (charged $0.05 each): top complaints, praise, requests, trends, actions and reply templates.

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

Short description of the business, e.g. 'Coffee shop chain with 12 locations in Mexico City'. Improves recommended actions and reply templates.

## `maxReviews` (type: `integer`):

Optional cap on reviews processed and charged. Use this to test on a sample first.

## `includeReviewText` (type: `boolean`):

If true, the analyzed review item includes the source text. Turn off if you only need labels.

## `groupByField` (type: `string`):

Optional field name used to split reports (e.g. location or product). Empty = auto-detect a business/product name.

## `textField` (type: `string`):

Optional override if auto-detection misses your text column (e.g. 'review_body').

## `ratingField` (type: `string`):

Optional override for the rating/stars column (e.g. 'score').

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

OpenAI model used for analysis. The price per review and per report is the same.

## `batchSize` (type: `integer`):

How many reviews are sent in one model call.

## `concurrency` (type: `integer`):

How many model requests run at the same time.

## Actor input object example

```json
{
  "reviews": [
    {
      "title": "Café Aurora",
      "stars": 5,
      "publishedAtDate": "2026-10-02",
      "text": "Best flat white in town and the staff is super friendly. A bit pricey though."
    },
    {
      "title": "Café Aurora",
      "stars": 2,
      "publishedAtDate": "2026-10-05",
      "text": "Waited 25 minutes for two coffees. Nobody apologized."
    },
    {
      "title": "Café Aurora",
      "stars": 4,
      "publishedAtDate": "2026-10-09",
      "text": "Lovely pastries, cozy place. Wish they had oat milk and more seats."
    },
    {
      "title": "Café Aurora",
      "stars": 1,
      "publishedAtDate": "2026-10-12",
      "text": "Card machine was broken and they only took cash. Very slow service."
    },
    {
      "title": "Café Aurora",
      "stars": 5,
      "publishedAtDate": "2026-10-15",
      "text": "Amazing croissants, friendly baristas, great wifi to work."
    },
    {
      "title": "Café Aurora",
      "stars": 3,
      "publishedAtDate": "2026-10-20",
      "text": "Good coffee but too noisy and the wait was long at lunch time."
    },
    {
      "title": "Café Aurora",
      "stars": 5,
      "publishedAtDate": "2026-10-22",
      "text": "El mejor café de la zona, el personal muy amable."
    },
    {
      "title": "Café Aurora",
      "stars": 2,
      "publishedAtDate": "2026-10-28",
      "text": "Prices went up again and the portions are smaller. Disappointed."
    }
  ],
  "language": "en",
  "generateSummary": true,
  "maxReviews": 1000,
  "includeReviewText": true,
  "model": "gpt-4.1-mini",
  "batchSize": 20,
  "concurrency": 5
}
```

# Actor output Schema

## `reportIndex` (type: `string`):

Index linking each business/product report.

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

One item per review with sentiment, complaints, praise and feature requests.

## `summaries` (type: `string`):

One item per business/product with stats and structured report.

# 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": [
        {
            "title": "Café Aurora",
            "stars": 5,
            "publishedAtDate": "2026-10-02",
            "text": "Best flat white in town and the staff is super friendly. A bit pricey though."
        },
        {
            "title": "Café Aurora",
            "stars": 2,
            "publishedAtDate": "2026-10-05",
            "text": "Waited 25 minutes for two coffees. Nobody apologized."
        },
        {
            "title": "Café Aurora",
            "stars": 4,
            "publishedAtDate": "2026-10-09",
            "text": "Lovely pastries, cozy place. Wish they had oat milk and more seats."
        },
        {
            "title": "Café Aurora",
            "stars": 1,
            "publishedAtDate": "2026-10-12",
            "text": "Card machine was broken and they only took cash. Very slow service."
        },
        {
            "title": "Café Aurora",
            "stars": 5,
            "publishedAtDate": "2026-10-15",
            "text": "Amazing croissants, friendly baristas, great wifi to work."
        },
        {
            "title": "Café Aurora",
            "stars": 3,
            "publishedAtDate": "2026-10-20",
            "text": "Good coffee but too noisy and the wait was long at lunch time."
        },
        {
            "title": "Café Aurora",
            "stars": 5,
            "publishedAtDate": "2026-10-22",
            "text": "El mejor café de la zona, el personal muy amable."
        },
        {
            "title": "Café Aurora",
            "stars": 2,
            "publishedAtDate": "2026-10-28",
            "text": "Prices went up again and the portions are smaller. Disappointed."
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("datatools-ai/review-insights-ai").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": [
        {
            "title": "Café Aurora",
            "stars": 5,
            "publishedAtDate": "2026-10-02",
            "text": "Best flat white in town and the staff is super friendly. A bit pricey though.",
        },
        {
            "title": "Café Aurora",
            "stars": 2,
            "publishedAtDate": "2026-10-05",
            "text": "Waited 25 minutes for two coffees. Nobody apologized.",
        },
        {
            "title": "Café Aurora",
            "stars": 4,
            "publishedAtDate": "2026-10-09",
            "text": "Lovely pastries, cozy place. Wish they had oat milk and more seats.",
        },
        {
            "title": "Café Aurora",
            "stars": 1,
            "publishedAtDate": "2026-10-12",
            "text": "Card machine was broken and they only took cash. Very slow service.",
        },
        {
            "title": "Café Aurora",
            "stars": 5,
            "publishedAtDate": "2026-10-15",
            "text": "Amazing croissants, friendly baristas, great wifi to work.",
        },
        {
            "title": "Café Aurora",
            "stars": 3,
            "publishedAtDate": "2026-10-20",
            "text": "Good coffee but too noisy and the wait was long at lunch time.",
        },
        {
            "title": "Café Aurora",
            "stars": 5,
            "publishedAtDate": "2026-10-22",
            "text": "El mejor café de la zona, el personal muy amable.",
        },
        {
            "title": "Café Aurora",
            "stars": 2,
            "publishedAtDate": "2026-10-28",
            "text": "Prices went up again and the portions are smaller. Disappointed.",
        },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("datatools-ai/review-insights-ai").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": [
    {
      "title": "Café Aurora",
      "stars": 5,
      "publishedAtDate": "2026-10-02",
      "text": "Best flat white in town and the staff is super friendly. A bit pricey though."
    },
    {
      "title": "Café Aurora",
      "stars": 2,
      "publishedAtDate": "2026-10-05",
      "text": "Waited 25 minutes for two coffees. Nobody apologized."
    },
    {
      "title": "Café Aurora",
      "stars": 4,
      "publishedAtDate": "2026-10-09",
      "text": "Lovely pastries, cozy place. Wish they had oat milk and more seats."
    },
    {
      "title": "Café Aurora",
      "stars": 1,
      "publishedAtDate": "2026-10-12",
      "text": "Card machine was broken and they only took cash. Very slow service."
    },
    {
      "title": "Café Aurora",
      "stars": 5,
      "publishedAtDate": "2026-10-15",
      "text": "Amazing croissants, friendly baristas, great wifi to work."
    },
    {
      "title": "Café Aurora",
      "stars": 3,
      "publishedAtDate": "2026-10-20",
      "text": "Good coffee but too noisy and the wait was long at lunch time."
    },
    {
      "title": "Café Aurora",
      "stars": 5,
      "publishedAtDate": "2026-10-22",
      "text": "El mejor café de la zona, el personal muy amable."
    },
    {
      "title": "Café Aurora",
      "stars": 2,
      "publishedAtDate": "2026-10-28",
      "text": "Prices went up again and the portions are smaller. Disappointed."
    }
  ]
}' |
apify call datatools-ai/review-insights-ai --silent --output-dataset

```

## MCP server setup

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

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/cT7YOuIdnFQFbpQvp/builds/upvkAg5OTtKS0k3Db/openapi.json
