Sub topic 5
Synthesizing Reviews, Comments and Survey Answers into Themes
This chapter assumes you have a research question tied to a decision, a set of collected feedback with an ID on each item, and some practice writing structured prompts. If you don't, work through those chapters first.
The working model
A theme is an idea that recurs across several separate pieces of feedback. An AI assistant is good at proposing candidate themes quickly. It is poor at counting and at quoting exactly. So split the work. The AI proposes, and you check the themes against the text, code each item, and count.
Step 1: Prepare the data
- Give every item a stable ID such as R1, R2.
- Remove exact duplicates and obvious spam.
- Strip names, emails and other personal details before pasting.
- Work in batches the assistant can read in full. If you split the data, run the same prompt on each batch and merge the themes yourself.
Step 2: Prompt for themes with evidence
The prompt below states the decision, supplies the material, fixes the format, and demands review IDs.
You are helping with market research.
Goal: decide which two customer pain points our onboarding email should address.
Material: the customer reviews pasted below, each with an ID such as R1, R2.
Task: group the reviews into at most five themes. For each theme give a one-sentence description, the IDs of the supporting reviews, and one short direct quote.
Rules: use only the pasted reviews. If a theme has fewer than three supporting reviews, label it "weak evidence". Do not infer demographics that the reviews do not state.
Reviews:
[paste reviews here]The ID requirement lets you trace each claim. The "weak evidence" rule stops one loud review from becoming a theme. The demographics rule blocks guesses the data cannot support.
Step 3: Check, then code
Search the original text for each quoted sentence. A quote that does not appear word for word is invented or altered, so discard it. Then read the reviews listed under each theme. Merge themes that overlap and split ones that mix two ideas. Finally, assign each review one primary theme. Do this by hand or ask the AI for a first pass, then review every assignment.
Step 4: Count it yourself
Counts written in prose by an AI are often wrong. Count your own coding with a few lines of code.
from collections import Counter
# Reviews you coded by theme, after checking the AI's suggested themes against the text.
reviews = [
{"id": "R1", "theme": "pricing"},
{"id": "R2", "theme": "setup difficulty"},
{"id": "R3", "theme": "pricing"},
{"id": "R4", "theme": "support"},
{"id": "R5", "theme": "pricing"},
]
counts = Counter(review["theme"] for review in reviews)
total = len(reviews)
for theme, n in counts.most_common():
print(f"{theme}: {n} of {total} reviews ({n / total:.0%})")This prints:
pricing: 3 of 5 reviews (60%)
setup difficulty: 1 of 5 reviews (20%)
support: 1 of 5 reviews (20%)Common errors
| Error | What it looks like | Fix |
|---|---|---|
| Invented quotes | A quote that appears nowhere in your data | Search the source text and drop any quote you cannot find |
| Vague themes | "Customer experience" covers everything | Name the specific complaint or need |
| Frequency by feel | "Most people mention pricing" | Code and count, then state n |
| Single-review themes | One strong opinion becomes a headline | Require several supporting IDs |
| Hidden gaps | Reviews come only from unhappy or very happy customers | Note who is missing before drawing conclusions |
Exercise
An AI returns a theme called "confusing onboarding", supported by R4, R9 and R12, with the quote "I had no idea where to start." Name three checks you make before putting this theme in a report.
Show answer
First, search your data for the exact quote and confirm it comes from one of R4, R9 or R12. Second, read all three reviews to confirm they describe the same problem and not three different ones. Third, check for other reviews that fit the theme but were missed, then count the coded reviews yourself and report the number alongside the total sample size.