Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    PlaybooksE-commerce

    Review Mining

    The complaints in your products' or competitors' reviews on Target, Walmart and Amazon, by topic, with the buyer's own words.

    Id
    review-mining
    Version
    1.0.0
    Category
    E-commerce
    Status
    Live
    Saved, it runs
    weekly, monthly
    Unit cap
    100 by default, 1 to 1000

    Reads the reviews of the products you give (Target, Walmart, and Amazon in the UK, Germany, France, Italy, Spain, Canada and other countries) and finds in each the topics you care about: broke, battery, too small, smell, missing parts, customer service, or any phrase of your own. Every review that mentions one is a row, with its stars, date, the topics it mentions and a quote in the buyer's own words, and each product's average rating across the reviews read. For product teams, sourcing a better version of a bestseller, and comparing a competitor's weak points.

    Use when someone wants to find what customers complain about in product reviews, for their own or a competitor's products, by topic with quotes.

    Run it with POST /v1/formulas/review-mining/runs. How runs work is in Running a playbook; what a run costs is below.

    Parameters

    The fields of params, the Basics first. Only the required ones must be given; every other has a default. A field that is not listed is refused. The OpenAPI document has them as the type ReviewMiningParams.

    Parameters of Review Mining
    ParameterTypeRequired or defaultWhat it is
    productsBasicslist of stringsrequiredProduct pages. The address of each product's page on Target, Walmart, or an Amazon outside the US (amazon.co.uk, .de, .ca ...).1 or more, up to 30, each up to 500 characters.
    topicsBasicslist of strings["broke","stopped working","battery","charging","too small","too big","cheap","poor quality","returned","refund","leak","noise","smell","missing","instructions","customer service","damaged","does not fit","overheat","flimsy"]Topics. Phrases to look for, matched as words and their forms ("broke" also finds "broken").1 or more, up to 40, each up to 60 characters.
    max_starsBasicsinteger3Most stars. Only reviews of this many stars or fewer. 5 reads every review.at least 1, at most 5.
    orderFiltersstring"lowest_rating"Reviews read first. Target and Walmart read their reviews in this order; Amazon reads the page's own.One of lowest_rating, newest, most_helpful.
    only_with_topicsFiltersbooleantrueOnly reviews that mention a topic.
    max_resultsOutputinteger300Most rows. The run stops at this many reviews, the most topics first.at least 1, at most 2000.

    Presets

    Ready-made answers to start from: give them as params, with any of your own beside them.

    Speakers and headphones on Target speakers-and-headphones

    JSON
    {
      "products": [
        "https://www.target.com/p/-/A-94602824",
        "https://www.target.com/p/-/A-86314264",
        "https://www.target.com/p/-/A-90786762"
      ]
    }

    A competitor on Amazon UK amazon-uk-competitor

    JSON
    {
      "products": [
        "https://www.amazon.co.uk/dp/B09GJVTRNZ"
      ],
      "max_stars": 5
    }

    Columns

    The columns of each row’s data, in order; rows also carry a score from 0 to 100, and come best first. A value that is not known is null.

    Columns of Review Mining
    ColumnLabelTypeShown by default
    siteSitestringyes
    product_idProductstringyes
    starsStarsnumberyes
    topicsTopicslistyes
    quoteIn their wordsstringyes
    review_titleReview titlestringyes
    review_textReviewstringno
    dateWrittenstringyes
    verifiedVerified purchasebooleanno
    helpful_votesHelpful votesintegerno
    product_average_starsAverage stars of the reviews readnumberno
    product_reviews_readReviews readintegerno
    product_pageProduct pageurlyes
    scoreScorenumberyes

    Example request

    # Start the run and wait up to 60 seconds for it to finish
    curl -X POST "https://api.enrichednow.com/v1/formulas/review-mining/runs?wait=60" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"params":{"products":["https://www.target.com/p/-/A-94602824","https://www.target.com/p/-/A-86314264","https://www.target.com/p/-/A-90786762"],"topics":["broke","stopped working","battery","charging","too small","too big","cheap","poor quality","returned","refund","leak","noise","smell","missing","instructions","customer service","damaged","does not fit","overheat","flimsy"],"max_stars":3,"order":"lowest_rating","only_with_topics":true,"max_results":300},"unit_cap":100}'
    
    # Follow it until it ends, then read its rows, with the id the first call answered
    curl "https://api.enrichednow.com/v1/formula-runs/$RUN_ID?wait=60" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
    curl "https://api.enrichednow.com/v1/formula-runs/$RUN_ID/rows?limit=100" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
    from enrichednow import EnrichedNow
    
    client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY
    
    # Start the run, wait for it to end, and get its rows
    params = {
        "products": [
            "https://www.target.com/p/-/A-94602824",
            "https://www.target.com/p/-/A-86314264",
            "https://www.target.com/p/-/A-90786762",
        ],
        "topics": [
            "broke",
            "stopped working",
            "battery",
            "charging",
            "too small",
            "too big",
            "cheap",
            "poor quality",
            "returned",
            "refund",
            "leak",
            "noise",
            "smell",
            "missing",
            "instructions",
            "customer service",
            "damaged",
            "does not fit",
            "overheat",
            "flimsy",
        ],
        "max_stars": 3,
        "order": "lowest_rating",
        "only_with_topics": True,
        "max_results": 300,
    }
    result = client.run_formula("review-mining", params, unit_cap=100)
    print(result.run.id, result.run.status, result.run.rows_total, result.run.units_spent)
    
    # Read its rows, best first: pages are fetched as you go
    for row in result:
        print(row.data)

    Install it with pip install enrichednow, then save as run.py and run python3 run.py

    import EnrichedNow from "enrichednow";
    
    const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
    
    // Start the run, wait for it to end, and get its rows
    const params = {
      products: [
        "https://www.target.com/p/-/A-94602824",
        "https://www.target.com/p/-/A-86314264",
        "https://www.target.com/p/-/A-90786762",
      ],
      topics: [
        "broke",
        "stopped working",
        "battery",
        "charging",
        "too small",
        "too big",
        "cheap",
        "poor quality",
        "returned",
        "refund",
        "leak",
        "noise",
        "smell",
        "missing",
        "instructions",
        "customer service",
        "damaged",
        "does not fit",
        "overheat",
        "flimsy",
      ],
      max_stars: 3,
      order: "lowest_rating",
      only_with_topics: true,
      max_results: 300,
    };
    const { run, rows } = await client.runFormula("review-mining", params, { unitCap: 100 });
    console.log(run.id, run.status, run.rows_total, run.units_spent);
    
    // Read its rows, best first: pages are fetched as you go
    for await (const row of rows) console.log(row.data);

    Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

    package main
    
    import (
    	"context"
    	"fmt"
    	"log"
    	"time"
    
    	enrichednow "github.com/enrichednow/enrichednow-go"
    )
    
    func main() {
    	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
    	if err != nil {
    		log.Fatal(err)
    	}
    	ctx, cancel := context.WithTimeout(context.Background(), 30*time.Minute)
    	defer cancel()
    
    	// Start the run, wait for it to end, and get its rows
    	params := map[string]any{"products": []any{"https://www.target.com/p/-/A-94602824", "https://www.target.com/p/-/A-86314264", "https://www.target.com/p/-/A-90786762"}, "topics": []any{"broke", "stopped working", "battery", "charging", "too small", "too big", "cheap", "poor quality", "returned", "refund", "leak", "noise", "smell", "missing", "instructions", "customer service", "damaged", "does not fit", "overheat", "flimsy"}, "max_stars": 3, "order": "lowest_rating", "only_with_topics": true, "max_results": 300}
    	run, rows, err := client.RunFormula(ctx, "review-mining", params, &enrichednow.RunFormulaParams{UnitCap: 100})
    	if err != nil {
    		log.Fatal(err)
    	}
    	fmt.Println(run.ID, run.Status, run.RowsTotal, run.UnitsSpent)
    
    	// Read its rows, best first: pages are fetched as you go
    	for rows.Next() {
    		fmt.Println(string(rows.Current().Data))
    	}
    	if err := rows.Err(); err != nil {
    		log.Fatal(err)
    	}
    }

    Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

    import com.enrichednow.EnrichedNowClient;
    import com.enrichednow.FormulaResult;
    import com.enrichednow.FormulaRunOptions;
    import com.enrichednow.models.FormulaRow;
    import java.util.List;
    import java.util.Map;
    
    public class Run {
        public static void main(String[] args) {
            EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
    
            // Start the run, wait for it to end, and get its rows
            FormulaResult result = client.runFormula("review-mining", Map.of("products", List.of("https://www.target.com/p/-/A-94602824", "https://www.target.com/p/-/A-86314264", "https://www.target.com/p/-/A-90786762"), "topics", List.of("broke", "stopped working", "battery", "charging", "too small", "too big", "cheap", "poor quality", "returned", "refund", "leak", "noise", "smell", "missing", "instructions", "customer service", "damaged", "does not fit", "overheat", "flimsy"), "max_stars", 3, "order", "lowest_rating", "only_with_topics", true, "max_results", 300), FormulaRunOptions.builder().unitCap(100).build());
            System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().rowsTotal() + " " + result.run().unitsSpent());
    
            // Read its rows, best first: pages are fetched as you go
            for (FormulaRow row : result.rows()) {
                System.out.println(row.data());
            }
        }
    }

    Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

    enrichednow formulas run review-mining --params-json '{"products":["https://www.target.com/p/-/A-94602824","https://www.target.com/p/-/A-86314264","https://www.target.com/p/-/A-90786762"],"topics":["broke","stopped working","battery","charging","too small","too big","cheap","poor quality","returned","refund","leak","noise","smell","missing","instructions","customer service","damaged","does not fit","overheat","flimsy"],"max_stars":3,"order":"lowest_rating","only_with_topics":true,"max_results":300}' --unit-cap 100

    Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

    {
      "name": "run_formula",
      "arguments": {
        "formula_id": "review-mining",
        "params": {
          "products": [
            "https://www.target.com/p/-/A-94602824",
            "https://www.target.com/p/-/A-86314264",
            "https://www.target.com/p/-/A-90786762"
          ],
          "topics": [
            "broke",
            "stopped working",
            "battery",
            "charging",
            "too small",
            "too big",
            "cheap",
            "poor quality",
            "returned",
            "refund",
            "leak",
            "noise",
            "smell",
            "missing",
            "instructions",
            "customer service",
            "damaged",
            "does not fit",
            "overheat",
            "flimsy"
          ],
          "max_stars": 3,
          "order": "lowest_rating",
          "only_with_topics": true,
          "max_results": 300
        }
      }
    }

    It starts a full run with the answers the sample rows below were made with and the default unit cap, waits for it, and reads its rows a page at a time. The key is read from an environment variable. The MCP tab is the same run asked of an agent connected to the MCP server, which runs a preview first.

    Example response

    The data of the first 3 rows a real run returned with these answers on 2026-11-24: it ended ok with 93 rows, after 3 scraper calls charged 3 units. Text over 160 characters is cut here and ends with … [truncated]; the API returns every value whole.

    JSON
    [
      {
        "site": "target",
        "product_id": "86314264",
        "stars": 1,
        "topics": [
          "broke",
          "charging",
          "poor quality",
          "noise"
        ],
        "quote": "I bought a second pair in less than a year because the original pair broke.",
        "review_title": "Poor quality and no customer support",
        "review_text": "I bought a second pair in less than a year because the original pair broke. Thought my 18 year old daughter may have been rough with them. Second pair broke … [truncated]",
        "date": "2026-06-19",
        "verified": false,
        "helpful_votes": 1,
        "product_average_stars": 1,
        "product_reviews_read": 50,
        "product_page": "https://www.target.com/p/-/A-86314264",
        "score": 70
      },
      {
        "site": "target",
        "product_id": "94602824",
        "stars": 1,
        "topics": [
          "broke",
          "stopped working",
          "charging"
        ],
        "quote": "I replaced a charge 3 after a year of gentle use when it broke, and now the charge 6 is just as crappy.",
        "review_title": "Stopped working in 6 months after replacing",
        "review_text": "I bought this in March and it stopped working in September. I replaced a charge 3 after a year of gentle use when it broke, and now the charge 6 is just as … [truncated]",
        "date": "2026-10-08",
        "verified": false,
        "helpful_votes": 1,
        "product_average_stars": 1.38,
        "product_reviews_read": 50,
        "product_page": "https://www.target.com/p/-/A-94602824",
        "score": 70
      },
      {
        "site": "target",
        "product_id": "86314264",
        "stars": 1,
        "topics": [
          "charging",
          "cheap",
          "noise"
        ],
        "quote": "And the only option for repair is to send to a third party - who will charge you whether or not they can fix them.",
        "review_title": "Arm snapped after just over a year of light use",
        "review_text": "I am honestly pretty peeved about this - I paid these headphones off over a year, and as soon as I did and the warranty expired one of the arms cracked and … [truncated]",
        "date": "2026-02-03",
        "verified": false,
        "helpful_votes": 1,
        "product_average_stars": 1,
        "product_reviews_read": 50,
        "product_page": "https://www.target.com/p/-/A-86314264",
        "score": 70
      }
    ]

    Each row also has its id, its score, when it was first seen and its evidence: where each value came from. The run and its rows are described in Running a playbook.

    Pricing

    A run costs the units of the work it does, and nothing on top: each scraper call it makes is charged at that scraper's rate, when the call ends ok or partial. It never spends past its unit cap: 100 units unless you give another (at least 1, at most 1000).

    With the answers above, a run is estimated at about 3 units for about 93 rows, and at most 3: 3 lookups across 1 source, about 93 rows. An estimate for no history; POST /v1/formulas/review-mining/estimate gives yours, free.

    A preview, mode: preview, is the first 10 rows, charged at what they cost: about 3 units with the answers above. POST /v1/formulas/review-mining/estimate with mode: preview gives yours, free.

    How a playbook is charged has the rule for every playbook.