Skip to main content
Version: Current

Analyze Sentiment

Description​

The Analyze Sentiment activity analyzes the sentiment of text using Azure AI Language services.

The activity determines whether the submitted text expresses a positive, neutral, negative, or mixed sentiment and provides confidence scores for each sentiment category.

It can also return sentiment analysis for individual sentences within the text.


Common settings​

Use Process Data to bind supported inputs to workflow values or upstream outputs. See Common Activity Features for shared execution, error-handling, and output-persistence settings. Availability depends on the activity.

Design-Time Configuration​

Display Text​

The label for this activity as it appears on the workflow canvas.

Connection Name​

Select one of the following:

  • An Azure AI connection configured in AI Command Center using customer-provided Azure credentials.
  • IB-X Azure AI Credits to use the IntelliBuddies Integration Gateway.

When using IB-X Azure AI Credits, requests are processed through the Integration Gateway and consume IB-X Currency based on the request volume and service usage.

Document Text​

The text to analyze.

The value can be entered directly or supplied dynamically from Process Data.


Execution settings​

Configure Wait All Incoming when execution paths converge, and On Error for failure handling. Select Inherit where available to use the workflow-level error policy.

Outputs​

Analyze Sentiment Result​

The sentiment analysis result containing:

  • Overall sentiment
  • Sentiment confidence scores
  • Sentence-level sentiment analysis
  • Sentence confidence scores

Raw Response​

The complete JSON response returned by Azure AI Language services.


Notes​

  • Supported sentiment values include Positive, Neutral, Negative, and Mixed.
  • Large documents may be processed as multiple internal text segments depending on Azure service limits.
  • When using the Integration Gateway, IB-X Currency is consumed based on the request volume.

Example: Analyze text​

Select an Azure AI Language connection or the documented credits option, then bind Document Text to text such as “The support team resolved my issue quickly.”. After execution, use Analyze Sentiment Result to inspect Sentiment and the category confidence scores. See the output model for property types.

For a collection output, check it contains items before iterating. Keep Raw Response for cases where the workflow needs details not exposed by the structured output. See Azure Text Analytics connection.