Xcode Cloud - Adding TestFlight Post-Actions for n TestFlight Groups

We have multiple dev teams (let's say 10) and we would like to create a workflow for them to archive a build and push it out to their respective TestFlight team without letting them modify the workflow. Is this possible? Or would we have to create 10 nearly identical workflows, with the only difference being the Post-Action TestFlight group?

In GitHub Actions, for example, some actions triggered manually allow you to pass in variables to your workflow when you kick them off.