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.
TL;DR
A developer using NextJS and Appwrite Cloud is trying to automatically apply a label to new registrants. The solution involves creating a function to watch for the event `users.*.create` and assigning the label using the `updateLabels` method in the server-side SDK.
Kenny
12 Aug, 2024, 21:36
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.