Skip to main content

TriggerCustomEventInput

Input for triggering custom events with dynamic payloads.

Allows execution of event action configurations based on custom event codes with flexible payload data for business-specific automation workflows.

input TriggerCustomEventInput {
code: String!
payload: JSON!
}

Fields

TriggerCustomEventInput.code ● String! non-null scalar

Custom event code to identify which configurations to execute.

Must match the code field of existing EventActionConfigs with CUSTOM_EVENT trigger. Maximum length of 64 characters.

TriggerCustomEventInput.payload ● JSON! non-null scalar

Dynamic payload data for the custom event.

Can contain any JSON-serializable data structure that will be passed to the event action configurations for processing. The payload structure depends on the specific business requirements.

Member Of

triggerCustomEvent mutation