Hello community!
My team has a share point list with the following columns:
| Batch ID | Item name | Provider | Cost |
| AB01 | Apple 1 | A | 50 |
| AB01 | Apple 2 | A | 90 |
| AB01 | Apple 3 | B | 10 |
| AB03 | Apple 4 | A | 95 |
| AB04 | Apple 5 | A | 78 |
I want to create a workflow when items under the same batch ID are created on the list, an email can be sent to each provider. In the email, I want to create an html table listing all the item name and cost under that provider.
Email for Provider A - AB01
| Item name | Cost |
| Apple 1 | 50 |
| Apple 2 | 90 |
Email for Provider A - AB03
Email for Provider A - AB02
Email for Provider B - AB01
I am stuck in the step of grouping items under the same batch ID in one html table and one email.
Could anyone help me out?