有办法以编程方式加入群组吗?

I my use case I would create groups based on employee data, like branch id and position.

Better handle this through API then.