Analyzing Open-Ended Survey Responses With AI

AI can sort hundreds of open-ended survey comments into themes in minutes, a job that takes hours by hand. The catch is that the first grouping is a draft. You need to read a sample of the raw comments, count themes in a spreadsheet instead of trusting the model’s tallies, and remove anything that could identify a respondent.
This workflow suits customer feedback forms, employee surveys, event evaluations and course reviews.
Prepare the data first
Export your responses to a spreadsheet with one comment per row and a simple ID in the first column. Remove names, email addresses, phone numbers and any other detail that points to a person. Free-text answers often include these without warning, such as “ask Maria in accounting,” so scan the column before you paste anything into a tool.
Check your obligations too. Surveys collected under a privacy notice may limit how responses can be processed, and some organizations forbid sending respondent data to outside services. If you are not sure, ask whoever manages data protection, or use an approved tool.
Clean obvious junk, such as blank rows and test entries. Keep the original file untouched and work on a copy.
Read a sample yourself
Before asking the assistant for anything, read thirty to fifty comments. Choose them at random, not just the first rows, because early responses can differ from later ones. As you read, jot down the topics you notice and a few phrases that capture them.
This step matters for two reasons. It gives you a feel for the data, so you can judge whether the AI’s themes make sense. And it often reveals things a model would smooth over, such as sarcasm, a recurring joke or a topic that appears in unusual wording.
Ask for themes with evidence
With your own notes in hand, give the assistant a batch of comments, perhaps fifty to a hundred at a time, and ask for a structured answer. For example:
“These are responses to the question ‘What would improve the course?’ Group them into themes. For each theme, give a short name, a one-sentence description, the IDs of the comments that belong to it, and two direct quotes. A comment may belong to more than one theme. Put comments that fit nowhere under ‘Other.’”
The IDs make checking possible. The quotes show whether the theme is real. The “Other” bucket stops the model from forcing everything into a category.
Compare the result to your own notes. If the tool found themes you missed, read those comments. If it missed ones you saw, say so and rerun with those themes named.
Build a fixed set of categories
Themes from separate batches will not line up neatly. After one or two rounds, settle on a final list of categories, each with a clear definition. Then ask the assistant to label every comment using only that list, one label column per comment, and to mark any comment it is unsure about.
Consistent labels let you count. Fixed definitions also make the work repeatable the next time you run the same survey, which lets you compare results across months or years.
Count in a spreadsheet, not in chat
Language models are unreliable at counting. Ask them for percentages and you may get numbers that do not add up. Put the labels into your spreadsheet and use a pivot table or a count formula. Then ask the assistant to help describe the results in plain language, using your figures.
Report with care. A theme mentioned by twelve of two hundred people is a minority view, however vivid the quotes. Say how many responded, how many answered the question, and that comments are not a representative sample unless your survey design makes them so.
Spot-check the labels
Pull twenty labeled comments at random and read them against their categories. If more than one or two look wrong, refine the definitions and relabel. Pay special attention to comments with mixed sentiment, such as “great teacher, terrible schedule,” which a model may label under only one heading.
Sentiment scores deserve extra suspicion. Models may misread irony, slang and cultural context. If you use them, check a sample, and present them as rough indications.
Consider the question design as well, since it shapes what you can learn. Open-ended questions work best when they are specific. “What was the most frustrating part of checking out?” produces focused answers that cluster neatly, while “Any other comments?” produces a grab bag. If you plan to analyze comments with AI regularly, rewrite your questions so each asks about one thing, and limit the number of open questions so that respondents do not tire and write less.
When you present results, show the themes in order of how many people raised them, give a short definition and one or two representative quotes, and say what you would do about each. Quotes bring the numbers to life, but pick ones that do not reveal who wrote them. If a comment is distinctive enough that colleagues might recognize the author, paraphrase it lightly or leave it out.
What to do next
Take your next set of survey comments and read fifty yourself. Then run the theme prompt on a batch, compare it to your notes, fix the category list and label everything. Count the labels in a spreadsheet and spot-check twenty rows before you write up the findings. Save the category definitions, because the next survey will go much faster with them in hand.
Keep a copy of your prompts and category definitions with the results. If someone asks months later how a theme was defined, or why a comment was placed under a certain heading, you can answer without redoing the work.