> Source: https://builder-docs.ema.ai/agent-reference/core/sentiment-analyzer
> Title: Sentiment Analyzer Agent

# Sentiment Analyzer Agent

> [WARNING]
> **Notice:** This agent is not currently registered as a standalone action in the platform. The functionality described may be available through the Custom Agent with appropriate prompt configuration.

The Sentiment Analyzer agent performs detailed sentiment classification with nuance and sub-category detection. Unlike the simpler Feedback Sentiment Analyzer, it provides granular sentiment labels and can detect multiple sentiment dimensions in a single input.

## Use Cases

-   You need fine-grained sentiment analysis beyond positive/negative.
-   Your workflow branches based on specific emotional tones in customer communications.
-   You want to track customer sentiment trends across interactions.

## Inputs

Input

Type

Description

`text`

Text

The text to analyze for sentiment.

`context`

Text

(Optional) Additional context for more accurate analysis.

## Outputs

Output

Type

Description

`sentiment`

Text

The primary sentiment label (positive, negative, neutral, mixed).

`sub_sentiments`

JSON

Detailed sub-categories with confidence scores.

## Configurations

Parameter

Description

Default

`categories`

Custom sentiment categories to classify into.

Default set (positive, negative, neutral, mixed)

`instructions`

Additional analysis guidance.

None

## How to Use This Agent

```
ticket_trigger -> convert_to_text -> sentiment_analyzer
 -> [frustrated/urgent] -> human_collaboration("Priority escalation") -> workflow_output
 -> [positive/neutral] -> knowledge_search -> respond -> workflow_output
```

## Related Agents

-   [Feedback Sentiment Analyzer](/legacy-docs/agent-reference/core/feedback-sentiment-analyzer) -- simpler positive/negative/none classification.
-   [Categorize Conversations and Route](/legacy-docs/agent-reference/core/categorize-conversations-and-route) -- for intent-based routing rather than sentiment-based.
