Example: Automatically issue points to users when they are assigned specific roles in your Discord server using Zapier and Absinthe’s API. Simply modify the Zapier Trigger from Discord Role to any other Discord Trigger to award points for other discord events

Setting Up Trigger Of Your Choosing

Choose a trigger that watches for events on the app of your choosing to award points for.

To reward users with points when they receive a specific role in your Discord server, you’ll need to set up a Zap in Zapier that listens for role assignment events and then triggers a point issuance through Absinthe’s API.

Example Integration Walkthrough

1

Create a New Zap in Zapier

Log in to your Zapier account and click on “Create Zap”.

2

Choose Discord as the Trigger App

Search for “Discord” in the app selection and choose it as your trigger app.

3

Select the 'New Role Assigned to Member' Event

From the list of Discord events, select “New Role Assigned to Member”.

4

Connect Your Discord Account

If you haven’t already, you’ll need to connect your Discord account to Zapier. Follow the prompts to authorize Zapier to access your Discord server.

5

Choose the Discord Server

Select the specific Discord server you want to monitor for assignments.

6

Test the Discord Trigger

Zapier will attempt to find a recent role assignment to test the trigger. If successful, proceed to the next step.

7

Add Absinthe Action

For the action step, search for and select “Absinthe”.

We will provide you an invite link for access to our Absinthe Zapier Action.

8

Enable 'Give Points' Functionality

In the setup for Absinthe, select Give Points as the Action Event.

9

Add Absinthe Account

In the setup for Absinthe select your Account. An authentication pop-up will ask you to event an API key which we will provide you, then select “Continue to Absinthe”.

10

Set Up the Action Input Data

In the Input Data field Action, you’ll select the relevant event info*, for example: The User Id from the value field dropdown as Account ID.

11

Finish

Select test in the bottom right to verify your set up, Then select publish in the top right to go live!

Customizing Points Based On Conditions

If you need to give points for conditions such as only given points for specific role assignments, instead of ALL role assignments, you can set up a Filter step to only allow specific roles through.

If you need more in-depth customization, please see our example guides for using ustom Javascript!

By following this guide, you can create a seamless integration between off-chain events and your Absinthe points system, automatically rewarding users for their engagement.