Log a won or lost deal, or a customer who left
log_win_lossRecord the outcome of one deal or one customer (for many at once use import_win_loss), with the reason if known and the date it closed. Use outcome churned for a customer who cancelled or left, which is how consumer products usually lose people, and set segment to business or consumer when the company sells to both. This is the most valuable input: it lets Ripplewatch tie a competitor's moves, and its own gaps, to real deals. The competitor is optional because most lost deals never learn who won: log the reason anyway and Ripplewatch will still count it. A competitor that isn't tracked yet is suggested for tracking instead of rejected. Pass the real close date (closed_on), because trends over time depend on it.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"outcome": "<outcome>"
},
"name": "log_win_loss"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | No | Deal value, if known. | |
| reason | No | Why, in the customer's own words if possible. | |
| outcome | Yes | won or lost for a deal; churned for a customer who cancelled or left. | |
| segment | No | Which side of the business this is, for a company that sells to both businesses and consumers. Leave out when unsure. | |
| closed_on | No | The date the deal closed, YYYY-MM-DD. Defaults to today. | |
| deal_name | No | The deal or account name, if known. | |
| competitor_name | No | The competitor that won (or was beaten), if the deal named one. Leave out when unknown. |