In this article you will learn how to send a Notification as an Effect in your campaign rules.

It's easy to notify customers about special offers, promotions or errors with predefined messages when they interact with your service. The rules in your campaign will define when and what type of notification message will appear for a customer. 

For example, if you want to a customer to spend X€ to qualify for a discount, set up a notification that triggers when a customer has up to 49€ in their cart.

Before you start: 

Step 1. Create Your Campaign 

Create a campaign then navigate to the rule builder to add the rules (conditions and effects) for your campaign with a notification. Give the campaign an obvious name like "Free Item, Spend Over 50€". 

For this example, you need to create two rules: one that triggers the notification and one that triggers the discount.

Step 2. Add Rule With Notification

The first rule will check if a customer has a total cart value below 50€. This will trigger the offer notification to a customer alerting them of your offer for a free item.

First add the condition with the following criteria: "Session Total is less than 50€".

Step 3. Create Your Notification

Click +Add Effect and select Set a notification from the drop down menu. This will trigger the notification when a customer fulfills the criteria you have defined in your condition. 

Once you select the effect Set a notification, follow these steps to create your notification:
  1. Select Notification Type: Info, Offer, Error or Misc
  2. Write a title for your notification, for example "Free Item"
  3. Write the body content, for example "FREE Item when you spend 50€" 
  4. Hint: Make you notification dynamic by adding a variable like "Customer Name"

The styling of the notification depends on your setup, but the message could appear to the customer like this: 

As you set up your first campaign with notifications, please ensure your developers are aware of the notification types and have adjusted your integration as required. Set the type of notification to distinguish how the information is passed to your web shop or application. 

Step 5. Add Rule With Discount

Now add a second rule that will check if the customer qualifies for the discount with the condition "Session Total is greater or equal to 50". This is the offer you have communicated using the first rule. 

Now add the effect that will trigger the actual offer to the customer like a free item. This can be any type of effect like a discount, free shipping, loyalty points, etc.

To give a free item, select Add item to cart from the drop down menu then input the SKU or select your variable. 

To give Free Shipping on a customer's order as an effect, write the attribute "Session Attribute Shipping Cost" in the value field. Give your discount a name for clarity. 


Step 6. Save Your Rules And Test

Review your conditions and effects, check the information is correct then click Save. Navigate to the Dashboard and review all the details of your campaign. From here you can activate your campaign, save it as a draft or schedule it for later. 

Customize Your Campaigns

This is is just one example of a campaign with a Notification Effect. Use variables in your message to make it more dynamic or even send a custom URL. There are many different ways you can communicate with your customers using custom parameters and the Notification Effect. 

If you would like to discuss more possibilities for creating these types of campaigns, get in touch! Remember, please share the relevant documentation with your Developers before you get started. 

Next you might want to check out: