Automation Run
Status: Trusted Tester
An Automation run is the instance of an automation executing its steps for a business location. You may configure the automation definition and obtain its ID within Partner Center.
Possible values: [automationRuns]
automationRunsautomationRunsrelationships objectrequired
automation objectrequired
A link to the automation definition that is being run.
data objectrequired
automationsautomationsPossible values: Value must match regular expression ^Automation-
Automation-91cb048c-c498-43ba-ab99-2ca2d27d2c46businessLocation objectdeprecated
Deprecated: Pass the businessLocation.id in the attributes.entityId field instead.
A link to the business location that this automation is being run for. Either the businessLocation or order is required. (It depends on the automation type.)
data object
businessLocationsbusinessLocationsAG-1234567order objectdeprecated
Deprecated: Pass the order.id in the attributes.entityId field instead.
A link to the order that this automation is being run for. Either the businessLocation or order is required. (It depends on the automation type.)
data object
Possible values: [orders]
ordersAG-1234:ORD-1234567attributes object
The ID of the primary record that this automation relates to. It is used for reporting and rate limiting.
For automations using the Triggered manually for a contact trigger it should contain a contact id.
For automations using the Triggered manually for a order trigger it should contain an order id.
For automations using the A webhook is received trigger it may be left blank.
Extra data that you would like to send to the automation. The automation trigger must also be configured correctly to be able to read these values.
{
"type": "automationRuns",
"relationships": {
"automation": {
"data": {
"type": "automations",
"id": "Automation-91cb048c-c498-43ba-ab99-2ca2d27d2c46"
}
}
},
"attributes": {
"entityId": "string",
"data": {}
}
}