← API reference
CANONICAL TYPE REFERENCE

DeviceMQTTTriggerConfigInput

Device MQTT trigger configuration. Set as TriggerConfigInput's single member to make this kind of trigger.

topicString!

Device-relative MQTT topic filter (MQTT + and # wildcards allowed). Must be non-empty and must NOT include the tenant/device prefix — a value starting with "t/" is rejected.

deviceIdString

Optional device TypeID (prefix dev) narrowing the trigger to one device. Omit (or pass empty) to match every device in the tenant.

filterString

Optional JSONLogic expression evaluated against the MQTT trigger envelope; the workflow only starts when it evaluates truthy.

View exact SDL
"""
Device MQTT trigger configuration. Set as TriggerConfigInput's single member to make this kind of trigger.
"""
input DeviceMQTTTriggerConfigInput {
  """
  Device-relative MQTT topic filter (MQTT + and # wildcards allowed). Must be non-empty and must NOT include the tenant/device prefix — a value starting with "t/" is rejected.
  """
  topic: String!
  """
  Optional device TypeID (prefix `dev`) narrowing the trigger to one device. Omit (or pass empty) to match every device in the tenant.
  """
  deviceId: String
  """
  Optional JSONLogic expression evaluated against the MQTT trigger envelope; the workflow only starts when it evaluates truthy.
  """
  filter: String
}

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