Setting Up Luma Register/Check-in Listener

To reward Users with points when they register and check into events, you’ll need to set up a Zap in Zapier that listens for Event Guest Updated events and then triggers a point issuance through Absinthe’s API.

IMPORTANT: The event UUID should be used instead of the event name. Please disregard this section in the Loom.

Here is a Loom helping you walk through each step! https://www.loom.com/share/4d037021d00f4a1bb3b1fb8e4f8c2c91?sid=f5d46b1e-cb16-4632-88c5-a542f32280e1

1

Create a New Zap in Zapier

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

2

Choose Luma as the Trigger App

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

3

Select the 'Event Guest Updated' Event

From the list of Luma events, select “Event Guest Updated”.

4

Connect Your Luma Acount

If you haven’t already, you’ll need to connect your Luma Account to Zapier. Follow the prompts to authorize Zapier to access your Luma Account.

5

Choose the Luma Calendar

Select the specific Luma Calender you want to monitor for Event Guest Updated events.

6

Test the Luma Trigger

Zapier will attempt to find a recent register/check-in event to test the trigger. If successful, proceed to the next step.

7

Add a 'Run JavaScript' Action

For the action step, search for and select “Run JavaScript” by Zapier.

8

Set Up the JavaScript Action Data

In the Input Data field of the Run JavaScript action, you’ll set up 2 keys. The first key will be “checked_in” with the value set to “Checked In Date” from the value field dropdown. The second key will be “user_id” with the value set to “Email” from the value field dropdown.

9

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 amount of points to issue, and the event uuid in the code as marked. You will also need to modify the point amounts for register/check-in, and the event names as shown in the Loom.

10

Register Event Name on Points API

Register the event name that you want to issue points for. This event name will be used in the Event Name section in the step above.

Copy and paste the following query into the GraphQL playground at https://dka7gqe6jrgst.cloudfront.net/absinthe-gql.html Add your desired event name and description! Make sure to add your API key in the Authorization header in the Headers section as shown.

IMPORTANT: You must save the returned UUID from the response for that event. Insert this UUID into the “EVENT UUID” field when setting up your Zap!

By following this guide, you can create a seamless integration between your Luma Events and the Absinthe points system, automatically rewarding users for registering and checking in.