Automation
Status: Trusted Tester
An Automation is a trigger and set of actions performed when the trigger is activated.
typestringrequired
Possible values: [automations]
Default value:
automationsExample:
automationsidstringrequired
Possible values: Value must match regular expression ^Automation-
Example:
Automation-91cb048c-c498-43ba-ab99-2ca2d27d2c46attributes object
namestring
The name of the automation
Example:
Example Automationtriggerstring
The triggering action for the automation
Possible values: [TaskDefinition-manual-api-order-trigger, TaskDefinition-manual-api-account-trigger]
Example:
TaskDefinition-manual-account-triggerstatusstring
The current status of the automation, one of: on, off, draining
Possible values: [on, draining, off]
Example:
ontagsstring[]
A list of user-defined tags on the automation
customParameters object[]
Array [
typestring
Data type of the parameter
Possible values: [string, boolean]
idstring
namestring
]
Automation
{
"type": "automations",
"id": "Automation-91cb048c-c498-43ba-ab99-2ca2d27d2c46",
"attributes": {
"name": "Example Automation",
"trigger": "TaskDefinition-manual-account-trigger",
"status": "on",
"tags": [
"example-tag"
],
"customParameters": [
{
"type": "string",
"id": "string",
"name": "string"
}
]
}
}