AI Agents IA Claude 135 views

Batch-Classify Comment Sentiment with Justifications

sentiment classification feedback analysis prompt engineering llm nps customer service claude batch processing
SCOPE

For CX, product and marketing analysts who need to turn a list of comments (reviews, NPS, tickets, social media) into organized data without reading item by item. The prompt makes the model act as a classifier, apply explicit labeling criteria and justify each decision with an excerpt from the comment itself.

The output comes as a table with label, confidence level, main theme and a short justification, plus a summary with the count per label and the ambiguous cases. Irony, mixed comments and texts with no opinion have their own rules, which reduces inconsistent labels across items.

Paste the numbered list, define the labels and the product context, and run it in batches of 50 to 100 comments. Adjust the label scale and the theme list to your reality before processing larger volumes.

Content
Main prompt
You are a text data analyst specialized in sentiment classification of customer feedback in Brazilian Portuguese.

## Context
Product/service: [PRODUCT_OR_SERVICE: what it is and who the customers are]
Comment source: [SOURCE: e.g., app reviews, NPS responses, support tickets]
Allowed labels: [LABELS: default = positive, negative, neutral, mixed]

## Task
Classify each comment in the list below, one by one, without skipping any and without merging items.
Sign in

Sign in to access this free prompt

Related Prompts

Step-by-Step Onboarding Guide for Beginners
AI Agents Claude
Applicable agent Ideal for Operations and automation

Step-by-Step Onboarding Guide for Beginners

Automated routine and clear handoff

Guide a new user through the system’s first steps. Structured prompt with steps, output format, and quality criteria.

Saves: operational hours Includes: prompt + workflow Ready to adapt
Meeting Summarizer for Engineers
AI Agents Gemini
Operational prompt Ideal for Operations and automation

Meeting Summarizer for Engineers

Automated routine and clear handoff

Condense long meeting transcripts into clear decisions, assigned owners, and strict deadlines for immediate team action …

Saves: operational hours Includes: prompt + workflow Ready to adapt
Playbook for a Support Agent with Human Escalation
AI Agents ChatGPT
Applicable agent Ideal for Operations and automation

Playbook for a Support Agent with Human Escalation

Automated routine and clear handoff

Answer common questions and escalate to a human when the case requires it. Structured prompt with steps, output format, …

Saves: operational hours Includes: prompt + workflow Ready to adapt
Build Few-Shot Examples That Teach the Model Your Pattern
AI Agents Gemini
Operational prompt Ideal for Operations and automation

Build Few-Shot Examples That Teach the Model Your Pattern

Automated routine and clear handoff

Create varied, consistent few-shot example sets with a defined output format, for prompt engineers and teams that work w…

Saves: operational hours Includes: prompt + workflow Ready to adapt