Create Deal Comment
create_deal_commentAdd a comment (activity-log entry) to a deal. A deal is either a "prospect" (a deal under a property — landlord rep) or a "location" (a deal under a client — tenant rep); set deal_type accordingly. For an email or call, pass your SUMMARY as the body. An optional date (YYYY-MM-DD) dates the activity (defaults to today — set it when logging something after the fact). An optional review_date (YYYY-MM-DD) flags it for follow-up, and assign_to (broker ids from list_deal_participants, where can_be_assigned is true) names who should do it — leave assign_to out and the follow-up belongs to everyone on the deal, which is the normal case. The result echoes assigned_to, and any id it could not use in assign_to_ignored. Enforces deal participation. Edit it later with update_deal_comment; comments cannot be deleted through this integration. Documented at https://www.propensa.com/connect#comments-and-notes.
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": {
"deal_type": "<deal_type>",
"deal_id": "<deal_id>",
"body": "<body>"
},
"name": "create_deal_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The comment text. For an email, pass your summary — do not paste the raw thread. | |
| date | No | The date the activity happened (YYYY-MM-DD). Defaults to today. Pass this when logging something after the fact (e.g. Monday-logging a Thursday call) so the activity log dates it correctly. | |
| deal_id | Yes | The propertytoprospectid or prospectlocationid | |
| assign_to | No | Optional. Broker ids of the people who should DO this follow-up — omit it and the follow-up belongs to everyone on the deal, which is the normal case. To resolve a name to an id, call list_deal_participants for the RECORD this deal sits under (get_prospect returns its propertyid, get_location its prospectid) and use the rows where can_be_assigned is true; guests and pure administrators are participants but cannot be assigned work. Any id that is not an assignable participant is ignored and reported back in assign_to_ignored — check that field and tell the user rather than reporting a name as assigned. Assigning does not hide the comment: every participant still sees it and the follow-up, marked with who has it. Only meaningful alongside a review_date — assignees are dropped if the comment carries no follow-up. | |
| deal_type | Yes | "prospect" = landlord-rep deal (propertytoprospectid), "location" = tenant-rep deal (prospectlocationid) | |
| review_date | No | Optional follow-up date (YYYY-MM-DD). When set, flags the comment for review — this arms the daily follow-up reminder. |