Send an email, only if input email address is not in list of users

Hi all,

I’m having trouble structuring a conditional and I’m hoping someone can send me in the right direction.

Background
I have a SaaS application that lets a user create a team, and subsequently becomes the “admin” of that team. That user can then add new users to said team by entering an email address in to an input field. That then triggers a workflow that sends an email to register a new account and adds that user to the team. Simple stuff.

Problem
However, if the email address is already registered to a person that has an account, then I want to send a different email saying that they have been added to the team (and not go through the register workflow).

I’m pretty sure I can create two workflows and trigger each one “Only when” conditions are met. However, I’m running in to problems with my conditional statement.

Does anyone know where I’m going wrong by chance?

Screenshot 2023-01-30 at 1.38.53 PM

Have you tried Only when: Input A's value is not in Current Page Team's Teacher: each item's email?

Thanks for replying @adamhholmes - yeah that’s what I’m currently trying but it’s saying that query doesn’t equal a boolean value -

Screenshot 2023-01-30 at 1.46.06 PM

Although I can see that you’ve got “is not in” as part of your query where I can only select “is not”. Am I missing something there?

Ahh that’s exactly it! It’s hiding right at the bottom of the list. I knew I was close! Thanks for your help!

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.