Log Deal Activity
log_deal_activityLog an activity on a deal (or lead) — a note/call/meeting/email, or a follow-up task with a due date. Pass deal_id and/or lead_id (each must be owned by the caller). type defaults to 'note'; for a task set type='task' and a due_date (YYYY-MM-DD). Tasks appear in list_sales_tasks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | ||
| done | No | Mark a task already done. | |
| type | No | note|call|meeting|email|task (default note). | |
| deal_id | No | Owned deal to attach to. | |
| lead_id | No | Owned lead to attach to. | |
| subject | No | ||
| due_date | No | ISO date YYYY-MM-DD (for tasks). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes |