Automation
The automation rule type
type Automation {
actions: JSON!
brand: Brand @deprecated
brandId: ID @deprecated
conditions: JSON
configuration: JSON!
createdAt: ISO8601DateTime!
description: String
event: AutomationEventEnum!
executions(
after: String
before: String
first: Int
last: Int
): AutomationExecutionConnection
id: ID!
lastExecution: AutomationExecution
lastExecutionAt: ISO8601DateTime
name: String!
status: AutomationStatusEnum!
updatedAt: ISO8601DateTime!
}
Fields
Automation.actions ● JSON! non-null scalar common
Automation rule actions configuration
Automation.brand ● Brand deprecated object common
This field will be removed in the future. Brand is becoming a product-only attribute.
Automation.brandId ● ID deprecated scalar common
This field will be removed in the future. Brand is becoming a product-only attribute.
Automation.conditions ● JSON scalar common
Automation rule conditions configuration
Automation.configuration ● JSON! non-null scalar common
JSONB configuration containing conditions and actions
Automation.createdAt ● ISO8601DateTime! non-null scalar common
Automation.description ● String scalar common
Automation.event ● AutomationEventEnum! non-null enum automations
The event that will trigger this automation rule
Automation.executions ● AutomationExecutionConnection object common
All executions for this automation rule, ordered by most recent first
Automation.executions.after ● String scalar common
Returns the elements in the list that come after the specified cursor.
Automation.executions.before ● String scalar common
Returns the elements in the list that come before the specified cursor.
Automation.executions.first ● Int scalar common
Returns the first _n_ elements from the list.
Automation.executions.last ● Int scalar common
Returns the last _n_ elements from the list.
Automation.id ● ID! non-null scalar common
Automation.lastExecution ● AutomationExecution object automations
Most recent execution of this automation rule
Automation.lastExecutionAt ● ISO8601DateTime scalar common
Automation.name ● String! non-null scalar common
Automation.status ● AutomationStatusEnum! non-null enum automations
Automation.updatedAt ● ISO8601DateTime! non-null scalar common
Returned By
automationDetails query ● automationRegisterRules mutation ● automationUpdateRules mutation
Member Of
AutomationConnection object ● AutomationEdge object ● AutomationExecution object