I'm trying to understand how trigger conditions are used. I am working with a simple example where the event that triggers the flow is a new email with attachments, and I want to use a trigger condition so the flow only starts if the email's subject contains a certain word. The attachments are then saved in a SharePoint folder.

It's suggested in the documentation, that I create a "Filter Array" action after the trigger, set the condition, and then extract the condition command and paste it into the trigger condition field in the trigger. So I do this:

and then delete the Filter Array, and do this:

When I save, I get an error saying that the trigger has invalid expressions for input parameters. I assume it's { } because if I remove them and instead of item I put triggerOutputs or triggerBody, it let me save, but when I test the flow, the error I receive is that the value of the first arguement of contains is Null.

In the end what I'm asking is, how to access the element "subject" (or any other like sender, etc) from this trigger? And how the output being an array of emails (of one element, as I understand) affect the method to access the field?
Thanks a lot in advance.
PS. I know the Trigger has a "subject" field that I can use to do the same, I'm just exploring how should I work with trigger conditions.