Start your 3-day free trial
Sign up to experience all premium features at no cost.
*Available only to new users. Each user is limited to one trial.


To turn survey responses into themes with AI, freeze the research question and response set, assign stable response IDs, build a human-reviewed codebook from a sample, and use AI only to propose consistent coding. Every theme should retain supporting and contradicting response IDs, a clear denominator, uncertainty, and a human decision.
Key Takeaways
- Analyze a defined response population, not a changing export.
- Remove unnecessary identifiers while preserving stable response IDs.
- Pilot the codebook before coding the full set.
- Report prevalence, evidence, counterexamples, and uncertainty separately.
The general AI workflow provides the same task, evidence, review, and approval boundaries. This method is narrower than turning notes into a report: it focuses on transparent coding rather than polished narrative.
Write down the research question, survey question, inclusion dates, eligible respondents, language scope, excluded records, and total in-scope response count. Keep blank, “not applicable,” and unusable responses in the population accounting even if they are not coded as themes.
GOV.UK’s research-analysis guidance separates raw observations from interpretations and recommends grouping observations to find patterns before writing findings and actions.[1] Apply the same separation to survey comments: a response is evidence; a code describes a relevant idea; a theme explains a pattern across codes.
Create a corpus manifest:
| Field | Example | Why it matters |
|---|---|---|
| frozen export | survey-open-text-2026-08-29.csv | fixes the analyzed population |
| research question | barriers to completing onboarding | limits interpretation |
| in-scope responses | 842 | provides the denominator |
| blank responses | 119 | prevents inflated prevalence |
| languages | English and Russian | defines translation/reviewer needs |
| response ID | R-0001 | preserves traceability without using a name |
Do not ask AI whether the sample represents a market or population. Representativeness depends on recruitment, response patterns, weighting, and study design, not on the fluency of a thematic summary.
Collect and share only the minimum data needed for analysis. GOV.UK advises managing research data to protect participant privacy, minimizing recruitment data, storing it securely, and restricting access to people who need it.[3]
Before AI processing:
Do not infer age, ethnicity, health, disability, income, sentiment, or other personal attributes from writing style. If an approved demographic field is needed for analysis, use the recorded field and report small groups conservatively.
Select a varied pilot sample before coding the full corpus. Include long and short responses, positive and negative comments, common and unusual answers, blanks, mixed-language entries, and responses that appear relevant to more than one idea.
The GDS agile-analysis method recommends one observation per note, participant codes that preserve who said what, exact observations rather than early interpretation, and collaborative affinity sorting.[2] For surveys, a single response may contain several codable units, but every code must still point back to the response ID.
Use this codebook template:
| Code | Definition | Include when | Exclude when | Positive example | Counterexample | Reviewer note |
|---|---|---|---|---|---|---|
| unclear next step | respondent cannot identify the next action | mentions uncertainty after submission | only dislikes wording | R-0042 | R-0191 asks for a faster process | distinguish clarity from speed |
Begin with open coding by two people or one analyst in two passes. Compare disagreements, merge true synonyms, split overloaded codes, and record why the definition changed. A codebook is a versioned decision record, not a vocabulary generated once by a model.
Give AI the research question, approved redacted sample, current codebook, and strict output schema. Ask for candidate assignments and reasons, not final themes.
For example:
For each response ID, identify up to three candidate codes from the supplied codebook. Quote the shortest supporting phrase, explain the match in one sentence, and mark
new_code_candidatewhen no existing definition fits. Do not infer demographics, intent, causation, or representativeness. Keep ambiguity and mixed responses visible.
Review the pilot output manually. Measure agreement by code, not only overall. A model that performs well on a frequent, obvious code may still collapse minority views or misread sarcasm, domain language, translated text, and responses containing several positions.
NIST identifies confident false content as a generative-AI risk and recommends source and citation verification.[4] Here, the response ID and supporting excerpt are the source reference. Reject any assignment that cannot point to text in the frozen response.
A theme should answer the research question and explain a meaningful pattern; it should not simply rename a frequent word. Group related codes, review the underlying responses, and write a candidate theme statement that says what is happening, for whom in the observed sample, and under what context.
For every candidate theme, collect:
Use an evidence matrix:
| Theme | Supporting IDs | Counterexample IDs | Coded responses | Denominator | Interpretation | Confidence |
|---|---|---|---|---|---|---|
| progress feedback is unclear | R-0042, R-0108, R-0317 | R-0191 | 96 | 842 in-scope | recurring confusion after submission | medium |
Do not erase isolated or minority responses simply because they do not form a large cluster. A rare report can reveal an accessibility barrier, safety issue, or important edge case. Label it as a minority signal rather than presenting it as common.
State both the numerator and denominator and define what was counted. A response may receive several codes, so theme percentages may legitimately sum to more than 100%. Distinguish these denominators:
Write “96 of 842 in-scope responses were coded to this theme” rather than “11% of users have this problem.” The first describes the observed corpus. The second incorrectly generalizes from responses to users and may imply representativeness that the survey design has not established.
If AI translates responses before coding, retain the original text, translation, language, translator or tool, and review status. Translation uncertainty should not disappear inside a theme count.
Create a disagreement log for responses where reviewers or AI assignments differ:
| Response ID | Proposed codes | Disagreement | Evidence | Decision | Decider |
|---|---|---|---|---|---|
| R-0274 | speed; unclear next step | complaint mixes latency and guidance | two distinct clauses | apply both codes | lead researcher |
Sample accepted and rejected assignments from every major code. Review all new-code candidates, low-confidence items, sensitive topics, translated responses, and themes used for high-impact decisions. Invite people who observed or own the research context; collaborative analysis can reduce the influence of one person’s interpretation.[1][2]
Keep research findings separate from actions. “Respondents could not tell whether submission succeeded” is a finding. “Add a green confirmation banner” is one design hypothesis to test, not the finding itself.
Include the research question, frozen corpus manifest, privacy treatment, codebook version, coding method, reviewer roles, theme evidence matrix, denominator definitions, disagreements, counterexamples, minority signals, limitations, and open questions. Link every claim to response IDs stored in the approved research system.
Use spreadsheet analysis only for deterministic counts and distributions after the coding table is accepted. The fact-checking workflow can help audit the narrative against the evidence matrix, and the AI privacy guide provides additional minimization questions.
It can propose codes and clusters, but a qualified human should define the research question, review the codebook, resolve ambiguity, inspect counterexamples, and approve the final themes.
There is no universal number. The appropriate sample depends on the research question, recruitment, population, response quality, diversity, and intended decision. AI cannot establish representativeness.
No. A response may support several codes, none, or an uncertainty marker. Forcing one label can erase mixed or contradictory views.
A code labels a relevant idea in a response. A theme explains a meaningful pattern across related codes in relation to the research question.
Yes, if you state the numerator, denominator, counting rule, and whether responses can belong to multiple themes. Do not imply population prevalence without suitable study design.
No. Keep relevant minority and negative cases visible. Report them as limited signals when the evidence does not support a broader claim.
Only if the service, consent, data classification, retention, and access boundary are approved. Minimize fields and remove unnecessary identifiers first.
Disclaimer: Follow your organization’s research ethics, consent, privacy, retention, and legal requirements. AI-assisted coding does not establish representativeness or replace researcher judgment.
Sources:
Sources checked 30 August 2026.
Related Articles:
Sign up to experience all premium features at no cost.
*Available only to new users. Each user is limited to one trial.