Create Decision

Once you have a Business Object and a metric, start acting on them. Configure Decisions and related rules to evaluate metric data and trigger predefined actions with business logic whenever the metric data hits a specific threshold (condition).

Creating Decisions for customers

If you are a PubNub partner who has embedded Illuminate into your own website as part of your offering, you can create Decisions for your own use or for your customers (end customers) in the Illuminate section in the Admin Portal. Read Illuminate for PubNub Partners for additional information.

Use case

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

We want to configure a Decision that defines a personalized message with a discount code to be sent to the guilds whenever the number of messages they publish within the 30 minutes period is 100 or more.

icon

Check configuration details

Steps

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

Create actions

Start by creating a Decision and defining what actions you want to trigger.

Add conditions and rules

Create rules that trigger actions whenever predefined conditions are met.

Once you configure and save the Decision (with actions and rules ready), you must activate the Decision.

Activate Decision

To evaluate the conditions and rules and execute actions connected in previous steps, you must activate the Decision.

Conditions for activating a Decision

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

After activating the Decision, you can still edit the values in the Decision rules.

Once you activate the Decision, the defined rules will start running, and the configured actions can get triggered. You can see that on a Dashboard with a chart created for the same metric you used in the Decision.

Illuminate for PubNub partners

If you’re set up as a PubNub partner, you’ll see a drop-down menu that allows you to select who you’re creating or working on Illuminate for.

  • 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

Depending on what you’ve selected from the partner drop-down menu, you’ll see a Customer column that provides information on who a Decision belongs to – a customer or your own 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 subscribe keys for selection, assign (a) keyset(s) for this customer in the Partner Portal.
Last updated on