Search code examples
triggersconditional-statementspower-automate

Email trigger conditions not working in Power Automate


I need what I would think is a very simple set of trigger conditions for incoming emails in Power Automate using When a new email arrives in a shared mailbox - trigger only if incoming email is from a specific domain and if the subject contains a specific string.

enter image description here

I have tried different combinations (including endsWith for the email domain) without success and keep getting errors like:

The template language function 'xxx' expects its first parameter to be of type string. The provided value is of type 'Null'

Help to identify my error greatly appreciated!

C


Solution

  • I built a new trigger, which inserted an array by default and changing the trigger conditions to Outputs got it running.

    enter image description here