Zapier Integration

Integrate anything into Absinthe with Zapier

Zapier is a powerful automation platform that enables you to award points for actions across a vast array of platforms. This integration significantly expands the scope of activities you can reward through Absinthe.

Versatile Point Issuance

With Zapier, you can issue points for diverse actions such as:

  • Submitting a Google Form
  • Registering for a Luma event
  • Checking in at an Eventbrite event
  • Receiving a specific Discord role
  • Creating a new issue or commit in a GitHub repository
  • Commenting on a Reddit thread
  • And much more!

Integration Guides

To help you get started, the Absinthe team has created guides for popular Zapier integrations:

Custom JavaScript Action

For more advanced integrations or when you need fine-grained control over the point issuance process, you can use Zapier’s “Run JavaScript” action. This allows you to make direct GraphQL calls to the Absinthe API.

Setting Up the JavaScript Action

In your Zap, add a new step and search for the “Run JavaScript” action. Copy the provided code into the Code field. Make sure to replace ‘your_bearer_token_here’ with your actual Absinthe API key or set it up as an input variable. Adjust the GraphQL query variables (address, amount, event_name, etc.) according to your specific use case.

You will need to pass the necessary data (like Discord ID) and bearer token as input fields from previous steps in your Zap.

Customizing the Action You can modify the JavaScript code to suit your specific needs:

Change the address to dynamically use a value from a previous Zap step. Adjust the amount based on specific conditions or calculations. Modify the event_name to accurately describe the triggering event. Add or remove fields in the metadata object to store relevant information.

Use console.log() statements in your code for debugging. The output will be visible in the Zap’s run log.

Best Practices When using the custom JavaScript action:

Always secure your API key and never expose it directly in the code. Use descriptive event_name values for easier querying and analytics. Include relevant metadata to provide context for each point issuance. Handle errors gracefully to ensure your Zap doesn’t break unexpectedly.

By leveraging this custom JavaScript action, you can create highly tailored integrations between Absinthe and any platform supported by Zapier, opening up endless possibilities for rewarding user actions across your ecosystem.

Issue Points for Eventbrite Check-Ins

Learn how to reward attendees of your Eventbrite events with points.

Reward Discord Role Assignments

Discover how to issue points when users receive specific Discord roles.

Points for GitHub Activity

Explore ways to reward contributions and activity on your GitHub repositories.