Users who are invited via email can be assigned to a group automatically in the invite link.
If all of these user come from same domain @example.com that can be configured in the group setting to assign anyone signing up with that domain’s email will be added to group.