Sub topic 5
Synthesizing reviews, comments and survey answers into themes
Theme synthesis turns a pile of free-text feedback into a short list of patterns you can act on. An AI assistant is fast at this, but it also invents counts, blends distinct complaints, and smooths over minority views. This chapter shows a workflow that uses the AI for grouping and you for checking and counting.
Prerequisites
This chapter assumes you can:
- Use a chat-based AI assistant and paste text into it.
- Read a simple spreadsheet or table.
- Use basic marketing or product terms such as target customer and pricing.
It also assumes you already have source material. Earlier chapters covered how to define the research question and gather reviews, comments and survey answers. Here we start from a collected set.
What a theme is
A theme is a recurring idea that appears across several pieces of feedback and that bears on your research question. It is more specific than a topic.
- A topic: "pricing".
- A theme: "Customers feel the price jumps too steeply when they add a second user."
A good theme has four parts: a short label, a one-sentence description, the IDs of the supporting items, and at least one direct quote. Without the IDs and the quote, you cannot check it.
The research question decides which themes matter. If your decision is "which two pain points should the onboarding email address," then a theme about shipping speed is probably out of scope, even if many reviews mention it. Keep the question visible in your prompt.
The workflow
The process has six steps. The AI helps in steps 2 to 3. You own steps 1, 4, 5 and 6.
- Prepare the data.
- Ask the AI to propose themes.
- Ask the AI to assign items to themes.
- Check the themes against the text.
- Count the items yourself.
- Report themes with sample size and caveats.
Step 1: Prepare the data
Good input saves most of the trouble later.
- Give every item a unique ID such as R1, R2, R3. The AI cannot cite what is not labeled.
- Keep one item per row. A long review is one item, not several.
- Remove personal details such as names, emails and phone numbers before pasting. The ethics chapter covers this in more detail, but do it now as a habit.
- Record the source and date next to each item, for example "App Store, 2026-09". You will need them later to spot bias.
- Note the total number of items. You will report it.
Keep the data in a spreadsheet with columns for ID, source, date and text. Paste only the ID and text columns into the prompt.
Step 2: Ask the AI to propose themes
Use the structure from the prompting chapter: goal, material, task, format and rules. This example fixes the decision, requires IDs, and sets a limit on how many themes to return.
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]Each part does a job:
- The goal keeps the AI focused on what the decision needs.
- "At most five" prevents a long list of near-duplicates.
- The IDs make every claim traceable.
- The quote lets you find the passage quickly.
- "Use only the pasted reviews" reduces, but does not remove, the chance of outside claims.
- The "weak evidence" rule makes thin themes visible.
Step 3: Assign items to themes
Once you have a theme list you are happy with, you can ask the AI to tag every item. This is a separate step because proposing themes and applying them are different tasks. Applying a fixed codebook is more consistent.
Here is the final theme list:
1. Pricing jumps too steeply for extra users
2. Setup takes too long
3. Support is slow to respond
4. Other (does not fit any theme)
For each review below, return one line in the form:
ID | theme number | a short quote that justifies the choice
If a review mentions more than one theme, list the main one first and add a second theme number after it. Do not invent new themes. Use theme 4 when nothing fits.
Reviews:
[paste reviews here]The "Other" category matters. Without it, the AI forces every item into a theme, which inflates counts and hides surprises. If "Other" holds a large share of the items, your themes are missing something.
Checking the themes
AI output on this task looks tidy and confident, which is why you check it. Test each theme with these questions.
- Does every cited ID exist in your data?
- Does the quote appear word for word in that review?
- Does the review actually support the theme, or only touch the same topic?
- Are two themes really one idea with different labels?
- Is one theme really two ideas joined together?
Sample rather than check everything. For each theme, open at least three of the cited reviews and read them. Also open three items from "Other" and three that the AI did not cite for any theme. If the sampled items are wrong, ask the AI to redo that theme with a stricter rule. If errors repeat, split the data into smaller batches.
Common failure modes:
| Failure | What it looks like | Fix |
|---|---|---|
| Fabricated quote | The quote is not in the review | Search the review text for the quote. Reject the theme entry if it is missing. |
| Wrong ID | The ID exists but covers a different topic | Re-run with "quote the exact words that support each ID". |
| Overmerging | One theme covers "price" and "billing errors" | Split it into two themes. |
| Oversplitting | "Slow setup" and "long onboarding" are listed separately | Merge them and say so in the codebook. |
| Majority bias | Rare but severe complaints disappear | Ask for a separate list of low-frequency, high-severity items. |
| Invented counts | The AI writes "about 40% mention pricing" | Ignore the figure and count yourself. |
Counting the items yourself
After you have checked the assignments, put them into a spreadsheet or a script. The AI's tags become your data, and you compute the figures. This script counts reviews per theme and prints each share with its sample size.
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%})")Running it prints:
pricing: 3 of 5 reviews (60%)
setup difficulty: 1 of 5 reviews (20%)
support: 1 of 5 reviews (20%)Always show "n of total" and not only the percentage. "60%" sounds strong. "3 of 5" tells the reader the sample is tiny. Two further points:
- If an item carries two themes, decide in advance whether you count it under both or only its main theme. State the rule in your report. Counting under both means the shares can add up to more than 100%.
- Counts tell you how often a theme appears in your sample, not how common it is among all customers. The bias chapter returns to this.
Handling different kinds of text
Different sources behave differently, so adjust the prompt.
- Reviews are often written at extremes of satisfaction. Ask the AI to note the star rating next to each theme, and compare themes in low-rated and high-rated reviews.
- Social comments are short, sarcastic and context dependent. Sarcasm such as "great, another outage" is easy for a model to mark as positive. Spot-check any item the AI labels as praise in a thread that is otherwise negative.
- Survey answers to open questions are tied to the question that prompted them. Synthesize one question at a time, and include the question text in the prompt.
- Mixed languages need a decision. You can ask the AI to translate and then code, but check translated quotes with a speaker of the language where you can, since nuance is lost.
Long datasets
A chat assistant can only read so much at once, and quality drops as input grows. When you have hundreds of items:
- Split the data into batches of a size the assistant handles well, for example 50 to 100 short items.
- Run step 2 on the first batch only and agree a theme list.
- Apply that fixed list to all batches in step 3.
- Merge the tags in one spreadsheet and count.
Using one fixed codebook across batches keeps labels consistent. If you let each batch invent its own themes, you will spend your time reconciling them.
Edge cases
- Very few items. With fewer than about ten items, avoid themes at all. Read them and report them as individual observations.
- One loud reviewer. Several reviews by the same person count as one voice. Check for duplicates before counting.
- Spam and fake reviews. Remove obvious duplicates and promotional text before the AI sees them.
- A theme with no quote. Treat it as unsupported until you find the passage.
- Contradictory themes. "Too simple" and "too complicated" can both be real, for different segments. Do not average them. Record both and look at who says each.
- Re-running gives different themes. Run the proposal step twice. Themes that appear both times are more stable. Treat the ones that change as suggestions only.
Writing the result
Present each theme in a fixed layout so readers can see how strong the evidence is.
| Theme | Description | Items | Share of sample | Example quote | Confidence |
|---|---|---|---|---|---|
| Pricing jumps for extra users | Customers expect a smooth price when adding seats | 3 of 5 | 60% | "Adding one more seat doubled my bill." (R3) | Low, sample of 5 |
Confidence reflects both the count and your checks. A theme backed by many items from several sources, which you verified by reading, deserves higher confidence than one the AI suggested from a small, single-source sample.
Exercise
An AI reply says "Roughly 45% of the 80 reviews complain about setup difficulty." You have not counted. List three actions you take before reporting this figure.
Show answer
First, ask the AI to list the IDs it assigned to the setup theme, then check that each ID exists. Second, read a sample of those reviews, plus a sample of unassigned ones, to confirm the assignments are right. Third, count the checked items yourself in a spreadsheet or script and report "n of 80" with the sample's source limits, instead of the AI's percentage. For 45% of 80, you should get 36 items. If your count differs, use your count.
Exercise
Your "Other" category contains 30% of all items after tagging. What does this suggest, and what do you do?
Show answer
It suggests your theme list is missing one or more real patterns or is too narrow. Read a sample of the "Other" items, look for a repeated idea, add a theme for it (or split an overly broad existing one), and re-apply the updated list to all items. Then re-check and recount.