The job: “Find out what customers complain about most and what to fix first”

Turn 500 customer reviews into a "what to fix next" report

Export your reviews as a CSV, have Claude tag every one by theme, count the themes with a small script, and get a ranked list of what to fix first, with real quotes and the problems that are rising fast.

  • Level Beginner
  • Time 30-60 minutes the first time, about 10-15 minutes per refresh (estimate)
  • Works with
    • Claude Code
    • Claude.ai
    • Claude Desktop
On this page11 sections

You have hundreds of reviews from your shop, app or booking page. You read some of them and have a feeling about what annoys people, but a feeling is hard to act on. Is it shipping or sizing? Is the app bug new, or has it always been there?

This guide has Claude read every review, sort them into themes, count the themes with a small script and write a one-page report. The report ranks what to fix first, gives real quotes for each problem and flags anything that’s suddenly getting worse. Then you save the recipe, so next month is much quicker.

We tested the prompt on 500 made-up reviews in which we had planted known problems. In that test, Claude found every one of them, including an app login bug that only started in the last six weeks (see step 5).

What you’ll have at the end

  • report.md: a summary of what to fix first, a ranked “Fix next” table, quotes for the top three problems, a “Rising fast” list, what customers love and the limits of the data.
  • reviews_tagged.csv: your original file with a new themes column, so you can filter it in Excel or Google Sheets.
  • themes.csv: the list of themes and what each one means. You can edit it and reuse it next month.
  • count_themes.py and theme_counts.csv: the script that does the counting, and its output. Every number in the report comes from here.

Why a script does the counting. Claude is very good at reading a review and saying what it’s about. Counting 500 rows exactly is a job for a few lines of code. So Claude tags each review and a script counts the tags, which means you can check every number.

What you need, and what it costs

ItemDetails
Your reviewsA CSV or Excel file with one review per row. Useful columns: an ID, the date, the star rating and the review text. A product column helps too.
Claude Code (the route we tested)Needs a Claude subscription (Pro, Max, Team or Enterprise) or a Claude Console account.
claude.ai or Claude Desktop (no terminal)Any plan, including Free. Code execution and file creation must be on (see below).
Time30 to 60 minutes the first time. Our test run took about three and a half minutes of Claude’s time.

Cost: nothing beyond your Claude plan’s normal usage. File size is rarely a problem: Anthropic’s file creation article lists 30 MB per file, and our 500-review CSV was 44 KB.

Step 1: Get your reviews into one file

  1. Export your reviews from wherever they live. If your platform has an export button, use it. If it doesn’t, copy the reviews into a spreadsheet, one per row.
  2. Keep or rename the columns to review_id, date, rating, product and review. If you have no IDs, add a column numbered 1, 2, 3 and so on. The IDs let you find any quote in the original file.
  3. Write dates as 2026-09-30 (year-month-day). The trend numbers depend on Claude reading the dates correctly.
  4. Remove personal data. Delete columns with customer names, email addresses, phone numbers and order numbers. Also skim the review text itself: customers sometimes write their name, email or order number inside the review. Claude doesn’t need any of these to find themes, and the report shouldn’t contain them. At work, check your company’s rules on sharing customer data with AI tools first.
  5. Save it as reviews.csv.

Only use reviews you’re allowed to use: your own customers’ reviews, exported from your own account.

Step 2: Run the prompt

Claude Code. Install it if you haven’t. On macOS, Linux or WSL:

curl -fsSL https://claude.ai/install.sh | bash

On Windows PowerShell:

irm https://claude.ai/install.ps1 | iex

Open a new terminal, make a folder, put reviews.csv in it and start Claude there:

mkdir review-report
cd review-report
claude

claude.ai or Claude Desktop. Go to Settings > Capabilities and make sure Code execution and file creation is on. In the updated Settings layout it’s called Create and edit files. It’s on by default on Free, Pro and Max. On Team and Enterprise, an owner controls it under Organization settings > Capabilities. Start a new chat, click + and attach reviews.csv. We didn’t test this route, but the prompt only needs Python, which Claude can run in its own workspace there.

Now paste this prompt. Change the first line to describe your business. This is the exact prompt we tested.

I run a small online shop. reviews.csv has our customer reviews (columns: review_id, date, rating, product, review). I want a "what to fix next" report I can act on this month.

Do it in this order:

1. Read every review. Draft a short list of themes (8 to 12), each with a one-line definition. Split complaints from praise. Save it as themes.csv (theme, type, definition).
2. Tag every review with one or more themes, or "none" if it says nothing specific. Save reviews_tagged.csv with all the original columns plus a "themes" column (separate several themes with |). Do the tagging yourself by reading each review, not with keyword matching.
3. Write a Python script, count_themes.py, that reads reviews_tagged.csv and works out, for each theme: number of reviews, share of all reviews, average star rating, and the count in the last 30 days vs the 30 days before that (based on the latest date in the file). Run it and save the output as theme_counts.csv. Use only these computed numbers in the report.
4. Write report.md:
   - One-paragraph summary: what to fix first and why.
   - "Fix next" table: the complaint themes ranked by how many reviews mention them and how low they rate, with count, share, average rating, trend, and a suggested first action.
   - For each of the top 3 problems: 2 or 3 short quotes copied exactly from the reviews, with their review_id.
   - "Rising fast": any theme whose last-30-day count is at least double the 30 days before.
   - "What customers love": the top praise themes, so we don't break them.
   - "Limits": what this data can't tell us.
5. Check your work before you finish: every quote in report.md must appear word for word in reviews.csv (check it with a script), every review must have a tag, and every number in report.md must match theme_counts.csv. Fix anything that fails, then tell me what you checked.

Don't invent reviews, numbers or reasons the reviews don't give. Don't include customer names or emails in the report.

What each part is for:

  • Themes first, then tags. Claude reads everything before it decides on the categories, so the themes come from your customers’ words rather than a generic list.
  • “Not with keyword matching.” A keyword search would miss “the medium fits like a small” as a sizing complaint. Reading catches it.
  • The script and “only these computed numbers”. This keeps every number in the report traceable to a file you can open.
  • Step 5. This makes Claude check its own quotes and numbers with a script before it hands the report over. It’s the main guard against made-up quotes.

Step 3: Read the report, then check it yourself

Open report.md. In Claude Code, you can also ask: Show me the Fix next table.

Then spend five minutes checking it. The report is only useful if the tags are right.

  1. Open reviews_tagged.csv in your spreadsheet app and filter the themes column by the top problem. Read 10 of those reviews. Do they really say that?
  2. Filter by none. Are any of those reviews complaints that should have a theme?
  3. Search the original file for two of the quotes, using their review IDs.

If something’s wrong, tell Claude in the same session, for example: "Arrived late" for a gift should count as slow delivery, not packaging. Retag, rerun count_themes.py and update the report.

How the ranking works. The prompt asks Claude to rank by “how many reviews mention them and how low they rate”, and leaves the exact formula to Claude. In our test, Claude chose “stars lost”: for each review that mentions a theme, it added up 5 minus the star rating. It explained that method at the top of the table. If you want a different order, say so, for example: Rank only by number of reviews.

Step 4: Decide what to fix

The report gives you a ranked list, but you still decide. Some ways to read it:

  • High count, low rating: the biggest overall drag. This is usually the top of the table.
  • Rising fast: new problems, often caused by a recent change (a new carrier, an app update, a new supplier). These can be cheap to fix if you catch them early.
  • Low count, very low rating: a small group of very unhappy customers. Worth a look, especially if it’s about refunds or support.
  • What customers love: don’t “fix” something people praise. If they love the fabric, don’t switch to a cheaper one to cut costs.

Treat the “suggested first action” column as a starting point. Claude only knows what the reviews say, not your costs, your suppliers or your team.

Step 5: What our test produced

We made a file of 500 fake reviews for a small shop, over six months. We planted eight themes in known numbers: slow shipping, sizing that runs small, damaged packaging, slow support, price, colour not matching the photos, praise for quality, and an app login bug that we put only in the last six weeks. About one in five complaints also mentioned a second problem. Then we ran the prompt above once with claude -p in a scratch folder.

  • Time: about three and a half minutes.
  • Tagging: all 500 reviews were tagged. We compared the tags against our hidden answer key: Claude caught all 542 planted theme mentions and missed none. It also correctly left our 24 empty reviews (“Fine.”) as “none”. It split some of our themes more finely than we had, for example “slow delivery” and “order stuck in processing”, which is fine.
  • Quotes: all 9 quotes in the report appeared word for word in the file. We checked them with our own script, not just Claude’s.
  • Rising fast: the report flagged the app login bug (13 to 30 mentions between the two 30-day periods) and said it had the lowest average rating of any theme.
  • Honest limits: Claude noticed that some complaints didn’t fit their product, such as sizing complaints on a glass food box. That was a flaw in our fake data, and it said so instead of making per-product claims.

Your results will differ from run to run, and real reviews are messier than ours. That’s why step 3 matters.

What can go wrong

  • The themes are too broad or too narrow. “Product issues” tells you nothing, and 30 tiny themes are hard to act on. Ask: Merge these two themes or Split "delivery" into late delivery and wrong address.
  • Trends look strange. If your dates are in mixed formats (03/04 could be March or April), the 30-day counts will be wrong. Fix the dates in step 1, or ask Claude to check how it read them.
  • Too few recent reviews. Going from 1 to 3 mentions “triples” a theme but means very little. In our test, Claude said a theme that rose from 1 to 6 was too small to call a trend. Look at the counts, not just the arrows.
  • A quote doesn’t match. The prompt’s last step (“Check your work”) should catch this. If you find one anyway, tell Claude, and don’t use that quote anywhere.
  • Reviews in several languages. Claude can read them, but say so in the prompt and ask for the quotes in the original language with an English translation next to them.
  • One very long file. If your export has many thousands of reviews, start with the last three or six months. Recent reviews are the ones that tell you what to fix now.

Do it again next month

Keep themes.csv and count_themes.py in the folder. Next month, replace reviews.csv with the new export and paste:

reviews.csv has new reviews. Use the themes in themes.csv (add a new theme only if at least 5 reviews need it, and tell me). Tag every review, rerun count_themes.py, and update report.md with the same sections and the same checks as last time.

Using the same themes each month means you can compare the numbers from one month to the next. To skip the typing altogether, turn this into a skill: see turn a prompt you keep repeating into a skill.

Make it yours

  • Spreadsheet instead of Markdown: ask for report.xlsx with one sheet for the Fix next table and one for the tagged reviews. Claude uses its Excel skill to build it.
  • Per product: add Also break the Fix next table down by product, but only for products with at least 30 reviews.
  • Support tickets or survey answers: the same prompt works on any pile of short texts. Change the first line and the column names.
  • Charts: take theme_counts.csv and turn it into a dashboard.

Next steps

Sources

Facts checked against these sources on . Page updated . How we check facts

  1. support.claude.com/en/articles/8241126-uploading-files-to-claude (opens in a new tab)
  2. support.claude.com/en/articles/12111783-create-and-edit-files-with-claude (opens in a new tab)
  3. code.claude.com/docs/en/quickstart (opens in a new tab)

Related guides

All guides