If
core.if · version 2.2 · Flow
Send each item down the true or the false branch depending on conditions.
Ports
| Port | Kind | Label | Required | Max connections |
|---|---|---|---|---|
| input 0 | main | |||
| output 0 | main | true | ||
| output 1 | main | false |
Credentials
This node uses no credentials.
Parameters
| Name | Type | Default | Required | Shown when | Description |
|---|---|---|---|---|---|
conditions | filter | Checks applied to every item. | |||
looseTypeValidation | boolean | false | Convert types where required. Convert values to the operator’s type instead of failing on a mismatch. | ||
options | collection | ||||
options.ignoreCase | boolean | false | Ignore case. Compare text without regard to letter case. |
Import
Exported workflows that use these node types import to this node. Unverified ranges import with a parameter warning until parity fixtures confirm them; see Migrating.
| Source type | Version range | Status | Fixtures |
|---|---|---|---|
n8n-nodes-base.if | 1 | unverified | |
n8n-nodes-base.if | >=2 <3 | unverified |