I have what I would think is a very simple set of triggers 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.

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