Eventbrite Integration
Reward users with points when they purchase Eventbrite tickets
Example: Automatically issue points to users when they purchase tickets for your event using Zapier and Absinthe’s API. Simply modify the Zapier Trigger from New Order to any other Eventbrite Trigger to award points for other Eventbrite actions.
Setting Up Eventbrite Ticket Purchase Listener
To reward users with points when they order tickets, you’ll need to set up a Zap in Zapier that listens for ticket purchase events and then triggers a point issuance through Absinthe’s API.
Create a New Zap in Zapier
Log in to your Zapier account and click on “Create Zap”.
Choose Eventbrite as the Trigger App
Search for “Eventbrite” in the app selection and choose it as your trigger app.
Select the 'New Order' Event
From the list of Eventbrite events, select “New Order”.
Connect Your Eventbrite Account
If you haven’t already, you’ll need to connect your Eventbrite account to Zapier. Follow the prompts to authorize Zapier to access your Eventbrite.
Choose your Eventbrite Organization
Select the specific Eventbrite organziation you want to monitor for orders.
Test the Eventbrite Trigger
Zapier will attempt to find a recent order to test the trigger. If successful, proceed to the next step.
Add a 'Run JavaScript' Action
For the action step, search for and select “Run JavaScript” by Zapier.
Set Up the JavaScript Action Data
In the Input Data field of the Run JavaScript action, you’ll set the key to user_email and the value to the Email from the dropdown. Then you will create another Input Data field, set the key to order_price, and the value to “Attendees Costs Base Price Major Value” for the pruchase price.
Set Up the JavaScript Action Code
In the Code field of the Run JavaScript action, you’ll paste and modify the provided JavaScript code to issue points through Absinthe’s API. Insert the API KEY we provided you to the “bearerToken” variable in the code where it says “your_api_token_here”. Then, set up the points you want to give based on conditions like the price, in the section “set up points based on conditions according to your liking”.
Custom JavaScript Action
Use the given JavaScript code in your Zapier “Run JavaScript” action to issue points when a new order is placed:
Customizing the Action Modify the JavaScript code to suit your specific needs:
Adjust the amount of points issued based on price of order.
Ensure you’re passing the necessary data (user email, order price, etc) from the Eventbrite trigger step to the JavaScript action in Zapier.
Best Practices When setting up this Eventbrite integration:
Use a clear and consistent event_name (e.g., “eventbrite_order_placed”) for easy tracking.
By following this guide, you can create a seamless integration between Eventbrite orders and your Absinthe points system, automatically rewarding users for their engagement and roles within your community.