# SaaS Review Opportunity Analyzer — Authorized JSON & CSV (`afkdigital/saas-review-opportunity-analyzer`) Actor

Analyze authorized SaaS review exports for complaint themes, explicit alternative searches and evidence-backed reviewer companies. JSON/CSV input; no review-site scraping or guessed contacts.

- **URL**: https://apify.com/afkdigital/saas-review-opportunity-analyzer.md
- **Developed by:** [AFK Digital](https://apify.com/afkdigital) (community)
- **Categories:** Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.00 / 1,000 unique saas review processeds

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

## SaaS Review Opportunity Analyzer

Turn **SaaS reviews you own or are authorized to process** into inspectable complaint themes, explicit alternative-search signals and supported reviewer-company information. Bring your own JSON/CSV export; this Actor does not supply a review database. Built by AFK Digital, project NEWAPI101.

The default input runs seven original, clearly marked **fictional CC0 demo records**, producing five selected unique outputs. They are examples, not real sales leads.

### What you get

One record per valid, selected, unique review, with:

- Complaint categories and an extractive complaint summary.
- A separate switching-intent status and its supporting text.
- Reviewer company name/website only when supported by a direct self-identification or an explicitly associated licensed record you supply.
- Full email-redacted review evidence, missing fields and uncertainty.
- JSON Dataset, spreadsheet-safe CSV in the run key-value store, and a count/limitations summary.

A negative rating never establishes purchase intent. An already completed switch is a different status from an open alternative search. Company names, websites and source-provided evidence are **not independently verified**. No personal email addresses are generated.

### Quick start

1. Run the synthetic demo, or select JSON, CSV or file upload.
2. For customer records, confirm that your permission covers processing and output. Possession of an export alone does not establish this right.
3. Supply review text, 1–5 rating and preferably language, product name, date and a source-issued review ID.
4. Select the rating/date/language filters and result limit, then run.
5. Open the Dataset, SUMMARY and OUTPUT.csv links in the run Output tab.

#### JSON input

```json
{
  "inputMode": "json",
  "rightsConfirmed": true,
  "productName": "Example CRM",
  "reviews": [
    {
      "id": "SYNTHETIC-001",
      "source": "customer_file",
      "sourceUrl": "https://example.com/reviews/001",
      "reviewDate": "2026-10-01",
      "rating": 1,
      "language": "en",
      "text": "I work at Acme Labs. Our company website is https://acme.example.com. The integration is broken. We are looking for an alternative."
    }
  ],
  "minRating": 1,
  "maxRating": 3,
  "dateFrom": "2026-01-01",
  "dateTo": "2026-12-31",
  "language": "all",
  "maxResults": 100
}
```

#### CSV input and upload

Select csv and paste this into csvText:

```csv
id,source,productName,reviewDate,rating,language,text
SYNTHETIC-001,customer_file,Example CRM,2026-10-01,1,en,"The integration is broken. We are looking for an alternative."
SYNTHETIC-002,customer_file,Example CRM,2026-10-02,2,en,"Too expensive. We are not switching."
```

Use UTF-8, comma-separated headers and normal quoted fields. Newlines and commas inside quotes are supported. Required canonical column names are text,rating. Optional columns: id,source,sourceUrl,reviewDate (or date),productName,language,reviewerCompany. JSON objects in reviewerCompany must be quoted/escaped inside CSV cells.

For file input, choose upload and upload through the form. Only direct HTTPS api.apify.com/v2/key-value-stores/STORE_ID/records/FILE_KEY addresses are accepted. The file must be UTF-8 CSV, a JSON array, or an object containing only a reviews array. Arbitrary file servers, HTML review pages, redirects and query-string credentials are rejected. Tokens are sent only in the Authorization header to api.apify.com.

### Input reference

| Field | Behavior |
|---|---|
| inputMode | demo, json, csv, upload; default demo in the form |
| reviews / csvText / reviewFileUrl | Use exactly the selected mode's data field |
| rightsConfirmed | Must be true for customer input; built-in synthetic demo is exempt |
| productName | Optional common product label; falls back to the row value |
| minRating / maxRating | Inclusive 1–5 bounds; default 1–3; normalize any 0–10 export before input |
| dateFrom / dateTo | ISO date or timezone-qualified timestamp; date-only bounds are inclusive UTC days |
| language | all, en or tr; filters supplied row tags, such as en-US -> en |
| maxResults | 1–10000 unique selected results; default 100 |
| previousReviewKeys | Returned dedupKeys from older outputs; maximum 50000 keys |

Total input/upload limit: 5 MiB. Maximum input records: 10000. Maximum text length: 20000 characters per review. Invalid records are skipped and counted. Malformed top-level configuration or CSV fails before billing. Date filtering excludes missing/invalid dates; without a date filter their output reviewDate is null. Empty valid input succeeds with zero results and zero review events.

### Output reference

| Field | Meaning |
|---|---|
| source, sourceUrl | Supplied source label and safe HTTP(S) evidence URL; missing label becomes customer_file; URLs are not fetched |
| reviewDate, productName, rating | Supplied metadata; date normalized to UTC; missing product/date becomes null |
| complaintCategory | Array of candidate complaint categories; empty means unclassified |
| complaintSummary | Exact selected complaint sentences, capped at 1800 characters; null if unmatched |
| switchingIntent | not_stated, explicitly_not_switching, explicit_alternative_search, considering_switch, already_switched, ambiguous |
| companyName, companyWebsite | Supported reviewer-employer information or null; never inferred from the reviewed vendor or a bare domain |
| evidenceText | Submitted review text with recognizable email addresses redacted |
| confidence | Heuristic evidence strength, not a calibrated probability, company verification score or purchase propensity |
| missingFields | Missing metadata, complaintSummary and/or unstated switchingIntent |
| evidence | Separate complaint, switching, company name and company website evidence |
| reviewKey, dedupKeys | Stable opaque keys for deduplication and workflow continuation |
| language, isDemo | Declared language and explicit synthetic-demo marker |
| analysisMethod, warnings | Method and limitations |

See examples/output.json for a full fictional output and examples/output.csv for the CSV export.

### Supported company evidence

A direct review statement such as **I work at Acme Labs.** is accepted. An explicitly labeled company website is accepted only alongside an accepted company name. Merely mentioning a product vendor, competitor, company size, job title or domain does not identify the reviewer's company.

Alternatively supply reviewerCompany:

```json
{
  "name": "Acme Labs",
  "website": "https://acme.example.com",
  "relationship": "reviewer_employer",
  "evidenceType": "licensed_record",
  "evidenceText": "Reviewer employer: Acme Labs; website: https://acme.example.com",
  "evidenceUrl": "https://example.com/authorized-record/123"
}
```

The name must occur in the evidence text. A website must appear explicitly in that same evidence. licensed_record requires a source URL and an explicit Reviewer employer: NAME or Reviewer company: NAME label in the evidence; review_text requires a matching direct employer self-identification in the review. This validates supplied provenance structure, not the truth of a third-party record. Conflicting accepted names are suppressed with a warning. Bare companyName/companyWebsite input columns are ignored.

### How analysis works and its limits

Version 1 uses conservative, deterministic phrase rules for **declared English and Turkish**. There is no external LLM, translation service, inference API or proxy cost. Other or undeclared languages are retained in all mode with unclassified complaint/intent and a warning.

Categories: pricing_billing, customer_support, reliability_performance, integrations, usability, missing_features, security_privacy and cancellation_contract. Basic negation, explicit refusal to switch, already-switched statements, quoted/reported speech and conflicting intent have dedicated checks. Sarcasm, complex negation, indirect intent and unfamiliar wording can be missed or misinterpreted. Company self-identification is intentionally narrow. Review the full evidence before acting.

Recognizable email strings are redacted; names and other sensitive text may still remain in customer input/output. No reviewer profile crawling or contact enrichment occurs. The input and output remain in the customer's Apify run storage and follow its retention/access settings; no deletion synchronization with review platforms is implemented.

### Deduplication and billing design

The proposed sole event is **unique-review-processed**: one selected valid unique review, including all its complaint findings. There is no start event, additional dataset-row event or separate company/intent event.

Within a run, source-issued ID (scoped by source/product) and normalized full text/product prevent repeated review results. A common product review-page URL does not collapse different reviews. The first valid selected occurrence is retained. Filtered, invalid and duplicate records incur no review event.

For a new run retry or serial workflow, supply previousReviewKeys. Outside the Actor, use your automation credential to read the prior PROCESSING_STATE record and pass the union of inheritedKeys plus all entries\[].dedupKeys. Alternatively keep a growing union of Dataset dedupKeys. This works under limited Actor permissions without requesting access to other runs. Independent runs without prior keys are separate jobs and can reprocess/bill the same data. Serialize continuations; maximum history is 50000 keys.

A persisted processing guard prevents resurrected/restarted runs from emitting or charging the same reviews again, including after the platform's three-minute idempotency window. Writes and charges are never automatically retried. An uncertain network outcome stops processing; inspect PROCESSING_STATE, SUMMARY and ANALYSIS_RESULTS. At-most-once attempts prioritize avoiding duplicate charges/output, so an interrupted job may have incomplete delivery or uncharged delivered rows. All reserved records are excluded when their keys are carried into a continuation; uncertain delivery requires manual reconciliation.

The Actor reads the run's actual event price and Decimal-based spending cap, and limits output accordingly. Unexpected additional charge events cause a failure. The synthetic demo would also be billable when commercial PPE pricing is enabled, because it processes valid reviews; it never represents real leads.

**Price: $0.001 per processed unique review ($1 per 1000), including Apify platform usage.** There is no Actor-start fee, extra Dataset-item fee, separate complaint-finding fee or external model fee. Invalid, filtered and duplicate records generate no review event. Valid unclassified reviews are billable because they have been processed. The synthetic demo is also billable and does not represent real sales leads. Set a run spending cap; the Actor limits delivered records to the affordable review count.

### Trustpilot and G2 access

This release does not call either platform. Their public web pages being readable is not proof of permission to collect or commercially reuse their data. API credentials alone do not establish permission for every purpose.

Trustpilot offers Business API access with the API module and Data Solutions Display/Insights products. Insights covers full service reviews; Display has more limited access. Platform/API terms and your specific agreement govern use. Trustpilot documents mirroring deletions at least every 28 days when storing API review/consumer data.

G2 provides API/OAuth or scoped access tokens through its Developer Portal. Permissions and contractual entitlement control endpoint access. Its November 5, 2026 terms restrict automated collection and commercial exploitation without prior written consent. A customer file must itself be lawfully reusable for this analysis.

Source check: November 17, 2026.

- https://developers.trustpilot.com/api-module-overview/
- https://developers.trustpilot.com/data-solutions-get-started
- https://developers.trustpilot.com/data-solutions-how-to
- https://corporate.trustpilot.com/legal/for-businesses/terms-of-use-and-sale-for-businesses/nov-2025
- https://documentation.g2.com/docs/g2-api
- https://documentation.g2.com/docs/developer-portal
- https://legal.g2.com/terms-of-use

No CAPTCHA, bot-detection, login or access-control bypass is included.

### Clay, n8n and Make

See docs/INTEGRATIONS.md for authenticated API calls, JSON/CSV mapping and serial deduplication. Keep the Apify token in each automation tool's credential store; never put it in public URLs or shared CSVs. The examples do not send outreach or publish customer review data.

# Actor input Schema

## `inputMode` (type: `string`):

Demo uses only bundled fictional CC0 records. Customer input requires rightsConfirmed.

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

text and rating required. Optional id, source, sourceUrl, reviewDate, productName, language, reviewerCompany. Use a 1–5 rating scale.

## `csvText` (type: `string`):

UTF-8 CSV with text,rating headers. Optional canonical columns. Quote commas and multiline fields.

## `reviewFileUrl` (type: `string`):

Native Apify KVS upload only. Third-party pages, redirects and token query strings are rejected.

## `rightsConfirmed` (type: `boolean`):

Required for customer data. Possession of a review export does not grant a license; your authorization must cover this analysis and its output.

## `productName` (type: `string`):

Optional label for all rows; otherwise use each record productName.

## `minRating` (type: `number`):

Inclusive lower bound, 1–5.

## `maxRating` (type: `number`):

Inclusive upper bound, 1–5. A low rating alone is never treated as switching intent.

## `dateFrom` (type: `string`):

Inclusive ISO date or timestamp with timezone; absent/invalid row dates are excluded when a date filter is active.

## `dateTo` (type: `string`):

Inclusive ISO date or timezone-qualified timestamp. Date-only bounds use UTC.

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

Exact supplied row-language filter. all retains other/undeclared languages as unclassified. No automatic language inference.

## `maxResults` (type: `integer`):

Maximum valid unique selected reviews, 1–10000. Budget can lower delivery count.

## `previousReviewKeys` (type: `array`):

Previously returned dedupKeys, or union of inheritedKeys and entries\[].dedupKeys from PROCESSING_STATE. Required for deduplication across separate runs. Maximum 50000.

## Actor input object example

```json
{
  "inputMode": "demo",
  "rightsConfirmed": false,
  "minRating": 1,
  "maxRating": 3,
  "language": "all",
  "maxResults": 100
}
```

# Actor output Schema

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

No description

## `safeCsv` (type: `string`):

No description

## `summary` (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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("afkdigital/saas-review-opportunity-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("afkdigital/saas-review-opportunity-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 '{}' |
apify call afkdigital/saas-review-opportunity-analyzer --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,afkdigital/saas-review-opportunity-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/zSlTtRDFc1fZLzRvo/builds/Belwimmykz7QFvby2/openapi.json
