# Sentiment Analysis

> `UiPath.MicrosoftSentiment.IntegrationService.Activities.SentimentAnalysis`

`UiPath.MicrosoftSentiment.IntegrationService.Activities.SentimentAnalysis`

## Description

Analyze the sentiment of a text.

## Project compatibility

Windows | Cross-platform

## Configuration

* **Text** - The text to be analyzed. This field supports `String` type input.

### Manage Properties

Use the **Manage Properties** wizard to configure or use any of the object's standard or custom fields. You can select fields to add them to the activity canvas. The added standard or custom fields are available in the **Properties** panel (in Studio Desktop) or under **Show additional properties** (in Studio Web).

### Additional properties

* **Language** - Select the preferred language to retrieve the analysis. See the [supported languages](https://learn.microsoft.com/en-us/azure/ai-services/language-service/language-detection/language-support) in the Microsoft documentation.
* **ID** - The unique identifier of the request. This field supports `String` type input.

#### Output

* **Sentiment** - The detected sentiment of the text, returned as positive, negative, or neutral.
* **Neutral confidence score** - Confidence score of the text being neutral.
* **Negative confidence score**
  - Confidence score of the text being negative.
* **Positive confidence score**
  - Confidence score of the text being positive.
* **Uni sentiment** - Automatically generated output variable.
