Guide for researchers
How to do qualitative data analysis with AI
Paste a pile of transcripts into an AI chat and ask for themes, and you get a summary for each topic, quotes you cannot find in the data and no record of how you got there. This guide takes an interview study from transcripts to themes the way a careful analyst would: one codebook, coding in groups, themes tested against the cases that do not fit, and a trail a reviewer can follow. The steps use Slashspace, an AI canvas. The method works in any setup where you control what each AI chat reads.
Praneeth Pike, founder of Slashspace (formerly RabbitHoles AI).
The short version
You stay the analyst. The AI sorts, retrieves and argues back:
- Check that your ethics approval and consent cover sending transcripts to an AI model, and choose the model to match.
- Read every transcript yourself and write a short memo on each before any AI codes it.
- Write the codebook as one shared note, with a definition and inclusion rules for every code.
- Code one participant group at a time against the shared codebook note, and check the quotes against the transcripts.
- Revise the codebook where codes overlap or passages fit nowhere, then recode every group.
- Build themes from the coding of every group, each one a claim about the data, not a topic.
- Look for the participants who contradict each theme, and keep a log of every analytic decision.
What you need before you start
- Transcripts. Pseudonymised, one file per participant, named by participant ID. Field notes and observation notes count too.
- Your ethics approval and consent form. You will check both before any transcript goes to a model.
- Your research questions and, for a deductive or hybrid design, the framework your starting codes come from.
- A qualitative analysis package, if your design needs one. Line-by-line coding of every segment and inter-coder reliability belong in a package such as NVivo, ATLAS.ti or MAXQDA.
- Slashspace with a model connected. A Claude or ChatGPT plan, your own API key or a local model all work. The quickstart covers setup.
Step 1. Check what your ethics approval allows
Participants agreed to a specific use of their words. Sending a transcript to a model run by a company is a new place their data goes, and many approvals written before AI tools say nothing about it. Settle this first, because it decides which model you can use for every later step.
- Read the approval and the consent form. Look for what they say about third-party processing, storage outside your institution and identifiable data. If they are silent, ask your ethics committee before you go on.
- Pseudonymise first. Replace names, places and employers in the transcripts before they go anywhere near a model.
- Choose the model to match. A chat on a local model through Ollama sends its conversation and connected transcripts to Ollama on your computer, not to a cloud provider. New chats start in Agent mode, which needs a model that supports tool calling, so with any other local model switch the chat to Chat mode. Some text still leaves the machine. The first message of each new chat goes to a cloud model that writes the chat's title, by default an OpenAI model through Slashspace's servers. The Title Generation Model setting only swaps in another cloud model, so keep participant details out of the first message of every chat. Error reports can include a canvas name or a file path and cannot be turned off, so name canvases and files by participant ID, never by a participant's name. Sign-in checks and usage analytics also use the network, and analytics never include prompt or reply text. The privacy page lists what goes where.
- Ask: Drop the consent form onto the canvas, connect it to a chat and ask: "From this form only: what did participants agree to about how their data is processed, stored and shared? Quote the form for each point and list anything it does not mention."
- Done when you can say in one sentence which model may read the transcripts, and your ethics committee would agree.
Step 2. Read the data before any AI does
Familiarisation is where your interpretation starts. If the first reading is a model's summary, every later step inherits its framing and you lose the detail that makes qualitative work worth doing. Read each transcript in full yourself, then use the AI only to show you what you skipped.
- Bring the corpus in. Drop the transcripts onto the canvas. Word, PDF and text files each become a Document node. Rename each one to its participant ID.
- Group by the comparison you care about. Select the transcripts for one participant type or site and click Group selection. Name the group. Make one group per type or site.
- Write a memo per participant. After reading a transcript, paste a few lines onto the canvas as a note: what stood out, what surprised you, what you want to follow up.
- Ask: Connect one transcript and its memo to a chat and ask: "Compare this transcript with my memo. What does the participant say at length that my memo does not mention? Quote each passage." Then reread those passages and decide for yourself whether they matter.
- Done when you have read every transcript and each one has a memo in your words.
Step 3. Write the codebook as one shared note
This guide follows codebook thematic analysis: a codebook with fixed definitions, applied the same way to every group, with the option of a second coder. Reflexive thematic analysis works differently. It treats coding as your own evolving interpretation, with no fixed codebook and no agreement checks, so if that is your approach, keep steps 2, 6 and 7 and replace the codebook rounds with your own coding. Coding against a codebook is only consistent if every round applies the same definitions. A codebook typed into a chat message scrolls out of view, and later messages change it without anyone deciding to. Keep it in one note that every coding chat reads, so there is only ever one version.
- Draft candidate codes from a few transcripts. Pick two or three transcripts that differ from each other and connect them to a chat. For a deductive design, connect a note with your framework too.
- Ask: "Suggest candidate codes from these transcripts. For each code, give a name, a one-sentence definition, when to apply it, when not to apply it and one quote with the participant ID."
- Decide and write it yourself. Keep, merge, rename or drop each suggestion against your research questions. Then paste the result onto the canvas as a note titled Codebook. Each entry has the name, definition, inclusion rule, exclusion rule and an example quote.
- Start the decision log. Paste a second note titled Decision log. Record the date, the change and the reason for every codebook decision from now on.
- Done when every code has a definition and rules clear enough that a second coder could apply it without asking you.
Step 4. Code one group at a time
Code each participant group in its own chat. The analysis for nurses then never blends with the analysis for managers until you choose to compare them, and each chat has fewer transcripts to hold.
- Connect each group and the codebook to a coding chat. Drag from a group's handle to an empty spot on the canvas to get a new, connected chat. Then connect the Codebook note to the same chat.
- Ask: "Code these transcripts against the codebook only. For each code, list every passage that fits, quoted word for word, with the participant ID. Then list the passages that fit no code and say why. Do not invent new codes."
- Check the quotes. Open the transcripts and find a sample of the quotes for every code. Models paraphrase, join two passages into one and attribute words to the wrong participant. If a quote is not there word for word, say so in the chat and ask again.
- Check what was missed. Pick one transcript you know well and look for a passage that fits a code but is not listed.
- If your design needs line-by-line coding, do that coding in your qualitative analysis package, then export the coded segments for each code as a document and drop it on the canvas beside the full transcripts.
- Done when every group has a coding chat whose quotes you have spot-checked against the transcripts.
Step 5. Revise the codebook and recode
The first pass always shows codes that overlap, codes that are too broad and passages that fit nowhere. Revising the codebook is part of the analysis. What matters is that every group is then coded against the same revised version.
- Find the weak codes. Ask each coding chat: "Which codes did you apply to the same passages most often? Which passages were hardest to place, and which codes were they closest to?"
- Edit the codebook note. Split, merge or sharpen the codes, and write each change and its reason in the decision log.
- Ask: Each coding chat reads the new codebook on its next message. Ask each one: "Recode these transcripts against the current codebook. List what changed from your last answer and why."
- Bring in a second coder if your design calls for one. Have them code a sample of transcripts against the codebook on their own, and measure agreement in your qualitative analysis package before you settle the codebook.
- Done when a round of recoding leaves the codebook unchanged and the uncoded passages are ones you have decided to leave out.
Step 6. Build themes across groups
Here a theme is a claim about the data that answers your research question and draws on several codes. A list of codes with a heading on top is not one. Build the themes from the coding of every group together, so you can see where a pattern holds and where it does not.
- Bring the coding together. Select the coding chats and group them. Connect that group and the Codebook note to a new theme chat. The theme chat gets each group's codes and quotes, while the transcripts feeding the coding chats stay out of its context, so it compares groups on the coded evidence alone.
- Ask: "Propose candidate themes across all groups. For each, state its central idea in one sentence, list the codes it draws on, say which groups it appears in and which it does not, and give three quotes from different participants."
- Rewrite the topic summaries. A candidate named after a topic, such as "Experiences of training", is still a code. Ask what participants are saying about it, and turn that into the theme.
- Write a memo per theme. Paste each theme onto the canvas as a note: its central idea, the codes behind it, the groups it covers and the quotes you checked.
- Done when each theme has a memo, a central idea you can defend and quotes from more than one participant.
Step 7. Hunt for negative cases and close the audit trail
Every chat so far has looked for evidence that fits. A theme is credible when you have also looked for the participants who do not fit it, and when a reader can follow how you reached it.
- Search the whole corpus. Open a chat in Agent mode and leave it unconnected. It gets a summary of every node on the canvas and can open any transcript in full. A local model needs to support tool calling for this.
- Ask: "Read the theme memo titled [name]. Which participants say something that contradicts or complicates it? Open their transcripts and quote them with the participant ID."
- Check each case yourself. Read the passage in context. Then refine the theme, narrow its scope or report the variation in your findings. Write the decision in the log.
- Keep the trail. The canvas keeps each coding chat beside the transcripts it read. Download the canvas as Markdown to keep the text of every chat. Notes export as titles only, so copy the codebook, the memos and the decision log out by hand.
- Done when every theme has been tested against the cases that do not fit, and your methods section can say which model you used, for which tasks and how you checked its output.
Mistakes that weaken AI-assisted qualitative analysis
- Letting the model read the data first. Its summary becomes your frame, and the themes reflect what a model expects interviews like yours to say.
- Asking for themes straight from transcripts. You skip coding and get topic summaries with no way to show how each one was built.
- A codebook that lives in chat messages. Each chat codes against whichever wording it last saw, and the groups stop being comparable.
- Quoting without checking. A paraphrased or misattributed quote in a findings chapter is a misrepresentation of a participant.
- Reporting counts the model gave you. If you say how many participants raised something, count it yourself in the transcripts.
- Deciding without writing it down. Without the decision log, nobody can follow the path from transcript to theme, and you will not remember it at the viva or the review.
What you have at the end
- A memo on every participant, written by you.
- A codebook with definitions, inclusion and exclusion rules and example quotes.
- Coding for each participant group, with quotes checked against the transcripts.
- A memo per theme, with its central idea, the groups it covers and the negative cases it survived.
- A decision log that explains every change to the codebook and the themes.
If you follow along in Slashspace
- Documents are read on your computer. PDFs, Word, PowerPoint, Excel and CSV files are converted to text locally. That text goes to a model when a chat reads the document, through a connection or by opening it from the canvas. A PDF that is still being read is sent as the file itself. Details: privacy
- Every connected source is sent in full with every message. Nothing is summarized or trimmed. Connect big sources only to the chats that need them, and work through a large pile one group at a time.
- Local models have a context length. Ollama cuts off anything beyond it, which you can raise in Ollama's settings. Keep groups small enough for the model you run.
- Keep the transcripts on their own canvas. Claude Code and Codex chats can read any node on the canvas, and Orchestrator mode and AI Search send canvas content to Slashspace's servers. Keep the study on a canvas in the Device list where every chat runs on the model you cleared in step 1, and leave AI Search and Orchestrator mode off it.
- Every new chat is titled by a cloud model. Its first message goes to a hosted model that writes the title, whichever Title Generation Model you pick, even when the chat itself runs on Ollama. Open each chat with the instruction, not participant material. Error reports can include canvas names and file paths, so keep participant names out of those too.
- It is not a qualitative analysis package. There is no line-by-line code tagging, no inter-coder reliability statistics and no team coding.
- Desktop app for macOS, Windows and Linux.
Frequently asked questions
Can AI do thematic analysis for me?
It can suggest codes, retrieve passages and propose candidate themes, and all of it will sound plausible. Thematic analysis is still your interpretation of the data. Read the transcripts yourself, decide the codebook and the themes, and check every quote against the transcript before it goes in your findings.
Can I do this in ChatGPT or Claude without a canvas?
Yes. Keep the codebook in a document, open a chat per participant group, and paste the current codebook at the top of each before coding. Then paste each group's coding into a fresh chat to build the themes. The cost comes with each codebook revision. Each new version has to go into every coding chat by hand, and a chat you miss keeps coding to the old definitions.
Is it ethical to put interview transcripts into AI?
Only if your ethics approval and your participants' consent cover it. Read both, pseudonymise the transcripts, and ask your ethics committee when they are silent on AI. A local model through Ollama keeps the conversation and the transcripts it reads on your computer. The first message of each new chat still goes to a cloud model to write the chat's title, and error reports can include canvas names and file paths, so keep participant details out of both. Sign-in checks and usage analytics also use the network.
Do I still need NVivo, ATLAS.ti or MAXQDA?
If your design calls for line-by-line coding of every segment, a code hierarchy, team coding or inter-coder reliability, yes. Many researchers do that coding in a package and use AI chats for the work around it: drafting and testing the codebook, comparing groups, building themes and finding negative cases.
Is my work private?
Each canvas is a folder on your computer, and documents are read there. A chat sends what it reads to the model you pick, through Slashspace's servers when you use a hosted model. Web pages and video transcripts are fetched by Slashspace's servers. The privacy page lists what goes where.