Automation
The automation rule type
type Automation {
actions: JSON!
brand: Brand!
brandId: ID!
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
Automation rule actions configuration
Automation.brand ● Brand! non-null object
Automation.brandId ● ID! non-null scalar
Automation.conditions ● JSON scalar
Automation rule conditions configuration
Automation.configuration ● JSON! non-null scalar
JSONB configuration containing conditions and actions
Automation.createdAt ● ISO8601DateTime! non-null scalar
Automation.description ● String scalar
Automation.event ● AutomationEventEnum! non-null enum
The event that will trigger this automation rule
Automation.executions ● AutomationExecutionConnection object
All executions for this automation rule, ordered by most recent first
Automation.executions.after ● String scalar
Returns the elements in the list that come after the specified cursor.
Automation.executions.before ● String scalar
Returns the elements in the list that come before the specified cursor.
Automation.executions.first ● Int scalar
Returns the first _n_ elements from the list.
Automation.executions.last ● Int scalar
Returns the last _n_ elements from the list.
Automation.id ● ID! non-null scalar
Automation.lastExecution ● AutomationExecution object
Most recent execution of this automation rule
Automation.lastExecutionAt ● ISO8601DateTime scalar
Automation.name ● String! non-null scalar
Automation.status ● AutomationStatusEnum! non-null enum
Automation.updatedAt ● ISO8601DateTime! non-null scalar
Returned By
automationDetails query ● automationRegisterRules mutation ● automationUpdateRules mutation
Member Of
AutomationConnection object ● AutomationEdge object ● AutomationExecution object