sivagowdaOriginal post
Rank 1: Thread
My function is triggering (users.*.create) whenever a new user is created. Is there any way to get new user data(such as email, userId etc) inside that function?
Summary
Solution: The payload from the event can be accessed using the `APPWRITE_FUNCTION_EVENT_DATA` variable. You can check the documentation for more information on function variables. In your case, if you want to get new user data such as email and userId when a new user is created, you can access this information inside your function using `APPWRITE_FUNCTION_EVENT_DATA`.
