Sentiment Agent
The Sentiment Agent analyzes text and returns a sentiment classification. It costs 2 credits per execution.
When to Use
Use the Sentiment Agent when you need to automatically classify the tone of text content such as social media posts, comments, or messages. It is ideal for filtering workflows based on positive or negative sentiment.
Inputs
Output Formats
Text
Returns one of: positive, negative, or neutral
Number
Returns a value from -1 (most negative) to 1 (most positive)
Boolean
Returns true for positive sentiment, false for negative or neutral
Output Variables
Syntax Example
Reference the output in subsequent nodes:
{{sentimentAgent.result}}Pro tip: Use the number output format when you need granular sentiment scoring, for example to rank posts from most positive to most negative.