Personalizing Your Flows

Use case: Personalize your user experience

Once you're sending user properties to Appcues, you can use them to personalize the contents of your flows. Here are some interesting ways Appcues customers have used user properties:

  • Using the customer's name in a message. 
  • Including the name and face of each customer's account manager to reinforce an existing relationship.
  • Linking customers to a dynamic URL that includes the user ID.
  • Adding tracking parameters to a URL or redirect used within a flow.
  • Loading a dynamic banner image based on the customer's plan type.

The possibilities are limitless, and there are two ways to do it yourself:

1. Use the "user data" dropdown

Once sending user property information you'll notice the below person icon when editing Modal or Slideout text. Click the icon to reveal a dropdown that will automatically insert the variables into the right format. Once selected, you'll see that it simply adds the name of the property, between two sets of curly braces. *Keep in mind that the variable will only show as intended when tested live.

 

2. Add a fallback value

After you've chosen the user property you'd like to use, you can opt to select a fallback value in case the first is unavailable when the flow shows. We will supply a few potential options, but most people will want to use a custom fallback.

To do so, scroll to the bottom of the list and select 'Custom text...' You will then be prompted to enter in the text of your choosing. 

You can also opt to choose 'No fallback', if you'd like.

3. Insert the curly braces yourself 

If you'd like to use these variables in your tooltips or hotspots, or in more advanced ways like to change the source URL of an image, you'll need to add the property in manually. Please ensure that there are two curly braces immediately wrapping the name of the variable you'd like to use. 

Ex. {{name}} or {{userId}} 

The key to doing this successfully is to ensure that the property name is formatted correctly. Capitalization matters and there should be no spaces between words in the brackets.

If you aren't certain that a variable will have a value assigned to it, you can add a fallback value using the pipe character | and a value enclosed in double quotes ", like this:

Hi {{ name | "there" }}! 

If the user has the name variable assigned, you'll see something like Hi Alice! But if no value has been assigned to the name variable, you'll see Hi there! You may also modify the output to add a unique fallback if you've elected to use option one above.

NOTE: User property values will not show up in Preview mode. To test your user properties, set your flow's audience targeting to "Just Me", publish your flow, and then view it live to see the user property values.

Still need help? Contact Us Contact Us