# AI Review Analyzer: Trustpilot, Google Maps, Amazon & More (`macgitarra/ai-review-analyzer`) Actor

Turn reviews from any scraper, CSV or JSON into insights: AI finds the top complaints, problems, requests and praise, tags every review with topics and sentiment, and writes what to fix first. Ready HTML report. No API keys needed.

- **URL**: https://apify.com/macgitarra/ai-review-analyzer.md
- **Developed by:** [Finasoft](https://apify.com/macgitarra) (community)
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 ai-analysed reviews

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/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 Review Analyzer: Trustpilot, Google Maps, Amazon & More

**You scraped 2,000 reviews. Now what?** This Actor reads them for you. Give it the results of any review scraper, a CSV / JSON file, or paste reviews, and AI tells you:

- **Top complaints and problems**: what makes customers give 1-2 stars, with the share of reviews that mention each issue
- **What customers ask for**: requests and wishes that keep coming back
- **What they love**: the praise worth keeping (and quoting in your marketing)
- **Is it getting better or worse?** Each topic's share in the last 30 days vs. before, plus the rating by month
- **What to fix first**: a short summary and 3-5 concrete actions based on the numbers
- **Every review tagged** with topics and sentiment, ready for Excel or Google Sheets

**No API keys, no prompt writing, no subscription.** One run gives you a ready **HTML report** to share with your team or client, plus every review with its AI tags as JSON, CSV or Excel.

### Works with any review source

| Source | How |
|---|---|
| **Trustpilot** scrapers | Pick the run's dataset |
| **Google Maps** reviews scrapers | Pick the dataset. Several places? You get one section per place |
| **Amazon** reviews scrapers | Pick the dataset. One section per product (ASIN) |
| **Tripadvisor, Booking, Yelp, G2, Airbnb**, app stores | Pick the dataset. Booking's liked / disliked texts and 1-10 scores are handled |
| **YouTube comments** scrapers | Pick the dataset. One section per video: what viewers complain about, ask for and love (no star ratings needed) |
| **Your own reviews** (shop, helpdesk, survey, NPS comments) | Link a CSV / JSON file or a Google Sheet published as CSV |
| Anything else | Paste a JSON array |

Fields (text, rating, date, title, place / product name, owner reply) are **detected automatically** for popular scrapers and common column names. If a source uses unusual names, set them in **Field mapping**.

### How to use it

1. Run your favourite review scraper (or prepare a CSV).
2. Open this Actor, pick the scraper's dataset in **Reviews from Apify datasets** (or add a file link).
3. Optionally say **what the reviews are about** ("our Lisbon hotel", "competitor's e-shop") and pick the **report language**.
4. Click **Start** and open the report from the run's **Output** tab.

**Automate it:** in your scraper's **Integrations** tab, add this Actor as the next step so every scrape is analysed automatically. Weekly scrape + analysis = a review monitoring dashboard with no manual work.

### Who it's for

- **Marketing and reputation agencies** reporting to clients on reviews of their locations and competitors
- **Hotels, restaurants, clinics and multi-location businesses** comparing branches on Google Maps or Tripadvisor
- **E-commerce and Amazon sellers** finding what to fix in products, listings and delivery
- **Product, CX and support teams** turning reviews and survey comments into a priority list
- **Investors and analysts** checking what customers really think of a company

### Input example

```json
{
  "datasetIds": ["aBcD1234efGH5678"],
  "context": "hotels in Lisbon",
  "maxAnalyzedReviews": 500,
  "reportLanguage": "English"
}
```

### Output

**Report (HTML)**, per place / company / product: number of reviews, average rating, owner reply rate, AI summary, actions to take, topics table (type, share of reviews, average stars, 30-day trend, example quotes), star distribution and rating by month.

**Dataset**, one row per review:

```json
{
  "group": "Hotel Sol Lisboa",
  "rating": 2,
  "ratingOriginal": 2,
  "title": "Nice location, noisy room",
  "text": "Great location but the room faced the street and we could not sleep. Check-in took 40 minutes.",
  "date": "2026-11-28T09:12:44.000Z",
  "sentiment": "negative",
  "topics": ["Street noise in rooms", "Slow check-in"],
  "aiAnalysed": true,
  "reply": "Thank you for your feedback…",
  "likes": 3
}
```

**Insights (JSON)**: the same numbers as the report, per group, for dashboards and automations.

### Pricing

You pay only for reviews the AI actually reads:

| Event | Price |
|---|---|
| Review analysed by AI | $0.004 ($4 per 1,000) |

**Example:** 3 hotels × 300 reviews = 900 × $0.004 = **$3.60**. Reviews without text (rating only) are counted in the statistics for free.

If the AI analysis fails, it is not charged. Set a spending limit on the run and the Actor analyses only as many reviews as the limit allows.

### Good to know

- AI reads the **newest reviews with text**, up to the limit you set per group. Statistics (average rating, stars, months) use all reviews.
- Reviews in **any language** are understood; the report is written in the language you choose.
- Sources without star ratings (YouTube comments, survey answers) work too: the report then relies on sentiment and topics.
- Ratings on 1-10 (Booking) or 1-100 scales are converted to 1-5 stars.
- The AI tags each review itself, so shares and trends are counted from real tags, not guessed. Like any AI, it can occasionally misread sarcasm or very short reviews.
- Up to 100,000 input rows per run; up to 2,000 analysed reviews per group and 50 groups.

### FAQ

**Do I need an OpenAI or Anthropic key?** No. AI is included in the price.

**Does this Actor scrape reviews?** No, it analyses reviews you already have. Use any review scraper in Apify Store and pick its dataset here.

**Can it see my other data?** No. It gets read-only access only to the datasets you pick.

**Can I compare competitors?** Yes. Scrape several places, companies or products into one dataset (or pick several datasets); each gets its own section.

**Which AI model is used?** Anthropic's Claude.

# Actor input Schema

## `datasetIds` (type: `array`):

Pick the dataset(s) of a review scraper run: Trustpilot, Google Maps, Amazon, Tripadvisor, Booking, Yelp, G2, app stores or any other. Fields are detected automatically. The Actor gets read-only access to the datasets you pick.

## `fileUrl` (type: `string`):

Public link to a CSV or JSON file with reviews, e.g. a Google Sheet published as CSV (File > Share > Publish to web > CSV) or an export from your helpdesk or shop.

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

A JSON array of review objects (e.g. {"text": "…", "rating": 4, "date": "2026-11-30"}) or plain strings.

## `context` (type: `string`):

Optional, helps the AI: e.g. "our Lisbon hotel", "a fashion e-shop", "competitor's project management app".

## `maxAnalyzedReviews` (type: `integer`):

AI reads the newest reviews with text, up to this number per place / company / product (10-2,000). 300-500 is usually enough to see the main topics.

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

Language of the AI topics, summary and actions, e.g. English, German, Spanish, Polish. Quotes stay in their original language.

## `sinceDate` (type: `string`):

Optional. Skip reviews older than this date, e.g. 2026-10-01.

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

Optional. Field that names the place, company or product (dot paths like placeInfo.name work). Detected automatically: one report section per group.

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

Field with the review text.

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

Field with the rating (stars, score).

## `dateField` (type: `string`):

Field with the review date.

## `titleField` (type: `string`):

Field with the review title, if any.

## `ratingScale` (type: `string`):

Detected automatically (1-5, 1-10 like Booking, or 1-100). Ratings are converted to 1-5 stars in the report.

## `maxGroups` (type: `integer`):

Most groups (places, companies, products) analysed in one run, largest first.

## `reportTitle` (type: `string`):

Optional title shown at the top of the HTML report.

## Actor input object example

```json
{
  "reviews": [
    {
      "text": "Delivery took three weeks and nobody answered my emails.",
      "rating": 1,
      "date": "2026-11-28"
    },
    {
      "text": "Great quality, fits perfectly. Will order again!",
      "rating": 5,
      "date": "2026-11-27"
    },
    {
      "text": "Good product but shipping costs are too high.",
      "rating": 3,
      "date": "2026-11-25"
    },
    {
      "text": "Support solved my issue in 10 minutes, thank you.",
      "rating": 5,
      "date": "2026-11-22"
    },
    {
      "text": "The size chart is wrong, I had to return it.",
      "rating": 2,
      "date": "2026-11-20"
    }
  ],
  "maxAnalyzedReviews": 500,
  "reportLanguage": "English",
  "ratingScale": "auto",
  "maxGroups": 20
}
```

# Actor output Schema

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

No description

## `summary` (type: `string`):

No description

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

No description

# 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": "Delivery took three weeks and nobody answered my emails.",
            "rating": 1,
            "date": "2026-11-28"
        },
        {
            "text": "Great quality, fits perfectly. Will order again!",
            "rating": 5,
            "date": "2026-11-27"
        },
        {
            "text": "Good product but shipping costs are too high.",
            "rating": 3,
            "date": "2026-11-25"
        },
        {
            "text": "Support solved my issue in 10 minutes, thank you.",
            "rating": 5,
            "date": "2026-11-22"
        },
        {
            "text": "The size chart is wrong, I had to return it.",
            "rating": 2,
            "date": "2026-11-20"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("macgitarra/ai-review-analyzer").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": "Delivery took three weeks and nobody answered my emails.",
            "rating": 1,
            "date": "2026-11-28",
        },
        {
            "text": "Great quality, fits perfectly. Will order again!",
            "rating": 5,
            "date": "2026-11-27",
        },
        {
            "text": "Good product but shipping costs are too high.",
            "rating": 3,
            "date": "2026-11-25",
        },
        {
            "text": "Support solved my issue in 10 minutes, thank you.",
            "rating": 5,
            "date": "2026-11-22",
        },
        {
            "text": "The size chart is wrong, I had to return it.",
            "rating": 2,
            "date": "2026-11-20",
        },
    ] }

# Run the Actor and wait for it to finish
run = client.actor("macgitarra/ai-review-analyzer").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": "Delivery took three weeks and nobody answered my emails.",
      "rating": 1,
      "date": "2026-11-28"
    },
    {
      "text": "Great quality, fits perfectly. Will order again!",
      "rating": 5,
      "date": "2026-11-27"
    },
    {
      "text": "Good product but shipping costs are too high.",
      "rating": 3,
      "date": "2026-11-25"
    },
    {
      "text": "Support solved my issue in 10 minutes, thank you.",
      "rating": 5,
      "date": "2026-11-22"
    },
    {
      "text": "The size chart is wrong, I had to return it.",
      "rating": 2,
      "date": "2026-11-20"
    }
  ]
}' |
apify call macgitarra/ai-review-analyzer --silent --output-dataset

```

## MCP server setup

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

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/7y6vPNCQLnqdH6fTg/builds/V6WVGisceURH1o2hy/openapi.json
