The workflow templates are submitted by a mix of community members and us, I have made a note to have a chat internally about what we want to do in these cases.
Short tip : find a way to determine you are on the last run.
If not, you will have as many arrays as you have runs…
For my workflow, it’s to navigate between pages in an paged API. I have the count of entries. I test the array length, if It’s not the count of entries, I return nothing.