Actions21
- Azure OpenAI Actions
- Batch API Actions
- Content Safety Actions
- Document Intelligence Actions
- Language Actions
- Speech Actions
- Translator Actions
- Vision Actions
Language → Analyze Sentiment
AI-generatedSummary
Analyze text sentiment with Azure AI Language, returning the overall sentiment, confidence scores, and sentence-level results for each input item. Supply an ISO 639-1 language code to specify the text language, or leave it blank for Azure to detect it.
Inputs
- Authentication (required) — Choose API Key or Entra ID (OAuth2) authentication and configure the matching Azure credential.
- Text (required) — Text to analyze. It cannot be empty.
- Language (Optional) — ISO 639-1 language code such as en, es, or fr. Leave blank for auto-detection.
Output shape
One JSON result per input item, containing sentiment, confidenceScores, and sentences.
If Azure returns no document result, the output contains the raw response under _raw.
Examples
Example 1: Analyze an English customer comment
Set Text to the comment and Language to en, or leave Language blank for auto-detection.