I have an IF node that checks if 2 records share the same email address. If they do, notify me via email.
The issue is that even if the records do not have matching email addresses, I am still being sent an email, but with no data asides from the text I have added to the email body, ie none of the merged json data.
When I look at the true out put for the IF statement is shows 1 record (in this test there should be no records) and the record json is
[
{
}
]
If there is a record that does have a duplicate email address then it sends me the correct email with the correct data.
How can I stop the email node sending me empty emails?