You can design Triggre to automatically update the Full name of a User as soon as they make changes to this data field.
Step 1: Data item User
First of all, rename the Property Name to Full name.
Add First name, Surname prefix, (or initials, depending on the country) and Last name.
Step 2: User flow My profile
Start by creating or modifying the User flow My profile. Insert all Name Properties except Full name as Form fields in the profile. Afterwards, delete the Form field Full name and replace it by a Detail.
The first time an User enters this Page, they will see their User Full name. The other Name Properties will be Empty.
To be sure that they provide their First and last name, these Properties are Required.
Step 3: create the Flow part Generate Full name
-
Input is the User.
-
For First name and Surname prefix: if there is a value present, combine the Name with a space (you want spacing between the Properties):
-
For Last name just combine with an Empty Specific value (it looks the same on the screen, but there is a difference):
-
Combine all Properties to the Full name:
The decisions make sure that if there is no value available, there is no unnecessary space in Full name.
Note: the Flow part below checks for a value in First name and Last name. If you make these Properties Required in all your Users flows, this is not necessary. On the other hand: maybe someone imports this data. Then the data might not be there. Safety first…
Step 4: create the Automation flow
The Automation flow starts when either Name Property changes:
The Automation flow triggers the Flow part: