I have a flow where I am taking two CSV files (Customers and Products) and splitting the data into an array with field names:
In the customer data there is one or more products per line. I'd like to do two things which I am unsure of the best method:
1 - check the customer product against the 'Products' data and take a different action depending on this result
Before
Company | Product | Count |
Company a | Product 1 | 50 |
Company a | Product 2 | 100 |
After
Company | Product 1 | Product 2 |
Company a | 50 | 100 |