Skip to main content
Jeremias Meister - Tools & Pipeline

Trigger Conditional

State Change Detector

Monitors a value from a data source and fires when it changes from its previous state. Works with any data type (string, number, object, array, bool).

Node IDStateChangeTrigger

Parameters

ParameterTypeRequiredDefaultDescription
Data Source dataSource textarea Yes — JSON configuration for the data source (type: File, HttpEndpoint, Command, SystemMetric, or EnvironmentVariable).
Value Path (JSONPath) valuePath string No $ JSONPath to extract the value to monitor from fetched data. Use $ for root-level values.
Poll Interval (Seconds) pollInterval integer No 60 How often to check for changes (in seconds).
Change Detection Mode changeDetection enum
  • Any
  • Specific
  • Pattern
No Any Detection mode: Any (any change), Specific (from/to specific values), Pattern (new value matches regex).
Expected Old Value expectedOldValue string No — For Specific mode: only fire if changing FROM this value (as JSON string).
Expected New Value expectedNewValue string No — For Specific mode: only fire if changing TO this value (as JSON string).
Pattern (Regex) pattern string No — For Pattern mode: regex pattern the new value must match to fire.
Ignore First Poll ignoreFirstPoll boolean No true Don't fire on the first poll (no previous state to compare).

Outputs

OutputTypeIdentifierDescription
On State Change output0 object state_changed Fires when the monitored value changes (based on detection mode). Contains old value, new value, and timestamp.