In the screenshot, You use teh trigger when an item is created -- SO this is specific to the list items and if you have attachments on the list then you should use the get attachment content action.
For the files, you should change the trigger to when a file is created instead.
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!