How to Reward Discord Users with Reaction Points Using Absinthe & Zapier

Absinthe Network

post image

Integrating a points system into your Discord server can boost engagement by rewarding users with points for specific reactions to messages. With Absinthe’s API and Zapier, you can automate this process. Here’s a step-by-step guide to set it up!

Step-by-Step Integration Guide

1. Create a Zap in Zapier

  • Log into Zapier, click “Create Zap”, and start by selecting your trigger app.

post image

2. Set Up the Discord Trigger

  • Choose Discord as the trigger app.

post image
  • Select “Message Reaction” from the available events and connect your Discord account.

post image
  • Select the server you want to monitor for reactions.

3. Test the Discord Trigger

  • Zapier will now find a recent reaction to test the trigger. Proceed if successful.

post image

4. Add Absinthe as an Action

  • In the next step, choose Absinthe as your action app.

post image
  • Select “Give Points” as the action event.

post image
  • Connect your Absinthe account by entering the API key.

post image

5. Register the Event in Absinthe

  • Go to the Absinthe GraphQL playground.

  • Register the event name you want to use for point assignments, then copy and paste the provided query into the GraphQL playground.

mutation RegisterOffChainEvent {
    insert_points_config_registered_off_chain_events_one(object: {
        event_name: "<your_event_name_to_register>", 
        description: "<your event description>"
    }) 
    {
        id
        created_at
    }
}
{
    "Authorization": "Bearer <YOUR_API_KEY_HERE>"
    }

6. Set Up Action Input Data

  • Map the User ID from Discord as the Account ID in Absinthe.

  • Ensure the Event Name matches the one registered in Absinthe.

post image

7. Finalize and Go Live

  • Test your setup to make sure everything works. Once verified, click Publish to activate your new Zap.

By following these steps, you can seamlessly integrate your Discord reactions with Absinthe to reward your users. 

post image

Example Integration Walkthrough

For a visual walkthrough, check out our Loom video guide to see each step in action.

Collect this post as an NFT.

Absinthe Labs

Subscribe to Absinthe Labs to receive new posts directly to your inbox.

Over 2.2k subscribers