← API reference
CANONICAL TYPE REFERENCE

EventTriggerConfigInput

Event-based trigger configuration. Set as TriggerConfigInput's single member to make this kind of trigger.

topicString!

Platform event topic to subscribe to. Must be non-empty.

filterString

Optional JSONLogic expression evaluated against the event payload; the workflow only starts when it evaluates truthy. Omit to fire on every event on the topic.

dataQueryString

Optional GraphQL query executed when the event fires. The event's resource ID is bound to the $id variable and the result is merged into the workflow input under the 'data' key. Validated against the live schema on save; an unparseable query is rejected.

View exact SDL
"""
Event-based trigger configuration. Set as TriggerConfigInput's single member to make this kind of trigger.
"""
input EventTriggerConfigInput {
  """Platform event topic to subscribe to. Must be non-empty."""
  topic: String!
  """
  Optional JSONLogic expression evaluated against the event payload; the workflow only starts when it evaluates truthy. Omit to fire on every event on the topic.
  """
  filter: String
  """
  Optional GraphQL query executed when the event fires. The event's resource ID is bound to the $id variable and the result is merged into the workflow input under the 'data' key. Validated against the live schema on save; an unparseable query is rejected.
  """
  dataQuery: String
}

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