Hi, hope you are doing well.
You are actually really close. I am assuming you have used the Outlook trigger "When a new email arrives (V3)". The reason you are not seeing attachments in the 'Select an Output from previous steps' is because by default the trigger does not include the attachments. You have to manually make it include attachments.
Here are some screenshots for your reference:
1. Mark the "Include Attachments" parameter as "Yes" in your trigger.
2. In your Apply to each action, you will now see "Attachments" from your trigger that you can add in the 'Select an Output from previous steps'.
3. You can then add a "Get Attachment (V2)" action inside the loop to get the content of the attachment. You can get the Message ID from your trigger (triggerOutputs()?['body/id']) and the Attachment ID as the current item in the loop (item()?['id']).
==================================================================
If this reply helped you in any way, please mark 'Yes' for "Was this reply helpful?" and give it a Like 💜
In case it resolved your issue, please mark it as the Verified Answer ✅.