tahakhawajaOriginal post
Rank 2: Process
Is it possible to add user preferences at the time the account.create function is called, or does it need to be updated after the user account is created?
Summary
You can create a function and set it to be triggered on the account creation event `users.*.create`. Inside the function, you can access the `APPWRITE_FUNCTION_EVENT_DATA` variable to set the user preferences using the User value. This allows you to add user preferences at the time the account.create function is called.