# Flag angry customers and churn risk

Scores each customer message for frustration and for signs the customer may cancel or leave, such as competitor mentions or cancellation threats. Messages above your threshold are posted to a webhook you choose, with the reasons and a suggested next step.

**Use cases:** Customer support, Monitoring and alerts

**Tags:** escalation, churn, cancellation, angry customer, sentiment, customer retention, alert

[Create this agent](https://seclai.com/agent-examples/create/escalation_risk_detector)

## How it starts

Trigger: dynamic input.

## What it needs

No knowledge base, memory bank or connection to create first.

## Steps

- Score the message
- Parse and validate the scores
- Is the risk high?
  - If yes: Alert the team
  - Otherwise: No alert needed
- Show the scores
