Last Modified : 08 August 2026
Always Trigger
The Always Trigger is the simplest trigger type. It unconditionally fires on every execution, returning a fixed, configurable data payload. It has no conditions and tracks no state.
Configuration
| Option | Type | Description |
|---|---|---|
| Data | String | The data payload to include in every event. This string is returned as UTF-8 bytes on each scan. |
Behavior
-
The
prevStateparameter is ignored : this trigger has no state tracking. -
Every call to
scan()returns the configured data as the event payload. - The returned
newStateis always empty.
Return Values
| Key | Value |
|---|---|
data |
The data given by the user. |
newState |
None |