Goal
Need Xero invoice lines like:
Product 1
Freight (Product 1)
Product 2
Freight (Product 2)
Each product has its own freight value from a custom object from Hubspot.
Current flow
HubSpot → Iterator → Get Custom Object → Set variables → Xero Search Item → Router (create if missing) → Array aggregator → Xero Create Invoice
Where I’m stuck
How to “split” the product array, make two line objects per product (product + freight), then “combine” them back in order for Xero.