Hi Sumaira,
Let's build a simplified flow to send won and closed opportunity records to specific mailboxes.
1. Overall look:
2. In second action, our filter should be statecode eq 1 or statecode eq 2,
1 stands for won, 2 stands for lost, while in your screenshot, that's statecode eq 1 or statecode eq 2 or statecode eq 3,
it'll retrieve all opportunities in fact without filter.
you can find code definition in opportunity entity introduction:
https://docs.microsoft.com/en-us/dynamics365/customer-engagement/web-api/opportunity?view=dynamics-ce-odata-9
3. I found that we don't need to create an array to append records,
the third action: Create HTML Table will helps us to complete retrieved result iteration automatically.
4. We just need to populate To field likes below:
aa@outlook.com;bb@outlook.com;cc@outlook.com
with semicolon to separate different mailbox.
Recipients will become different separate bubbles after we save the flow and check again.
5. Run test
6. Result:
Then you can replace the first action to recurrence schedule action.
In addition, I met exception in my environment while trying to convert file to pdf by One drive convert file action with ba365guy's link,
even though I had created file successfully, you could test whether it could work in your environment once you receive email with table.
Regards,
Clofly