POC for multiple Invoices

Topic summary

A user is working with Shopify Flow and needs to manipulate loop functionality. They have an order metafield containing JSON-formatted data and want to perform operations like getFirst and getLast on the data structure. The question remains unanswered, with no solutions or workarounds provided yet.

Summarized with AI on October 31. AI used: claude-sonnet-4-5-20250929.

Is there a way that you can manipulate the loop in the flow? Because I have a meta field in my order, and It is in JSON format, I would like to do the getfirst, getlast.