← All types
In Input object

DeviceMQTTTriggerConfigInput

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

Fields

topic

String!Required

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.

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

filter

StringOptional

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

Referenced by (1)
Exact type 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
}