Create flow with input and/or grouping devices


I have 5 devices (bedroom ceiling lights, each with a Ikea trådfri bulb) that I would like to control as one device. I know I can use the group app, but I’d prefer to make a flow with an input parameter. Is it possible to call a group with a parameter of something like “30” and have the dim level set to that value?