Public
Like
2
Clerk-to-Sendgrid
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v19View latest version
Automatically sends welcome emails when new users sign up via Clerk webhooks.
- Set
SENDGRID_API_KEYenvironment variable - Update constants in
main.tsx:FROM_EMAIL,FROM_NAME,EMAIL_SUBJECT - Deploy the function
- Add webhook endpoint in Clerk dashboard for
user.createdevents
Deploy newUserWelcomeEmail function and point Clerk webhook to it.