Find Themes in Comments or Interview Notes, for Nonprofit and Public Sector Teams
Read a set of comments, survey answers or interview notes, label each one, group the labels into themes, then count each theme and back it with two real quotes.
This is the version for nonprofit and public sector teams. The steps and checks are the same as in the general template; each prompt carries one added line about your setting, and the examples are from your kind of work.
Illustrated Examples: the runs and scores on this page are written by hand, not recorded from a tool. How We Test
Step 1: Label Each Comment
Give every comment a short label that says what it is about.
Expected result: A table with every comment, its number and its label.
Select a part to see its prompt, input, output and check.
Runs on each piece
Add Your Material
Add your material below. Logic Lab prepares Step 1; you copy it into your own AI and check the answer there. The site does not run the workflow.
Example materialSampleChoose a sample
Ten short comments that fall into two clear themes (parking trouble and a helpful session) plus one comment about length.
Step 1 Chat Prompt
Review the exact prompt, then paste it into your own AI. For later steps, use the chat chain in Other Formats and Files.
You are a careful analyst who reads feedback one comment at a time.
The comments come from residents, clients, volunteers or staff of a nonprofit or a public agency, and the findings will go to a manager, a board or a council.
Your task is to give every comment below a short label of two to four words that says what it is mainly about.
What we want to learn: What did new volunteers think of the orientation?
The comments, one per line:
The parking lot was full and I was late.
The coordinator explained my role clearly.
Nowhere to park, I had to leave my car two blocks away.
I left knowing exactly what shifts to sign up for.
Parking was a nightmare.
The handbook answered most of my questions.
I could not find a space and nearly missed the start.
The tour of the pantry helped me picture the work.
The session could have been shorter.
Parking was hard to find on a Saturday morning.
Rules:
- Go through every comment, in order. Do not skip or merge comments.
- If a comment is about two things, give the label for the main one, then add a second label after a slash.
- Base each label only on what the comment says. Do not guess what the person meant.
- Do not group or count yet.
Return one markdown table with one row for every comment, and nothing else:
| # | Comment (quote) | Label |
Copy each comment word for word into the quote column. You may shorten a long comment with "..." but do not change any words.
Copy and open ChatGPTCopies this result and opens a blank chat. Paste and review it there.
Parking trouble repeats across the comments, while clear role explanations, the handbook and pantry tour show useful orientation. The shorter-session request is a smaller separate point; do not turn all ten into complaints.
A result guide for this invented input, not an AI reply.
Fit It to Your Reader
For a guided run, choose its output and use its material labels. Format and length here apply to Copy and downloads.
The template as written. Your choices change Copy and the downloads.
Who It Is For: Program officers, communications staff and analysts in nonprofits and public agencies who report what residents, clients, volunteers or staff said in open comments.
The Step 1 chat prompt under Add Your Material is the quick start. Choose a full prompt chain, checklist, Claude skill or n8n file when that destination fits your work. Checked Instructions, below, name the checks for each step: Checked by Code, Reviewed by AI, or Checked by You.
1Step 1: Label each commentGive every comment a short label that says what it is about.
Hands Back: A table with every comment, its number and its label.
Check:Every quote is really in the comments
A plain rule. If it fails, run the step again (the n8n file does this for you).
2Step 2: Group the labels into themesJoin labels that mean the same thing into a small number of themes.
Hands Back: A table of themes with the comment numbers in each, and a list of one-off comments.
Check:Every theme names its comments
A plain rule. If it fails, run the step again (the n8n file does this for you).
3Step 3: Count each theme and pick two quotesCount the comments in each theme and back each theme with two real quotes.
Hands Back: A table of themes with a count and two quotes each, and a total.
Check:Every first quote is really in the comments
A plain rule. If it fails, run the step again (the n8n file does this for you).
After the Last Step
Check:Every second quote is really in the comments
A plain rule. If it fails, run the step again (the n8n file does this for you).
Check:Every theme has a count and two quotes
A plain rule. If it fails, run the step again (the n8n file does this for you).
Check:The total matches the number of comments
A second look by the AI. If it fails, run the step again (the n8n file does this for you).
Check:The themes fit what people said
You check this one. If it fails, it is flagged for you.
What You Need First
The comments(needed)
Paste the comments with one comment on each line. Remove names and other personal details first.
What you want to learn(needed)
The question the comments were collected to answer, or what you need to decide.
Ways to Adapt It
To report themes by group (for example by team or by month), add the group to each comment line before you paste and add a Group column to the first table.
To change how many themes you get, change the numbers in the Group step's rules.
For a large set of comments, run the Label step on batches of 50, then paste all the labels into the Group step.
If the quotes are too long for your report, add a word limit to the Count step's rules, but keep the check that quotes are copied exactly.
Its added context stays in every prompt and the general template stays separate.
Notes for Nonprofit and Public Sector Teams
Case management system is the staff sample's own name for the tool; use it when naming the theme rather than adding a product name.
Residents, clients, participants and members are the people who commented; use the word the comments themselves use.
A theme says what people said, not what the agency should do; keep recommendations out of theme names.
The Scoring Guide
Sample
Each template check has a criterion marked met or not met; a person must still make the handed checks. (The guides in Quality rate a whole piece of work on three levels.) Under each one is how the three Illustrated Examples scored.
No line blames a person; each change fits its cause
The Same Job, with and Without the Template
Sample
This comparison uses the Typical sample. Try an input below for a result guide matched to each sample.
One plain prompt
What are residents saying about the proposed change to the bus route? (The same 20 comments are pasted below.)
Residents have mixed views on the proposed route change. Many are worried about losing stops that matter to them, especially the clinic and the senior center. Several would welcome longer service hours, including evenings and weekends. A few say they only heard about the plan late or could not find information about it, and some praise the drivers.
Overall, residents like the idea of more service but want the stops they depend on kept and clearer communication from the county.
Problem:It gives no counts and no quotes, calls the notice problems 'a few' though 5 of the 20 comments raise them, and merges evening and Saturday service, so two different views on hours blur into one.
With this template
Swipe sideways to see all columns
Theme
Count
Quote 1
Quote 2
Losing the clinic and senior center stops
5
The new route skips the clinic and that is the stop I use most.
The senior center stop is the only one with a bench and a shelter.
Late notice and hard-to-find information
5
I only found out about this plan from a neighbor, not from the county.
The meeting notice came two days before the meeting, too late.
Evening service
4
I support more evening buses, I work until 8.
Evening service would let me take the night class at the community college.
Saturday service
3
Buses on the Saturday schedule are so rare that I do not bother.
Saturday service is the real problem, not the route.
Friendly, on-time drivers
2
Drivers are friendly and patient with my wheelchair ramp.
Drivers are always on time on my route.
One-off comments: Why are you changing a route that works for people like us?
Total comments counted: 20
Check:Every quote is really in the comments: All 20 quotes are found in the list of comments.
Check:Every theme names its comments: Five themes list their comment numbers, and one comment stays a one-off.
Check:Every first quote is really in the comments: Five themes, each with a first supporting quote.
Check:Every second quote is really in the comments: All five themes also have a second supporting quote.
Check:Every theme has a count and two quotes: All five themes have a count and two quotes.
Check:The total matches the number of comments: 5 + 5 + 4 + 3 + 2 plus 1 one-off comment makes 20.
For your read:The themes fit what people said: Would a resident who wrote one of these comments find it under the right theme?
Runs and Scores
Sample
Illustrated Example
Claude, Sonnet model
October 4, 2026, typical sample
Check:Every quote is really in the comments
All 20 comments are labeled, and every quote is found in the list.
Check:Every theme names its comments
Five themes list their comment numbers, and one comment stays a one-off.
Check:Every first quote is really in the comments
Five themes, each with a first supporting quote.
Check:Every second quote is really in the comments
All five themes also have a second supporting quote.
Check:Every theme has a count and two quotes
All five themes have a count and two quotes.
Check:The total matches the number of comments
5 + 5 + 4 + 3 + 2 plus 1 one-off comment makes 20.
For your read:The themes fit what people said
Would a resident who wrote one of these comments find it under the right theme?
Fixed: Nothing needed fixing: every check passed on the first pass.
Met 6 of 6, plus 1 for your read
1 check is for your read: the tool hands it to you.
Illustrated Example
ChatGPT, GPT model
October 5, 2026, easy sample
Check:Every quote is really in the comments
All 10 comments are labeled, and every quote is found in the list.
Check:Every theme names its comments
Two themes list their comment numbers, parking and the helpful session, and one comment stays a one-off.
Check:Every first quote is really in the comments
Both themes have a first supporting quote.
First pass failed:Every second quote is really in the comments
The second quote for the helpful session read "The coordinator made my role clear", which is not in the comments word for word.
Check:Every theme has a count and two quotes
Both themes have a count and two quotes.
Check:The total matches the number of comments
5 + 4 plus 1 one-off comment makes 10.
For your read:The themes fit what people said
Do the two themes say what the quotes say, and is the comment about length worth its own line?
Fixed: The count step ran again with the rule to copy quotes word for word, and the quote now reads "The coordinator explained my role clearly." Nothing else changed.
Met 6 of 6, plus 1 for your read
1 check is for your read: the tool hands it to you.
Illustrated Example
n8n, import format 2.20
October 6, 2026, tricky sample
Check:Every quote is really in the comments
All 14 comments are labeled, and every quote is found in the list.
Check:Every theme names its comments
Five themes list their comment numbers, and one comment stays a one-off.
Check:Every first quote is really in the comments
Five themes, each with a first supporting quote.
Check:Every second quote is really in the comments
All five themes also have a second supporting quote.
Check:Every theme has a count and two quotes
All five themes have a count and two quotes.
First pass failed:The total matches the number of comments
The first count put comment 7 in three themes, so the counts and the one-off came to 16, not 14.
For your read:The themes fit what people said
Does the long comment about the history screen, the freezing and the training sit under the theme you would pick?
Fixed: The workflow sent the count step back once with the one-theme rule restated: comment 7 stays in its first theme, so the counts are 3, 3, 3, 2 and 2 plus 1 one-off, a total of 14.
Met 6 of 6, plus 1 for your read
1 check is for your read: the tool hands it to you.