> ## Documentation Index
> Fetch the complete documentation index at: https://docs.neoagent.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Analyze Customer Sentiment

> Detect negative sentiment and alert management with weekly summaries

## Overview

Analyze customer sentiment in tickets, alert management on negative cases, and send a weekly summary report.

## Workflow 1: Analyze and store sentiment

<Steps>
  <Step title="Create a triggered workflow">
    Run on ticket creation and when customers reply.
  </Step>

  <Step title="Analyze sentiment">
    Use the Analyze Customer Sentiment action. Save the result and reasoning so you can use it later.
  </Step>

  <Step title="Update ticket fields">
    Store the sentiment and reasoning on the ticket for reporting and follow-up.
  </Step>
</Steps>

## Workflow 2: Alert on negative sentiment

<Steps>
  <Step title="Create a triggered workflow">
    Run after Workflow 1 finishes.
  </Step>

  <Step title="Filter for negative cases">
    Only continue when sentiment is Negative.
  </Step>

  <Step title="Build alert message">
    Create a concise internal alert with ticket number, company, contact, and reasoning details.
  </Step>

  <Step title="Notify management">
    Send via Teams or Email.
  </Step>
</Steps>

## Workflow 3: Weekly summary

<Steps>
  <Step title="Create a scheduled workflow">
    Run every Monday at 9 AM.
  </Step>

  <Step title="Filter recent negatives">
    Find tickets with Negative sentiment closed in the last 7 days.
  </Step>

  <Step title="Create report">
    Generate a table grouped by resource with counts and ticket links.
  </Step>

  <Step title="Email the report">
    Send to management.
  </Step>
</Steps>
