---
name: pain-mining
description: "Pull a competitor's negative reviews from review sites such as G2 and turn them into a sourced message matrix: switching reasons, the exact vocabulary of the pain, and verbatim lines from the competitor's own customers you can use in copy. Counts by script, always writes the denominator and how the sample was sorted, weighs vendor-solicited reviews apart from organic ones, and refuses to promise contacts, because G2 never publishes a reviewer's employer. Use when you want to know why customers leave a competitor, find angles for a competitive campaign, or build voice-of-customer language. Triggers: mine competitor reviews, negative reviews, review mining, why do customers leave, switching reasons, pain vocabulary, voice of the customer, G2 reviews, Capterra, TrustRadius, competitor complaints, pain-mining."
license: MIT
author: Rivolt (rivolt.ai)
---

# Pain mining

An unhappy customer of a competitor writes, for free, what a qualitative study costs a lot to produce: the pain, in their own words, dated, tied to a named product. This skill harvests those words and makes them usable in copy.

**What it does not do, and never will: return contacts.** See "The ceiling" below.

## 1. Frame before spending

Fix three things, or the run costs money and serves nothing.

| To fix | Why |
|---|---|
| The competitor product or products, by their review page URL | A wrong slug returns zero rows and no error |
| What the output is for | Sequence copy, offer redesign, post angle, competitor sheet: the matrix is shaped differently for each |
| The date window | A 2019 complaint about a SaaS is no longer true, and it gets quoted as if it were |

If you do not have the review page, find it with the scraper's product search mode before pulling anything.

## 2. Harvest

A working default on Apify is `automation-lab/g2-scraper`, billed per review (check the current price on its Store page):

```json
{ "mode": "product_reviews",
  "productUrls": ["https://www.g2.com/products/<slug>/reviews"],
  "maxReviews": 300,
  "sortReviews": "rating_low",
  "publishedAfter": "2025-01-01" }
```

Save the dataset to a local file and **count with a script, never by eye**. Apify datasets can be fetched at `https://api.apify.com/v2/datasets/<datasetId>/items?format=json&limit=<n>`.

### Known defects of that actor, to compensate

- **It drops the job title** the page shows. If the role matters to the reading, take it from the page, not the dataset.
- **`companySegment` and `industry` come out as raw numeric IDs** with no mapping table. Never present them as is, never guess what they mean.
- **`sortReviews: rating_low` is approximate.** A low-rating pull can return many four-star reviews and miss a large share of the one-star ones. So **a count on a `rating_low` pull is not a representative sample of negative reviews**: write "out of 200 read, sorted by low rating", never "out of negative reviews".
- **The per-review permalinks it builds can return 404.** Do not cite them as clickable sources.

Other sites: test them, do not assume they work like G2. Capterra scrapers have returned nothing in past tests, and TrustRadius was not tested. Say which ones you tried.

### Site access

`curl` and markdown fetchers often get a 403 on G2. A 403 does not mean the source is closed: open the page in a real browser, which usually passes. Dismissing a source on a 403 is a method error.

## 3. Read what matters, ignore the rest

Four fields carry the value. The rest is decoration.

- **`switchedFromOtherProduct` and `switchedReason`**: who switched and why. The raw material of a competitive play.
- **`reviewText`**: the pain in plain words. The only place the vocabulary lives.
- **`hateTheme`**: the theme when G2 classified it, often null.
- **`starRating` and `publishedAt`**: severity and freshness, which decide whether a line can be quoted.

**Filter on `sourceType` first.** Review sites are heavily solicited: in typical pulls, the large majority of reviews come from the vendor's own campaigns or from site incentives, and only a minority are organic. A `vendor_self` or `g2_incentivized` review is not invalid, but its weight changes: a complaint that survives a vendor solicitation is a stronger signal than a spontaneous one, and solicited praise is worth nothing. A count that ignores `sourceType` mostly measures the competitor's review program.

## 4. The matrix

One row per recurring pain, never one row per review.

| Pain | Dated verbatim | Occurrences | What it opens |
|---|---|---|---|
| The pain in plain words | The customer's sentence, word for word, with its date | How many reviews carry it, out of how many read and how sorted | The copy angle or the discovery question |

Rules of form:

1. **The verbatim is never rewritten.** A reworded pain becomes marketing again. The raw words are the value.
2. **The denominator is always written**, with how the sample was sorted. "14 out of 200 read, sorted by low rating", not "recurring". A count without a denominator means nothing.
3. **A pain carried by fewer than three reviews is named as a hypothesis**, not a pattern.
4. **A competitor's pain feeds copy. It is not implied proof that you solved it.** Do not write it as a case study you do not have.
5. Cross it with your own sales calls: a pain that shows up both in competitor reviews and in your own discovery calls is confirmed.

## 5. The ceiling: no contacts

**G2 never publishes a reviewer's employer.** A public review line carries a first name and last initial, a job title, a company size band, a date and a country. In a 200-review pull, almost every line carried a name and none carried a company. This is G2's privacy model, not a budget or anti-bot problem, and there is no "verified" subpopulation that unlocks the employer.

What that rules out:

- No company, so no domain, so no email finder has anything to search.
- **No scraper can return what the site does not publish.** Some G2 scrapers sell a "+ emails" option: those are the emails **of the software vendor**, collected from its own website. Same word, two different needs, and the second one is billed.

Returning a list of "Jane D." enriched by guesswork is worse than returning nothing. When the real request behind the run is "who should we contact", stop here and say so plainly. Sources where identity is public: Product Hunt, Reddit, LinkedIn (people who comment on or engage with the competitor's content). Build the contact list from there.

## Output

Save the matrix as a dated research note in your workspace: in your competitor intelligence folder when the reading is competitive, in the client's folder when it serves a client. Pains that reach the ICP level go into your ICP pain points document. Then hand it to whoever writes the sequence, the offer or the post.
