Hello,
I've been working on this small flow. The ideal scenario is that the user manually triggers the flow, submits 2 numbers and then the flow sends emails based on other criteria but I'm having trouble with 2 specific steps.
1. Get file content: For some reason, I cant set this flow to get the content of the files correctly in a one drive folder if I change the trigger to trigger manually. Currently, the trigger is "When files are created" but is there a way to get the content of the files in that folder without having to rely on this type of trigger?
2. Loops: I'm having a hard time understanding these. When I test my flow, sometimes it sends the same email twice or thrice. Could you give me some tips on how to make this flow more efficient?
Here's a screenshot of the current flow:

Basically, it triggers when someone adds excel files to a one drive folder. The flow goes to that folder, checks if the excel file contains an ID that matches a customer and if that's the case, it sends the excel file as an attachment.

Thank you so much for your time!!