Skip to main content

RegisterAutomationInput

Autogenerated input type of RegisterAutomation

input RegisterAutomationInput {
actions: [AutomationActionInput!]
brandId: ID @deprecated
clientMutationId: String
conditions: AutomationConditionsInput
description: String
event: AutomationEventEnum
name: String!
status: AutomationStatusEnum
}

Fields

RegisterAutomationInput.actions ● [AutomationActionInput!] list input

Actions to be executed when the automation rule is triggered.

RegisterAutomationInput.brandId ● ID deprecated scalar

DEPRECATED

This argument will be removed in the future. Brand is becoming a product-only attribute. Use company context instead. If provided, automation will be registered in brand's company context.

ID of the brand associated with the automation rule.

RegisterAutomationInput.clientMutationId ● String scalar

A unique identifier for the client performing the mutation.

RegisterAutomationInput.conditions ● AutomationConditionsInput input

Conditions that must be met for the automation rule to trigger.

RegisterAutomationInput.description ● String scalar

Description of the automation rule.

RegisterAutomationInput.event ● AutomationEventEnum enum

Event type that triggers the automation rule.

RegisterAutomationInput.name ● String! non-null scalar

Name of the automation rule.

RegisterAutomationInput.status ● AutomationStatusEnum enum

Whether the automation rule is active.

Member Of

automationRegisterRules mutation