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 {
configuration: JSON
key: String!
}

Fields

AutomationActionInput.configuration ● JSON scalar

Action-specific configuration parameters

AutomationActionInput.key ● String! non-null scalar

Action component key identifying the action executor

Member Of

RegisterAutomationInput input ● UpdateAutomationInput input