I have a trigger that detects whether a new email has arrived in a shared mailbox. However, this trigger should only activate if the email is not an invitation to an appointment.
I have already tried the following two approaches,
not(contains(triggerOutputs()?['body'], 'BEGIN:VCALENDAR'))
and
not(contains(triggerOutputs()?['headers']['Content-Type'], 'text/calendar'))
but I get an error when saving:
The power flow's logic app flow template was invalid. The template condition expression 'not(contains(triggerOutputs()?['body'], 'BEGIN:VCALENDAR'))' at line '1' and column '3557' is not valid template language expression.
same by Using Content-Type
How can i solve my problem?
Thank you for your help.