On this page

Create Decision

After you create a Business Object and a metric, start acting on them. Configure Decisions and related rules to evaluate metric data. When a condition is met, the Decision triggers predefined actions.

Creating Decisions for customers

If you are a PubNub partner with Illuminate embedded, create Decisions for yourself or your end customers in the Admin Portal. See Illuminate for PubNub Partners for details.

Use case

For our use case, create a Decision based on the previously created and activated Game engagement experiment Business Object and the Message sum metric.

Configure a Decision that sends a personalized message with a discount code to guilds when they publish 100 or more messages within 30 minutes.

icon

Check configuration details

Steps

Follow these sections to configure a Decision with actions and rules.

Create actions

Create a Decision and define actions.

Add conditions and rules

Create rules that trigger actions when conditions are met.

After you configure and save the Decision, activate it.

Activate Decision

Activate the Decision to evaluate rules and run actions.

Conditions for activating a Decision

Head to the Additional details section for details on conditions that must be met to activate a Decision.

After activation, you can still edit values in rules.

After activation, rules run and actions can trigger. View results on a Dashboard with a chart for the same metric.

Illuminate for PubNub partners

If you’re a PubNub partner, you see a drop-down to choose who you work on in Illuminate.

  • Select your own company name at the top of the drop-down if you’re creating Decisions for yourself.
  • All customers to see which customers have been set up with Illuminate.
  • A customer name to see only their Decisions and start creating or editing only for this one customer.
  • All internal and customers for your own Decisions and those of the customers.

Create Decision for end customers

The Customer column shows whether a Decision belongs to a customer or your organization.

  • If you don’t see a customer in the drop-down menu, go to the Partner Portal section of the PubNub Admin Portal and make sure you’ve created the customer in PubNub and assigned a keyset to them.
  • If, after selecting the customer, you don’t see apps or keysets for selection, assign keysets for this customer in the Partner Portal.
Last updated on