I am currently building an automation where I want to check the sender's email address and then automatically route the email to a specific operator. I have also set up rules for the subject line and the free-text field, and these two work perfectly when the system name (which I’ve named 'xxx') is entered.
However, I can't get the automation to work when it has to look at the sender's email address and assign it to a specific operator.
Does anyone know why it isn't working with the sender's email?
<#if
(((_card["korteomschrijving"])!"")?contains("xxx")) ||
(((_card["omschrijving"])!"")?contains("xxx")) ||
(((_card["notities"])!"")?contains("xxx")) ||
((.vars["target"].externalSenderEmail!"")?lower_case?contains("xxxg@xxx.dk"))
>
true
</#if>
