{
"_id": "654c79dd6c763c3d337ce792",
"name": "automation create task",
"event": "onTaskCreated",
"automationType": "assignTask",
"dataType": "task",
"automationDetails": {
"assignee": [
"[email protected]"
],
"hubId": "64180853e480b10a631c8452"
},
"rules": {
"fields": {
"customerName": "automation"
},
"flow": "Delivery",
"schema": "flow:customerName"
},
"organizationId": "641807adbfaea73910208b09",
"isActive": true,
"createdBy": "[email protected]",
"updatedBy": "[email protected]",
"updatedTime": "2023-11-09T10:56:56+00:00",
"createdTime": "2023-11-09T10:56:56+00:00"
}Automation object
Act as a trigger that start an automation. There are 4 different types onTaskCreated: Automation will happen when a task is created. onTaskFinished: Automation will happen when a task is finished (status task: Done). onTaskAssigned: Automation will happen when a task is assigned to field user(s). onDataSourceCreated: Automation will happen when a datasource is created.
Automation's type. The changes you want to automate. There are 6 different types: createTask: The task will create when an event happens. createAssignTask: will create assigned task when an event happens. moveTask: The task will move to the selected hub when an event happens. assignTask: The task will automatically assigned to the selected user on a hub when an event happens. webhook: The data task or data source will sent to the specific URL when an event happens. createOrUpdateDataSource: The data source will create or update when an event happens.