Hi,
my situation is this, I have a flow where I've used the Get Emails (outlook) action and Get Items (sharepoint) action. Then used the Send an email from a shared mailbox (V2) action. I use the get items to determine the emails I need then send items with the email content. The flow is sending two emails but I only want it to send one. I assume it's something to do with the for each being inside apply to each. Any advice on how I could fix this? I think I've heard you can do this by creating arrays but I wouldn't know how. Any advice would be very much appreciated.
Photos of the array and content for reference:
Thank you,