Actually, the same code approach I shared applies to both scenarios. However, I will step back unless my name is featured prominently in a post.  ...
One other thing. If the subsequent step doesn’t handle the objects well, then JSON.stringify the object before placing it in the array: for (var i = 0...
Chrisboat, I believe the issue lies within your data manipulation in the code step. I recommend copying your current code to a secure location and rep...
Could you please provide a mockup of the expected output using the data that has been supplied? Is this what you are anticipating (with fewer headers)...
I’m not sure I see that as an issue. When you execute the step that fetches the variable number of items (likely an array), simply append a variable t...
Chrisboat - While I’ve not tried it myself, it seems to me that you could add a filter step at the bottom of the first “fork” which would only continu...
Here’s a little technique that works well for me in these scenarios: When the different array elements that initiate the fork or loop have related val...