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 automations

Actions to be executed when the automation rule is triggered.

RegisterAutomationInput.brandId ● ID deprecated scalar common

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 common

A unique identifier for the client performing the mutation.

RegisterAutomationInput.conditions ● AutomationConditionsInput input automations

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

RegisterAutomationInput.description ● String scalar common

Description of the automation rule.

RegisterAutomationInput.event ● AutomationEventEnum enum automations

Event type that triggers the automation rule.

RegisterAutomationInput.name ● String! non-null scalar common

Name of the automation rule.

RegisterAutomationInput.status ● AutomationStatusEnum enum automations

Whether the automation rule is active.

Member Of

automationRegisterRules mutation