ToolsLeads
mailmoo_lead_manage_task
Create or change a task on a lead, person or company
Tasks are things a person still needs to do, with an optional due date. To create, pass exactly one of leadId, personId or companyId. People added with person_create have a personId even before they are in any campaign. Use the other actions with the taskId returned when it was created.
Effect: Write. See Effects.
Permissions: Manage tasks.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
action | create, update, complete, delete | Yes | What to do with the task. |
leadId | string | No | Lead to attach the task to. One of the three for 'create'. |
personId | string | No | Person to attach the task to. One of the three for 'create'. |
companyId | string | No | Company to attach the task to. One of the three for 'create'. |
taskId | string | No | The task to change. Required for all actions but 'create'. |
content | string | No | What the task is. Required for 'create'. |
dueAt | string or null | No | ISO 8601 due date, or null for no due date. |

