Hi Lara. You can automatically add users to specific group(s) inside your community if the user has a specific differentiator on his/her account.
The differentiator can be something like: user's payment plan on your website, country, language, role, or any other information that you have from your side on the user's accounts. Then, you can use Tribe's "Webhooks+API"102 or "Zapier" 64app to set the automation. Zapier is much simpler, but if you decide to use the webhooks, you need to use "user.signup".
In case you are using SSO10, you can also simply pass the "group" as part of your SSO token. This will take care of automatically adding/removing the group to/from groups.
If you are worried about removing users from those groups when the user is not eligible to be part of that group anymore (for example the user is not on your paid plan anymore), you have 2 ways to automatically remove the person from the group:
- Use an API to update the paid member's list (this should be done by your tech team and from your end).
- Or to use Stripes's webhook (or the webhooks for any other payment software that you are using) to remove the user from a group on Tribe if the payment is canceled.
Here's how you can do it through Zapier-