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.
2. Set Up the Discord Trigger
Choose Discord as the trigger app.
Select “Message Reaction” from the available events and connect your Discord account.
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.
4. Add Absinthe as an Action
In the next step, choose Absinthe as your action app.
Select “Give Points” as the action event.
Connect your Absinthe account by entering the API key.
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.
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.
Example Integration Walkthrough
For a visual walkthrough, check out our Loom video guide to see each step in action.