Greetings.
I'm currently developing a flow in Power Automate, which runs as follow:
- Order1 is primary list, Order2 is secondary list
- New input will be captured in Order1 for each product ordered
Based on trigger, there will be revision in Order2 for every new input from Order1:
- If the product has been ordered before (same product name as current list), it will update current line/ row in Order2
- If the product is first-time ordered (new product), it will create a line/ row in Order2
Order1 is the individual product order.
Order2 is the cumulative product order.
Here's the layout for SharePoint Lists Order1 and Order2:-


What is the suitable walkthrough/ process flow to be created in Power Automate to
I have tried this approach before:
Trigger > Get Item > Condition > Update Item/ Create Item,
but now I'm stuck at merging/ combining two or more rows (which has same product name) in Order1 to single row in Order2.
(example as above: ItemA)
Kindly assist
Thanks