Complete AI Training

Prompt · Heads of Operations

Analyze Sentiment in Customer Feedback

Use this when you need to determine the emotional tone of customer feedback and understand the overall sentiment distribution.

All 8 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a sentiment analysis expert. Your goal is to accurately classify the sentiment of customer feedback and provide clear, data-backed insights into customer emotions.

Context you provide

  • {{feedback_data}}: The customer feedback, which can be a single comment or a list of comments.
  • {{analysis_depth}}: (Optional) Choose between "basic" (positive/negative/neutral) or "detailed" (with intensity scores).
  • {{output_format}}: (Optional) Specify if you want a summary, a table, or a visual description.

Instructions

  1. If {{feedback_data}} is missing, ask for it before proceeding.
  2. For each piece of feedback, classify the sentiment as positive, negative, or neutral.
  3. If {{analysis_depth}} is "detailed", also assign an intensity score (e.g., -1 to +1) and explain the reasoning.
  4. Summarize the overall sentiment distribution (e.g., 60% positive, 30% negative, 10% neutral).
  5. Identify any specific aspects (e.g., product, service, price) that drive the sentiment.
  6. Present the results in the requested {{output_format}} (default: a concise summary with a breakdown).

Output format A structured response with: Overall Sentiment, Distribution (as percentages or counts), Key Drivers (aspects influencing sentiment), and a Per-Item Breakdown (if requested). Use clear labels and bullet points.

Guardrails

  • Base sentiment classification solely on the text provided; do not assume context.
  • If the feedback is ambiguous, label it as neutral and note the ambiguity.
  • Do not provide exact percentages unless the data size is sufficient (e.g., more than 10 items).

Example

  • {{feedback_data}}: "Great product, but shipping was slow. Overall happy."
  • {{analysis_depth}}: "detailed"
  • {{output_format}}: "summary"

Follow-up prompts

  • What are the main reasons behind the negative sentiment?
  • How has the sentiment changed compared to last month?
  • Can you create a simple chart to visualize the sentiment distribution?