I am setting up an O365 email workflow to auto categorise email and setup more complex rules than outlook can handle.
I have the workflow connected to the mailbox and can list email. I’ve added a switch node.
Then I created a rule based on the subject - if it includes certain keywords. But I need to add an AND which checks if the {{ $json.sender }} contains certain keywords as well.
Is this possible under the Switch node Rules? Or should I be using a different node?
My aim is to then either categorise the email and/or/both foward the email
I think the issue was using a shared mailbox. It was looking at the owner, not the actual shared mailbox. So I authenticated with the actual mailbox and is now working by the looks of it