Portal Community

Configuration

FieldValue
conditioninput.discountPercent > 12
languageJavaScript (default)
isExpression (Raw Directive)off (default)
If Condition node configuration
"Is High Discount?" — Condition: input.discountPercent > 12. Helper text: "Boolean expression evaluated at runtime. Use input.{key} to reference workflow variables."
Confirms the input. binding directly This is a live, tested screenshot — and it settles a question that came up while planning this guide: is the current record accessed via input., json., or item. inside an If Condition? The node's own helper text answers it: input.{key}. There is no json variable in this context, and no items[0]. wrapping either — each Loop iteration sets input directly from that item's data.

Also note the field name: it's discountPercent (renamed by Data Mapping earlier in the pipeline), not discountPercentage (the original dummyjson field name) — Data Mapping already ran before the Loop started.

Routing With Our Sample Data

ProductdiscountPercentResult
1 — Essence Mascara Lash Princess10.48False → negative-feedback branch
2 — Eyeshadow Palette with Mirror18.19True → Slack alert

Port labels on the live node are True Part / False Part (not bare "True"/"False").