IF node comparing 2 Objects

Hi all,

Im wondering if someone can give me a hand we currently trying to use the if node to compare an email address that comes from a webhook with a list of emails that comes from a HTTP request. When add the expression to use the values from the field it returns everything as false although there would be a true value. When i was testing before if i type in the value and compare it works as it should.

Any advice would be appreciated.

Hi @sbesliu, hope you are well?

This sounds like you might be missing a $item(0). in one of your expressions to make sure you’re always reading the first (and only) value from your webhook.

Check out this post for example for more details:

Worked like a charm and the explanation makes sense. Thank you so much.

1 Like

Glad to hear, thanks so much for confirming!