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
- router_deployment_not_found
I updated my function a few times and now i am getting the error: router_deployment_not_found I even reverted back to my original code but i am still getting th...
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- [Beginner] CLI --queries Syntax Error & ...
Hi everyone! I am a beginner with Appwrite and trying to use the CLI, but I'm stuck with a syntax error. Any guidance would be greatly appreciated! 🙏 **Enviro...