Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

If

core.if · version 2.2 · Flow

Send each item down the true or the false branch depending on conditions.

Ports

PortKindLabelRequiredMax connections
input 0main
output 0maintrue
output 1mainfalse

Credentials

This node uses no credentials.

Parameters

NameTypeDefaultRequiredShown whenDescription
conditionsfilterChecks applied to every item.
looseTypeValidationbooleanfalseConvert types where required. Convert values to the operator’s type instead of failing on a mismatch.
optionscollection
options.ignoreCasebooleanfalseIgnore 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 typeVersion rangeStatusFixtures
n8n-nodes-base.if1unverified
n8n-nodes-base.if>=2 <3unverified