Gather User Information with a Get Records Element
Now, get the user’s information so the flow can then assign the privacy settings to the user. If the customer is only signing up for the portal, the flow will use the information they enter. Let’s collect their first and last name, as well as their email address.
- On the flow canvas, on the path after the Start element, click . Select Get Records (watch the Get Records video to learn more).
- For the label, enter
Get User Info
. The API Name field is automatically populated based on this entry, and should beGet_User_Info
.
- For Get Records of this Object, select User.
- For Condition Requirements, select All Conditions Are Met (AND).
- For Field, select Id.
- For Operator, select Equals.
- For Value, select LoginFlow_UserId.
- For How Many Records to Store, select Only the first record.
- For How to Store Record Data, select Choose fields and assign variables (advanced).
- For Where to Store Field Values, select Together in a record variable.
- In the Select Variable to Store User section, for Record, select UserInfo.
- Click Add Field three times, so there are four blank Fields to fill in.
- In the Select User Fields to Store in Variable section, select these fields.
-
FirstName
-
LastName
-
AccountId
-
ContactId
- Save the flow.
Resources