0. Prerequisites
This guide assumes:- You have an allowlist enabled for your Privy app. If you would like to enable an allowlist for your app, please reach out!
- You are managing a waitlist of users with Airtable, and that the base at minimum includes the user’s wallet address and a boolean/checkbox column for whether the user should be invited off the waitlist or not.
1. Create an automation
In your Airtable with your waitlist, create a custom automation by clicking on “Automations” in the top right corner of your screen, and then clicking “Create a custom automation” from the dropdown. You can find Airtable’s complete instructions around automations here.2. Configure a trigger for your automation
Once you start creating your custom automation, click “Add a trigger”, and select the “When a record is updated” option. Then, in the right sidebar that appears, under “Table”, select the name of your Airtable base with your waitlist. Under “Fields”, select the column from your base that indicates whether or not a user should be invited off your waitlist. This configures your automation to run whenever you update this column (whether the user is allowed or not) for any record.3. Set up your script
After you’ve configured your trigger, click “Add action” in the same automation. This will set up an action that runs whenever your automation is triggered. First, you need to configure the inputs for your action. In the right sidebar, under “Input Variables”, create the following two variables:- the user’s wallet address. Set the
Name
as ‘address’ andValue
as the column in your table with the user’s wallet address. - whether or not the user should be invited off the waitlist. Set the
Name
as ‘isAllowed’ andValue
as the corresponding column in your table.