Hello, hopefully I will be able to explain my problem clearly.
I have a flow that need to send an e-mail at the end containing attachment.
I can add attachment no problem using an append to array variable and it work fine.
The problem:
The flow use an apply to each, so sometime I will need to send 3-4-5 different e-mail and since the append to variable is within the flow, each e-mail get an increment of attachment from the previous item in the apply to each.
So the first e-mail will get is own attachment which is good,
the 2nd email will get the attachment of the first 3 e-mail
3rd e-mail will get attachment from the first 3 and so on...
I need each e-mail to only get their respective attachment..
Here are some screenshot to maybe help understanding a bit


the probleme seems to be somewhere in the 2nd e-mail.
How can I used only the attachment from the specific item in the apply to each loop to get attach to the right e-mail, if that make sense?
Thanks in advance!