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
- script "build" was terminated by signal ...
Heyo, For some reason, my Next.js 16.0.10 version does not build properly. Here is the last logs: ``` 1063 packages installed [22.54s] $ next build ⚠ No build...
- Error with realtime channels
I'm performing a subscription to realtime channels, and after a few seconds I get an exception with this error: {\"type\":\"error\",\"data\":{\"code\":1008,\"me...
- Bug: Cloud Function On Schedule Didn't R...
Heya I have a cloud function with this cron `0 17 * * *` to run at 9AM PT every day. I have not touched this since I set it up, and it has been working fine s...