Rank 2: Process
Is there a way to execute a Function when a new account has been created, as a type of callback?
Votes
0
Replies
7
Participants
Unknown
Messages
8
Rank 2: Process
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
Rank 2: Process
Thanks!!
Rank 2: Process
Amazing responsiveness ❤️
Rank 2: Process
I'll dive into the docs