Import many won or lost deals at once
import_win_lossBring in deal history in bulk (for a single deal use log_win_loss). Use this when the user has a CRM, spreadsheet or other connected tool holding closed-won/closed-lost deals: read the rows there, then pass them here as raw text, one deal per line, header row first if there is one, exactly as you read them (do not summarize or rewrite). Ripplewatch works out which column is which (so any export layout works), keeps each deal's own close date, reads the reasons into themes, ties tracked competitors to their deals, and suggests competitors it isn't tracking yet. Re-importing the same deals updates them instead of duplicating. Include the close date column if the source has one, and go back as far as the source goes: trends over time need dates and enough history. Ask the user before pulling their data, and only pass rows you actually read. Up to about 600 rows per call.
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": {
"text": "<text>"
},
"name": "import_win_loss"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Raw deal rows, one per line (CSV or plain text), header first if present, verbatim from the source. | |
| source | No | Where the rows came from, e.g. 'HubSpot' or 'Salesforce export'. |