create_task
Create tasks in Aspro Cloud CRM, specifying type, status, deadline, priority, and assignment to leads or workflows.
Instructions
Create a new task
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Task name | |
| type | No | Type: 0=Task, 1=Inbox, 20=Event, 30=Template | |
| model | No | Model to bind task to (e.g. 'lead') | |
| module | No | Module to bind task to (e.g. 'crm') | |
| status | No | Status: 1=New, 3=In Progress, 4=Waiting Review, 5=Done | |
| deadline | No | Deadline date (YYYY-MM-DD or YYYY-MM-DD HH:MM:SS) | |
| model_id | No | ID of the object to bind task to | |
| owner_id | No | Task owner (creator) user ID | |
| priority | No | Priority level | |
| parent_id | No | Parent task ID for subtasks | |
| description | No | Task description | |
| workflow_id | No | Workflow ID | |
| time_estimate | No | Estimated time in seconds | |
| responsible_id | No | Responsible user ID | |
| plan_start_date | No | Planned start date (YYYY-MM-DD) | |
| workflow_stage_id | No | Workflow stage ID |