← API reference
CANONICAL TYPE REFERENCE

EventTriggerConfig

Configuration for event-based triggers

topicString!

Event topic to subscribe to

filterString

JSONLogic filter for event filtering (optional)

dataQueryString

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.

View exact 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
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.