Hi,
I am pulling data from an excel table into flow in order to send emails. Each excel row has 'ID' , 'NAME', 'EMAIL',...etc
I have created a manually trigger a flow --> List rows present in a table --> Apply to each (Send an email (V2)).
The issue that I am facing is that if the same 'ID' appears e.g. 3 times in the table, it will send 3 emails to the same person.
What I need is all rows having the same 'ID' or 'EMAIL' to be combined in a single email but to include all data of the rows.
In other words
| ID | DATA | EMAIL |
| 1234 | DATA1 | someone@somewhere.com |
| 1234 | DATA2 | someone@somewhere.com |
| 5678 | DATA3 | somebody@nowhere.com |
If rows have the same 'ID' to get together in a single email and get the sum. So it will show something like
| ID | DATA |
| 1234 | DATA1 |
| 1234 | DATA2 |
| | =SUM (DATA1+DATA2) |
And then the rest of the rows (I have accomplished this and it works without issues)
Thank you