# Trustpilot / G2 / Capterra Complaint Miner (`zentrafoundry/review-complaint-miner`) Actor

Cluster recurring complaints from public or buyer-authorized review inputs, compare competitors, measure review velocity where calculable, and preserve source-linked evidence.

- **URL**: https://apify.com/zentrafoundry/review-complaint-miner.md
- **Developed by:** [Zentra](https://apify.com/zentrafoundry) (community)
- **Categories:** Lead generation, Automation, News
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$29.00 / 1,000 result delivereds

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Trustpilot / G2 / Capterra Complaint Miner

Cluster recurring complaints from public or buyer-authorized review inputs, compare competitors, measure review velocity where calculable, and preserve source-linked evidence. SaaS product, support, customer-success, competitive-intelligence, and positioning teams. Turn recurring review complaints into evidence-backed product, support, and positioning priorities without losing the source record.

### What it does

This Actor normalizes the supported evidence into a default Apify dataset and keeps the original source reference with each buyer-visible result. Its buyer-value event is `enriched-record`; it uses Apify pay-per-event pricing, so inspect the current Pricing tab and begin with a small validation run.

### Supported sources and boundary

- buyer-supplied review records
- buyer-supplied public or authorized review URLs where access is permitted

Only the sources and buyer inputs listed above are supported. The Actor does not bypass login, CAPTCHA, paywalls, robots restrictions, private APIs, or any other access control. It is an independent tool and is not affiliated with the named source platforms or authorities.

### Inputs

- `startUrls` — Public or buyer-authorized review URLs; no platform-wide scraping is claimed.
- `reviewRecords` — Optional buyer-supplied review records for clustering.
- `watchlistTerms` — Products, competitors, or complaint themes to compare.

Existing saved-task fields remain accepted for backward compatibility. Use Apify's maximum run-charge limit for any live validation run.

### Buyer-ready output

- `platform`
- `companyOrProduct`
- `rating`
- `reviewDate`
- `complaintTheme`
- `severity`
- `evidenceSnippet`
- `sourceUrl`
- `reviewVelocity`
- `confidence`
- `recommendedAction`

Every output preserves source provenance where the input or public source provides it. Unsupported sources return an explicit boundary error instead of an invented record.

### First run

```json
{
    "sourceMode": "sample",
    "reviewRecords": [],
    "maxItems": 1
}
```

The bundled first-run example is a labelled deterministic demonstration, not proof of current live coverage:

```json
{
    "evidenceType": "deterministic_demo",
    "platform": "buyer_supplied_review",
    "complaintTheme": "setup complexity",
    "severity": "medium",
    "recommendedAction": "Review onboarding evidence before prioritizing a fix"
}
```

### API, dataset, schedules, and webhooks

Use the Apify API or default dataset for programmatic retrieval. Save an input as an Apify task to schedule recurring runs. If the current input schema exposes `webhookUrl`, it can notify a buyer-controlled endpoint after a completed run; otherwise use Apify webhooks for the task or run.

### Common use cases

- Build a source-linked internal review queue.
- Compare repeated signals across a buyer watchlist.
- Export normalized JSON or CSV for an approved downstream workflow.

### Limitations and responsible use

The Actor is independent and not affiliated with Trustpilot, G2, or Capterra. It does not bypass login, CAPTCHA, paywalls, access controls, robots restrictions, or anti-bot protections.

### Support

Include the Actor run ID, the input field names (not secrets), an example source URL when authorized, and the observed output field when contacting Zentra support. Check the current Pricing and API tabs before production-scale runs.

# Actor input Schema

## `searchKeywords` (type: `array`):

Buyer-relevant keywords used to focus the records returned by this product.

## `taskIntent` (type: `string`):

Stable product-specific purpose for this saved Apify task.

## `sourceMode` (type: `string`):

Sample emits public-safe Competitor Signal rows. Approved live source mode keeps the same output fields and only uses owner-approved public URLs.

## `outputMode` (type: `string`):

Use sample records for Apify Store QA or buyer-ready records for approved Competitor Signal delivery.

## `startUrls` (type: `array`):

Public or buyer-authorized review URLs; no platform-wide scraping is claimed.

## `requestTimeoutSecs` (type: `integer`):

Timeout applied independently to each approved source request.

## `maxRequestRetries` (type: `integer`):

Bounded retry count for transient source failures.

## `sinceLastRun` (type: `boolean`):

Uses stable Actor state to skip logical records delivered by earlier runs.

## `deltaMode` (type: `boolean`):

Preserves stable deduplication keys for recurring tasks and schedules.

## Actor input object example

```json
{
  "searchKeywords": [
    "source-backed signal",
    "buyer fit"
  ],
  "taskIntent": "buyer-ready-product-run",
  "sourceMode": "startUrls",
  "outputMode": "buyer-ready-records",
  "startUrls": [],
  "requestTimeoutSecs": 30,
  "maxRequestRetries": 2,
  "sinceLastRun": false,
  "deltaMode": true
}
```

# Actor output Schema

## `results` (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 = {
    "searchKeywords": [
        "source-backed signal",
        "buyer fit"
    ],
    "taskIntent": "buyer-ready-product-run",
    "sourceMode": "startUrls",
    "outputMode": "buyer-ready-records",
    "startUrls": [],
    "requestTimeoutSecs": 30,
    "maxRequestRetries": 2,
    "sinceLastRun": false,
    "deltaMode": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("zentrafoundry/review-complaint-miner").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 = {
    "searchKeywords": [
        "source-backed signal",
        "buyer fit",
    ],
    "taskIntent": "buyer-ready-product-run",
    "sourceMode": "startUrls",
    "outputMode": "buyer-ready-records",
    "startUrls": [],
    "requestTimeoutSecs": 30,
    "maxRequestRetries": 2,
    "sinceLastRun": False,
    "deltaMode": True,
}

# Run the Actor and wait for it to finish
run = client.actor("zentrafoundry/review-complaint-miner").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 '{
  "searchKeywords": [
    "source-backed signal",
    "buyer fit"
  ],
  "taskIntent": "buyer-ready-product-run",
  "sourceMode": "startUrls",
  "outputMode": "buyer-ready-records",
  "startUrls": [],
  "requestTimeoutSecs": 30,
  "maxRequestRetries": 2,
  "sinceLastRun": false,
  "deltaMode": true
}' |
apify call zentrafoundry/review-complaint-miner --silent --output-dataset

```

## MCP server setup

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

```

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/X0qPKfAfrSQEpvWg4/builds/fjXruK3eHQa0bxgzG/openapi.json
