Save excel attachment from shared outlook to sharepoint

Hi experts,

I have simple flow which reads excel attachment from shared mailbox and save to SharePoint.
I have designed it in a way where it loops through all the attachments of email and only brings back excel files.
below is my flow:

but I am getting error on Apply to each loop step which is:

ExpressionEvaluationFailed . The execution of template action ‘Apply_to_each’ failed: the result of the evaluation of ‘foreach’ expression ‘@triggerOutputs()?[‘body/attachments’]’ is of type ‘Null’. The result must be a valid array.

below is step wise my design:



Can you please help where I am missing?

TIA