Skip to main content

UpsertAutomationTriggerInput

Create an event trigger that fires an automation on model activity.

input UpsertAutomationTriggerInput {
appId: BigInt!
automationName: String!
onEvent: String!
functionName: String
containerTypeName: String
propertyKey: String
debounceMs: Int
}

Fields

UpsertAutomationTriggerInput.appId ● BigInt! non-null scalar

The app (tenant).

UpsertAutomationTriggerInput.automationName ● String! non-null scalar

The automation (by name) this trigger fires.

UpsertAutomationTriggerInput.onEvent ● String! non-null scalar

The model event: function_invoked | property_changed | container_created.

UpsertAutomationTriggerInput.functionName ● String scalar

Filter: only this function name.

UpsertAutomationTriggerInput.containerTypeName ● String scalar

Filter: only this container type.

UpsertAutomationTriggerInput.propertyKey ● String scalar

Filter: only this property key.

UpsertAutomationTriggerInput.debounceMs ● Int scalar

Debounce/coalesce window in ms.

Member Of

gameModelUpsertAutomationTrigger mutation