Trigger Conditional
Conditional Polling
Polls a data source at regular intervals and fires when a condition is met. Supports files, HTTP endpoints, commands, system metrics, and environment variables.
Node IDConditionalPollingTrigger
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
Data Source dataSource | textarea | Yes | — | JSON configuration for the data source (type: File, HttpEndpoint, Command, SystemMetric, or EnvironmentVariable). |
Condition condition | textarea | Yes | — | JSON condition tree to evaluate. Example: {"op":"GreaterThan","left":{"type":"JsonPath","value":"$.temperature"},"right":{"type":"Number","value":30}} |
Poll Interval (Seconds) pollInterval | integer | No | 60 | How often to poll the data source (in seconds). |
Fire Mode fireMode | enum | No | Always | When to fire: Always (every true), OnChange (true↔false), OnEdge (false→true only). |
Initial Delay (Seconds) initialDelay | integer | No | 0 | Delay before the first poll (in seconds). |
Outputs
| Output | Type | Identifier | Description |
|---|---|---|---|
On Condition Met output0 | object | condition_met | Fires when the condition evaluates to true (based on fire mode). Contains fetched data and evaluation result. |