Is there a way to execute a Function when a new account has been created, as a type of callback?
Yes,
You'll need to set trigger
for your function.
Here you can see all avaiable account events https://appwrite.io/docs/events#authentication-events
You'll probably use this one
users.*.create
= This event triggers when a user is created
You can set the trigger to the function either in the function settings page π.
Or in the appwrite.json
file that you'll have after you've initiate the function using the cli as you can see here;
https://appwrite.io/docs/functions#gettingStarted
Thanks!!
Amazing responsiveness β€οΈ
I'll dive into the docs
Recommended threads
- Upgrade Issue
Am having issue upgrading my appwrite account to pro as my card number is 19 and the required input is 16 digit
- createEmailPasswordSession Error using S...
Did someone succeed using SSR approach for login?
- [Solved] how to get user prefs from serv...
i want to get a specific users preferences from serverside maybe i missunderstood something