← All types
AutomationOb Object

EventTriggerConfig

Configuration for event-based triggers

Fields

topic

String!Non-null

Event topic to subscribe to

filter

StringNullable

JSONLogic filter for event filtering (optional)

GraphQL query executed when the event fires. The resource ID is passed as the $id variable. Result is merged into workflow input under the 'data' key.

Referenced by (1)
Exact type SDL
"""Configuration for event-based triggers"""
type EventTriggerConfig {
  """Event topic to subscribe to"""
  topic: String!
  """JSONLogic filter for event filtering (optional)"""
  filter: String
  """
  GraphQL query executed when the event fires. The resource ID is passed as the $id variable. Result is merged into workflow input under the 'data' key.
  """
  dataQuery: String
}