gameModelUpsertAutomationTrigger
Create an event trigger that fires an automation in reaction to model activity or a complete app-scoped active-player-count transition. player_count_changed rejects model filters, starts silent-baseline tracking, injects reserved previous/current/delta/revision params, and uses trailing-edge debounce; other event behavior is unchanged. Matched in the API server post-commit. Requires app-admin ('manage_apps').
gameModelUpsertAutomationTrigger(
input: UpsertAutomationTriggerInput!
): GmAutomationTrigger!
Arguments
gameModelUpsertAutomationTrigger.input ● UpsertAutomationTriggerInput! non-null input
The app, target automation (by name), event, optional model filters, and debounce window.
Type
GmAutomationTrigger object
An event subscription that fires an automation in reaction to model activity or a complete app-scoped active-player-count transition (matched in the API server, not a DB trigger).