Welcome to Zuora Product Documentation

Explore our rich library of product information

Build rules with user state maps

Learn how to build rules using user state maps to deliver tailored outcomes based on user engagement levels.

This example shows how you can use a user state map in a rule. A sub-rule determines the state of the end user, and feature outcomes are added for each state.

For example:

  • Engaged users see an in-article paywall to encourage subscriptions.

  • VIP users receive an ad-free premium experience.

  • Lapsed users see a Come back, we miss you custom component block message.

In this example, you will:

  • Add three user states for authenticated users. See Add Your States.

  • Add transitions for each user state. See Add Your Transitions.

  • Build a sub-rule that determines the end user's current state. See Build Your State Sub Rule.

  • Build the main rule that delivers different outcomes for each user state. See Build Your Main Rule.