← API reference
CANONICAL TYPE REFERENCE

TriggerConfig

What makes a trigger fire. A union, so the configuration a trigger has and the kind it claims to be are the same fact — __typename names the member rather than a separate field that could contradict it.

Possible types

ScheduledTriggerConfigEventTriggerConfigDeviceMQTTTriggerConfigWebhookTriggerConfigEdgeAppEventTriggerConfigFolderWatchTriggerConfig
View exact SDL
"""
What makes a trigger fire. A union, so the configuration a trigger has and the kind it claims to be are the same fact — `__typename` names the member rather than a separate field that could contradict it.
"""
union TriggerConfig = ScheduledTriggerConfig | EventTriggerConfig | DeviceMQTTTriggerConfig | WebhookTriggerConfig | EdgeAppEventTriggerConfig | FolderWatchTriggerConfig

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