How to pass non-object parameter to microflow?

Is there any way to pass a value (for example an integer) to the microflow as parameter, but from e.g. a button and not as an etity value? I have 8 buttons, each one should call the microflow with a different integer parameter, from 1 to 8 (which should at the end show a different set of data of the same table depending on the integer). Or the only way to do this is to create 8 separate microflows for each button?
1 answers

Indeed but you could create one submicroflow with the integer as parameter. Then in the 8 main flows create the integer and then all 8 flows have the same submicroflow.