Skip to main content
Lara Simpson
Community Ninja
Asked a question 11 months ago

How to automatically add user to a specific group inside the community, if the user is on a paid plan on my website?

Where am I?

In Tribe you can ask and answer questions and share your experience with others!

Eli Tribe TEAM
Customer Support Manager at Tribe

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- 
https://www.loom.com/share/87ea37c35d2445e1bd22e991fd639c08