Have an AI assistant label interview or open survey answers with themes from a list you write. How to prepare the answers, a request to copy, and how to check the labels and protect participants' words.
Before you upload interview transcripts or open survey answers to an AI assistant, put one answer on each row with an ID that carries no meaning, and replace the names of people, workplaces and places with codes. Then ask the assistant to label each answer with themes from a list you wrote, and to quote the words that support each label. An open answer is an answer a person types in their own words, and a transcript is the written text of an interview.
Reading every answer and labeling it by hand takes days. An AI assistant can suggest themes and label the answers quickly, and you stay in charge of what the themes mean. Researchers call this labeling coding, and in qualitative research the word does not mean writing software.
What do you want to learn from the answers?
Write the question that the answers should help you answer. "What makes working from home hard for people in our team?" is a better starting point than "find themes". It tells you which parts of each answer matter.
Decide the unit you will label. For a survey, it is one answer. For an interview, it is usually a paragraph or a short exchange. Labeling whole transcripts at once tends to give vague themes that are hard to count.
How do you get the answers ready?
The general steps are in how to analyze a spreadsheet with an AI tool. For answers and transcripts, four things matter most.
- One unit per row. Split a transcript into paragraphs or speaker turns, one per row.
- An ID column. Give each row a short ID, such as P03, so that the assistant's table can be matched back to your sheet. Use an ID that carries no meaning, not initials.
- The question text in a column or a note. The assistant is more likely to label well when it knows what the person was asked.
- Only what the labeling needs. Keep the ID, the answer and, if the analysis needs it, one grouping column such as "team". Remove the rest.
Here is a small sample from an invented study of 25 people about working from home. The answers and the names in them are invented.
How do you build the list of themes?
A theme is a topic that appears in several answers, such as "isolation" or "flexibility". The list of themes, which researchers call a codebook, gives each theme a short definition and an example answer, so that anyone labeling the answers makes the same choices. Build it yourself, with the assistant's help. Do not leave it to the assistant alone, because the themes decide what your study can say.
- Read a sample yourself. Read 10 to 20 answers, or about a fifth of a small set, and note the topics that come up.
- Ask the assistant to suggest themes from a sample of answers, with a one-line definition of each. Compare its list with yours.
- Edit the list. Merge themes that overlap, drop those that appear once, and aim for five to ten. Add an "Other" theme for answers that fit none.
- Write a definition and one example for each theme. The definition should say what counts and what does not.
For the invented study, the list might be flexibility, isolation, focus, home space, work-life boundary, and other.
How do you ask the assistant to label the answers?
Give the assistant the question, the themes with their definitions, the rules for labeling, and the format of the result. Ask for the exact words that support each label. Those words let you check each decision quickly.
A few habits help. Send the answers in small batches, such as 25 at a time, so that each batch is easy to check. Ask for a fixed format, and check that every row came back with the number of labels you asked for.
How do you check the labels?
The assistant's labeling is a draft. Check it before you count anything.
- Label a sample yourself, without looking at its labels. Label 20 to 30 answers, or a fifth of a small set, then compare. Count how often you agree. Where you differ, decide who is right, and then fix the definition of the theme.
- Read the quotes. For each theme, read the supporting quotes. If a quote does not show the theme, the label is wrong, or the theme is defined too loosely.
- Run it twice. Ask the same question again on the same batch. If the labels change a lot, the definitions are probably too vague.
- Count the labels yourself. Use a filter or a pivot table on the assistant's table. Do not rely on a total the assistant states. How to analyze a spreadsheet with an AI tool explains how to check numbers.
- Keep a record. Write down the date, the service and model, the full request, and any change you made. A reader of your study may ask.
What the research says: a study published in Research and Politics in 2024 used language models to code answers to a British survey question about the most important issue. It used 50 categories. With no coded examples to learn from, the best model scored 93.9%, close to the human coder's 94.7%. On a second task, coding new answers where labeled examples already existed, the gap was larger: 80.9% for the best model against 88.6%.
The study used short answers and fixed categories, not long transcripts. Models also change over time, so it is worth repeating your own check when you move to a new version.
What do your participants' words reveal, and who else may see them?
The example above has no name column, and each answer still tells something. P03 names a colleague and an office. P11 mentions a child and his school. P17 describes a manager's habits. In a small study, any of these could point to one person for someone who knows the workplace.
What is in the file. Open answers and transcripts hold the things people say when they talk freely: names of colleagues, family members and friends, workplaces, towns, schools, dates, health, and stories that are unusual enough to identify the teller. Removing the name column does not remove them. Why removing names is not enough explains how ordinary details combine, and the same applies to details inside sentences. The people named by participants are third parties. They took no part in your study and never agreed to be in it.
What participants were promised. Participants agreed to take part on the terms of your consent form and your ethics approval. Those terms may name who can see the data and what it may be used for. Sending the words to an outside AI service may not be covered, even when the names are removed.
Universities say this in different ways:
- Deakin University's guide for researchers says that ethics approval and participant consent are required before researchers input any human data into an AI tool. It says this applies in any form, including de-identified and coded data, and it describes transcripts as confidential and capable of identifying people again.
- Australian Catholic University's guide asks researchers who use generative AI to include a plan for privacy in their ethics applications and consent forms. It also says the consent form should include any planned use of participant data with generative AI.
- The University of Oxford's policy says that personal or confidential data should be uploaded to a generative AI tool only when its confidentiality can be assured.
Your own institution's rules may differ from all three.
Where the words go. What an outside service does with what you upload depends on the product, the plan and the settings. For example, Anthropic's page (dated 1 July 2026) says chats on its personal plans may be kept for up to five years if model improvement is allowed. Google's page (last updated 26 October 2026) says some Gemini chats are reviewed by people and kept for up to three years. These terms change. The table in how to analyze a spreadsheet with an AI tool compares three services.
Who else may see them. Colleagues in a shared workspace, the administrators of a work account, and anyone to whom you pass a chat. Your supervisor, your research office and your funder may also have rules about where participants' data may go.
What you can decide. Ask your ethics committee, your supervisor or your research office first. No tool replaces permission, and if the answer is no, do not upload. If the answer is yes, you can de-identify the words before they leave your computer. You can use a tool that your institution has approved. You can also label a sample by hand and use the assistant only on answers that hold no personal detail.
What should you check before you upload?
By hand, this is slow. You read each answer, replace each name with a code, and keep a list of the codes. For 25 short answers it is manageable. For several hundred answers or long transcripts it is easy to miss a name. People refer to others by nickname, by role and by description, and a search finds only what you thought to search for.
If a colleague is about to upload interview transcripts to an AI tool, send them this page.
How can DataAttendant help?
DataAttendant helps you protect the personal details in interview transcripts and open survey answers before you upload them to an AI tool. It runs in your web browser, on your own computer, and opens a CSV, Excel, JSON or XML file. It looks for person names, email addresses, phone numbers, payment card numbers and other personal details, and proposes a treatment for each kind. You decide every treatment: you can leave a column out, hide part of a value, replace it with a stand-in that is the same every time, or encrypt it so that it can be undone. You see a preview and a list of what remains before you download the protected copy. When the labeled table comes back with stand-ins or encrypted values in it, you can put the original values back on your own computer.
Inside the sentences of a text column, it finds email addresses and some names. The file's values are processed in your browser and are not sent to DataAttendant. In an Excel file, comments and document properties are left out of the protected copy by default. How DataAttendant works shows the steps, and putting the original values back explains the last one.
Sources
- Mellon, J., Bailey, J., Scott, R., Breckwoldt, J., Miori, M. and Schmedeman, P. (2024). "Do AIs know what the most important issue is? Using language models to code open-text social survey responses at scale." Research and Politics, 11(1), 1–7. Abstract read 11 November 2026. Used for: the 50 categories and the accuracy of the best model and the human coder on the two tasks.
- Deakin University Library, "AI: responsible use in research", page on analyzing data (last updated 3 September 2026). Read 11 November 2026.
- Australian Catholic University Library, "AI research", page on analyzing data (last updated 27 February 2026). Read 11 November 2026.
- University of Oxford, "Policy for using Generative AI in Research: guidelines for researchers and professional staff", version 1.0, August 2025. Read 11 November 2026.
- Anthropic Privacy Center, "How long do you store my data?" (dated 1 July 2026); Google, "Gemini Apps Privacy Hub" (last updated 26 October 2026). Read 12 November 2026.
- The example study and its answers are invented.
- Which rules apply to a particular study is for the researcher's ethics committee, institution and adviser to decide, and is not covered here.
Where next?
- How to analyze a spreadsheet with ChatGPT or another AI tool
- What data should not go into an external AI tool
- How to remove personal details from a spreadsheet
- Why deleting names does not protect a spreadsheet
- What is de-identified data? Meaning, methods and examples
- Replacing real names with consistent stand-ins
- Putting the original values back after an AI answers
- All articles
- What DataAttendant does
- Terms of service
