Hi guys - I have a question.
I want to create an appwrite cloud function - this function should every time a user sign up copy some attributes from the Account Data into the user_data collection - how is this possible?
The reason behind this is I need to extend the attributes of a user.
Thanks - Best regards
you can do trigger the cloud function when user signs up
you can goto your function's settings, find Events, create new event:
learn more about events here: https://appwrite.io/docs/advanced/platform/events
so now your function will automatically trigger everytime new user signs up, and you will get user data inside your function which you can use to store it into collection and do your stuff.
Recommended threads
- The current user is not authorized to pe...
I want to create a document associated with user after log in with OAuth. The user were logged in, but Appwrite said user is unauthorized. User is logged in wi...
- Having issues with login via CLI
``` ~/appwrite appwrite login --endpoint https://localhost/v1 --verbose ? Enter your email myvalidemai...
- Attributes Confusion
```import 'package:appwrite/models.dart'; class OrdersModel { String id, email, name, phone, status, user_id, address; int discount, total, created_at; L...