Feedback Sentiment Analyzer Agent

The Feedback Sentiment Analyzer agent reads structured feedback from the last message of a chat conversation and classifies it as positive, negative, or no feedback detected. It returns the sentiment a user selected when rating a prior response (for example, thumbs up, thumbs down, or a guided feedback option). It does not perform free-text sentiment analysis -- for that, use the Sentiment Analyzer agent.

Use Cases

  • You want to branch a workflow based on whether the user rated the previous AI Employee response positively or negatively.
  • Your workflow escalates to a human (or swaps agents) when a user submits negative feedback.
  • You are building a feedback loop that only triggers on explicit user ratings.

Inputs

InputTypeDescription
conversationChatConversationThe chat conversation to analyze. The agent inspects the last message and returns its feedback type.

Outputs

OutputTypeDescription
categoryEnum (feedback_type)One of: FEEDBACK_TYPE_POSITIVE, FEEDBACK_TYPE_NEGATIVE, or FEEDBACK_TYPE_NO_FEEDBACK. Returns FEEDBACK_TYPE_NO_FEEDBACK if the last message is not a feedback submission.

Configurations

This agent has no configurable parameters. The classification categories are fixed, and the agent does not call an LLM.

How to Use This Agent

After responding to a user, check if their next message is feedback:

chat_trigger -> respond_using_search_results -> (wait for user reply) -> feedback_sentiment_analyzer
 -> [negative] -> human_collaboration -> workflow_output
 -> [positive] -> workflow_output
 -> [no_feedback] -> continue_conversation

Last updated: Jul 3, 2026