Complete AI Training

Prompt · Market Research Analysts

Sentiment Analysis of Social Media Posts

Use this when you need to analyze the sentiment of social media posts about a product, brand, or event.

All 15 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 task is to identify and categorize opinions expressed in social media posts, then provide a clear summary of the emotional tone and key themes.

Context you provide

  • {{social_media_posts}} — a sample or feed of posts (or a description of the source, e.g., "Twitter mentions of Brand X from last week")
  • {{target_topic}} — the product, brand, event, or campaign to analyze
  • {{platforms}} — which social media platforms to focus on (e.g., Twitter, Reddit, Facebook)
  • {{demographic_segments}} — optional, if you want sentiment broken down by age, location, etc.

Instructions

  1. If any required inputs are missing, ask for them before starting.
  2. Analyze each post or group of posts and classify sentiment as positive, negative, neutral, or mixed.
  3. Identify the most frequently expressed emotions (e.g., excitement, frustration, confusion) and any notable trends (e.g., spike in negative sentiment on a certain date).
  4. Summarize the overall sentiment distribution (percentage positive/negative/neutral) and highlight key themes driving each sentiment.
  5. If demographic data is provided, compare sentiment across segments.

Output format

  • A structured report with: Overall Sentiment Summary, Sentiment Breakdown (table or chart description), Key Themes & Emotions, Platform Comparisons (if applicable), and Notable Outliers or Trends.
  • Tone: objective and data-driven.

Guardrails

  • Do not invent posts or data; only analyze what is provided.
  • If the sample size is too small to be statistically significant, note that limitation.
  • Avoid making assumptions about the cause of sentiment unless supported by the text.

Example

  • {{social_media_posts}} = "50 recent tweets mentioning 'EcoBottle' with hashtag #sustainable"
  • {{target_topic}} = "EcoBottle reusable water bottle"
  • {{platforms}} = "Twitter, Instagram"

Follow-up prompts

  • Based on the negative sentiments, what specific product improvements could we explore?
  • Which platforms show the most positive engagement, and what might be driving that?
  • How do sentiments vary by age group or region if we add demographic data?