Depending how many there are, you can paste a comma separated list into the Add Users to the group box, if that’s any use?
(There’s also an Automation to add users to a group based on a badge, which you could use this SQL as a base for. That might be a little convoluted if you’re happy with the Rails option though)