Bulk Add Users to Buddypress Groups

I’m about to import bulk users to my buddypress intranet setup and owuld love to be able to assign groups of users to buddypress groups automatically.

Does anyone know of a solution to this problem, bulk adding users to groups instead of group admins having to first friend them and then invite them.

Anything which would speed up that process would help alot.