How to use a Single Variable to get a Data Array from Multiple Iterations without parsing to JSON

Hey Makers,

I was able to get my multi-attachment email scenario to work by storing the data from my HTTP requests into a Datastore for each of my records and then grab those files in my main flow.

I am also trying to build a backup scenario in the event that file size becomes a concern by using JSON and Arrays instead. Trouble is I am working with Binary file data so I cant just simply Parse the JSON. I got the scenario to work using a combination of Arrays and Variables but I would like to make the scenario more sustainable by creating an automated way for getting the data from every File Iteration as a Single Array Variable called “Data Array” instead of having to indicate “Data Array 1”, “Data Array 2”, etc for each iteration, of which can be any number of file iterations.



This is the final Data Array output for the Email:
image

Thanks for your time and assistance
EmailMultipleFilesBlueprint.json (201.1 KB)