Different number of outputs from a interface

So, I have an interface that depending on the values it could have 2, 3 or more outputs, but it´s not fixed, could be 50. How can I create just as needed rule input to save info for the process? Example I bought 3 objects, then i have to put the info for all the 3 objects and write them in a datastore

  Discussion posts and replies are publicly visible