Skip to main content

AutomationActionInput

Configuration for an automation rule action that will be executed when conditions are met.

Notification Action Example​

{
"key": "global.notification",
"configuration": {
"email": true,
"slack": true,
"subscription": false
}
}

Additional Action Example​

{
"key": "orders.tag_order",
"configuration": {
"tags": "high-value",
}
}

Important Notes​

  • The key identifies which action executor will handle this action
  • Available action keys depend on the selected event type
  • Configuration structure varies by action type
  • Actions are executed in the order they appear in the array
input AutomationActionInput {
conditions: AutomationConditionsInput
configuration: JSON
key: String!
}

Fields​

AutomationActionInput.conditions ● AutomationConditionsInput input automations​

Conditions checked right before this action runs. Same shape and same available conditions as the rule conditions. When not met: The action is skipped and the run continues.

AutomationActionInput.configuration ● JSON scalar common​

Action-specific configuration parameters

AutomationActionInput.key ● String! non-null scalar common​

Action component key identifying the action executor

Member Of​

RegisterAutomationInput input ● UpdateAutomationInput input