Use a valid Bearer token to authenticate.
Unique identifier for automation that generated by system.
Example: 62ce3918d3f3e1681a3a54b5
Automation's name.
Example: Auto webhook automation
Act as a trigger that start an automation. There are 8 different types.
enum: onTaskCreated, onTaskFinished, onTaskAssigned, onDataSourceCreated, onRoutingResultFinished, onRoutingResultDispatched, onStartTrip, onFinishTrip
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 data source is created.
onRoutingResultFinished: Automation will happen when a routing created is created.
onRoutingResultDispatched: Automation will happen when a routing is dispatched.
onStartTrip: Automation will happen when a start trip is triggered.
onFinishTrip: Automation will happen when a finish trip is triggered.
Example: onTaskFinished
Automation's active state, only active automation will proceed by system
Default: true