link_korona_sale
Associate a KORONA receipt/sale with a CallPilotAI lead or contact. This writes only a reversible local external link; it never changes KORONA.
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": {
"receipt_id": "<receipt_id>",
"entity": "<entity>",
"entity_id": "<entity_id>"
},
"name": "link_korona_sale"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity | Yes | Whether entity_id is a lead or a contact | |
| entity_id | Yes | ID of the record | |
| receipt_id | Yes | ID of the receipt | |
| receipt_number | No | KORONA receipt number (for reference) |