Hi everyone,
I'm building a user profile system, and I'm completely stuck on the final, critical step of my sign-up flow. Any help would be greatly appreciated.
My Goal When a user signs up, I need to create a document for them in my users collection. This document must contain the Authentication UID from the Create Account action.
This is essential because my main UserProfilePage has a backend query that filters the users collection to find the document matching the logged-in user's UID. Since the uid field isn't being populated, the page is always blank.
My Setup I'm using the standard two-action flow on my "Sign Up" button:
Action 1:
Firebase Authentication > Create Account(The built-in "Create User Document" toggle is turned OFF).Action 2:
Firestore > Create Document(This targets myuserscollection).
The Problem In Action 2, I try to set the value for my uid field. The problem is that the Action Outputs variable source is not appearing in the "Set from Variable" dialog. Without this, I have no way to get the uid from the first action.