I’m just starting on n8n and got quite lost at the get go.
I’m simply trying to get through my first IF node but even we using a ‘Is not empty’ conditions, and there’s definitely a value, it goes to the FALSE branch.
It’s a little hard to tell from the screenshot (you can share the entire workflow as code, and it will render as an interactive preview)… but - I think you have Value 1 set as a Fixed value, and it needs to be an Expression to use JavaScript in it. Basically right now you’re comparing two different hardcoded strings, which will always evaluate to False.
The Fixed/Expression toggle should be just above the text box (hidden until you hover over it), and then you should see a live preview of the expression evaluation below it when you have input data loaded in the left pane, as well.
It also looks like you toggled the Combine property to be an empty expression, which probably isn’t what you want. Since you only have a single condition it may not matter, but I’d set it back to fixed and “all” to keep the node config clean.
@pfiadDi’s note above may still be applicable, too - but sorting the input type is the first step.
@pfiadDi in regard to .type it’s actually the name of the key, I just changed it to campaignType to avoid confusion. I did try with the index 0 but it wasn’t recognized.
But @craSH you pointed the issue on the Combine All! That was the blocker, it’s working perfectly. Should have been more carefull.