# Sentiment Analysis

As soon as a chat is loaded in WhatsApp4Dynamics, the system automatically performs **Sentiment Analysis** to help you quickly understand the emotional tone of the conversation. This insight is shown right at the top of the chat window, giving agents a valuable head start when responding.

**How It Works**:

* The AI scans the most recent messages in the conversation.
* Based on language cues, it identifies whether the overall sentiment is **Positive, Neutral,** or **Negative**.
* The detected sentiment is displayed using clear labels and color-coded indicators.

Refer to the screenshot below to see how positive and negative sentiments are displayed in the chat interface:

**Positive Sentiment**

<figure><img src="/files/OFHzAPUHUGlvCVJDtaCf" alt=""><figcaption></figcaption></figure>

**Negative Sentiment**

<figure><img src="/files/ordk0fxDWPIDbtxubxYq" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.inogic.com/whatsapp4dynamics/ai-integration-inowiz-copilot/features/sentiment-analysis.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
