Hi,
I am struggling to do a IF comparison to check if some fields of my data are present of not. I would expect something like comparing a JSON node with undefined. Is there a way?
Hi,
I am struggling to do a IF comparison to check if some fields of my data are present of not. I would expect something like comparing a JSON node with undefined. Is there a way?
Hi @Krysalead
Depending on the nature of your operation, you can try using the String comparison with is Empty.
Undefined values fall in the “empty” category. Unfortunately there is no way to compare with undefined values directly.
If this doesn’t help, let me know and we can look for a solution. Maybe share part of your data.
Best,
Omar.
Thanks Omar, this information was major to solve my issue and also I had to invert my test, rather than checking the presence of a field I check the absence of the field which switch the output flow.
I jumped to n8n a couple of weeks ago and I love it,
Amazing news @Krysalead
Keep automating
![]()