Skip to main content
Austin Henwood
Community Ninja
Asked a question 10 days ago

How to automatically add X amount of virtual currency to users' accounts when they achieve Y amount of the reputation in the community?

Where am I?

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

CJ VermaTribe Team
Implementation Specialist

Hi Austin,

Hope you're doing well!

We can achieve this with the help of Zapier. It's a bit complicated process so I have recorded a video with step by step information. Here's the video- 

https://www.loom.com/share/563c432999874910b78c6244319f5bb1

 

Here's the step by step process. To begin with, we need to ensure that we have the following apps downloaded in our Tribe Community:-

1. Reputation6

2. Virtual Currency7

3. Webhooks6

4. Zapier5

To begin with, we need to create a Zap in the Zapier App. It will be a 3-way connection between 2 Apps. 
1. Webhooks by Zapier
2. Filter by Zapier
3. Webhooks by Zapier

Step-1- Under Webhooks by Zapier, the trigger event that you will need to select is Catch Hook and hit continue. 

Step-2- Copy Custom Webhook URL and add it under the URL section in the Webhook Trigger. The video covers how to set it up in detail and test the trigger. It will pull the information. 

Step-3- Under Filter App, you need to set up a filter so that it only moves forward after a user hits a certain score. For example- If you would like the user to receive a reward once they hit 1000 reputation score, Filter needs to be set to greater than 999. Please follow the steps in the video to set the filter. 

Step-4- You need to move to "Webhooks by Zapier" and select 'Post' as an event action.

Step-5- In the URL section, you need to add "https://your-community-url/api/v1/users/Actor6 ID/credit

--> Actor ID- It needs to be selected from 'Catch Hook' section.

Step-6- Payload Type can be JSON and then in data, the following information needs to be added-

How to automatically add X amount of virtual currency to users' accounts when they achieve Y amount of the reputation in the community?


Wrap Request In Array needs to be no.

Unflatten needs to be no as well.

Lastly, Headers needs to be added in the following format

How to automatically add X amount of virtual currency to users' accounts when they achieve Y amount of the reputation in the community?

Post that, you can simply enable it for the users. 

If in case you run into any questions, please don't hesitate to reach out.