
My stack is NextJS and Appwrite Cloud. I am trying to automatically apply a label named "applicant" to new registrants through a form. Is this possible at all? I have been looking for a few hours and can't seem to find a way to do it efficiently.

You can create a function to watch for the event users.*.create
and assign the label then. Labels need to be assigned using the server side SDK.

You'd use this method
https://appwrite.io/docs/references/cloud/server-nodejs/users#updateLabels
Recommended threads
- File tokens regenerate each page reload
Hello, on appwrite 1.7.4, when I create a file token via the API Tokens(appwriteAdminClient)#createFileToken I get a secret, then when I check in the console t...
- CSV Import Shows Success but Data Not Ap...
I tried importing a CSV file into my PRODUCTS collection. The dashboard shows the message “Import to PRODUCTS completed successfully,” but no data appears in th...
- Console create row ui not passing ID.uni...
I'm getting an error saying the id is already used but it should be created with ID.unique() it doesn't seem to be reading the row ID field at all. I can't get ...
