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
Summary
Message: To achieve this, you can create an appwrite cloud function that triggers automatically every time a new user signs up. Inside the function, you can access the user data and store it in the user_data collection. This will allow you to extend the attributes of a user. You can learn more about events and how to create a new event in the function's settings.
kamal.panara
Jan 19, 2024, 13:08
you can do trigger the cloud function when user signs up
kamal.panara
Jan 19, 2024, 13:12
you can goto your function's settings, find Events, create new event:
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.