I’m new to Flow. I set up a flow to tag specific orders and trigger an email. The email needs to include details of the products ordered. I reached out to support because, whilst I could add the line items and the quantity, the output listed all the quantities in a row and then the products, but not 1 x product1, 3 x product2 etc.
The technician worked on it and came back with a proposed solution of code, which I’ve applied. It now lists the products and quantities in a related manner - but when there is a size variant associated with the line item, the size variant is not coming through. So in this case, we are talking about joints of meat which have variant sizes such as 1kg, 2kg, 3kg etc. The email is only recording the number of joints required, but not the size. Previously, when I set t up myself using the standard Flow fields but the quantities didn’t line up, the variant size was coming through on the email.
I can’t find a way to adjust the otherwise successful new code!
The existing code suggested by the technician is:
which gives output like this:
Both those products should have variant sizes on.
My original code, whilst not lining up the quantities and products, did include the variant size, where applicable, like this:
Please can anyone point me in the right direction to adjust?


