Not that it’s necessarily useful for your situation, but if you weren’t using the legacy template in Sendgrid then you can iterate through a list of JSON items. In my case I created the JSONest plugin to allow both lists and nested lists (things of things) to work with sendgrid specifically. In my case I t was a list of orderitems
and those orderitems
– each with list of customizations
Works like a charm for this purpose.
1 Like