This is a Vercel lambda function to collect waitlist emails to store in a notion database
To get your Notion keys, head over to the integrations page and create a new integration
Duplicate this template and head over here to know how to get your Database ID.
Once duplicated, connect your database to the integration you created earlier. Read more here
NOTE
⚠️
Don't forget to set yourNOTION_API_KEYandNOTION_DATABASE_IDin your.envfile when running locally or in your project setting when running on vercel cloud