IF Bug? | What am I doing wrong on this? :)

Hey Catz!
Experiencing weird behavior with my IF condition.
I did a quick screen record, so maybe you can tell me what I’m doing wrong:

Thank you!

Share the output returned by the last node



“is_disposable_email”: false,

“is_free_email”: false



Information on your n8n setup

  • **n8n version: 0.153.0
  • **Database you’re using: none
  • **Running n8n with the execution process: manual execution (is there a better name for this?)
  • **Running n8n via desktop app

Hi @Tyler-Intentflow

You are checking it as a string, which it is not. Thats why it is not doing what you expect it to do.
Add a new condition making sure to select the boolean condition option.
Don’t have access to n8n right now to make a screenshot. Hope it is clear enough to find the mistake.

1 Like

Makes sense @BramKnuever, that solved the problem!
Thank you so much.
Just a side question…
I’ve always thought of Boolean as something like: “Me” AND “You” NOT (“Them” OR “Us”)
Is that something that applies here ever?

Hi @Tyler-Intentflow

Not completely sure what you mean by that.
A boolean is true / false.
Or also 0 / 1 (or anything other than 0 actually)
You can also add booleans together to create a combined boolean. I think that is what you are referring to.

So a statement A AND statement B are true if they are both true.
If the statement is A OR B it would be true if one of the 2 is true.
When combining more than 2 you need () to group them together.

If you want to readup about it, check out Set Theory.

Hope I made it more clear for you.