The WonderPush Developer Hub

Welcome to the WonderPush developer hub. You'll find comprehensive guides and documentation to help you start working with WonderPush as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    

Segment-based automation


Not familiar with Segmentation? Read our Segmentation Overview.

What is segment-based automation?

It is the technology by which notifications are sent automatically when users meet certain criteria. Here are examples of scenarios made possible by segment-based automation:

  • send a notification 5 minutes after a user leaves an e-commerce site without buying (detailed in our Cart reminder documentation),
  • send a welcome notification when users subscribe to push notifications,
  • send a re-engagement notification when users haven't visited for a while.

These are just examples and the possibilities are much greater.

How does segment-based automation work?

Users that enter a particular segment (by meeting the segment's criteria) are automatically sent a notification.

The notification is sent only once. To receive the notification again, the user has to first leave the segment, then re-enter it.

Setting up segment-based automation

This is achieved from the Notifications creation page's Schedule tab by choosing a Behavior trigger:

You can choose when to send the notification:

Please note that users meeting the criteria will receive the notification after the chosen delay, even if they stop meeting the criteria in the meantime.

Setting up the segment

There are multiple ways of setting up the segment that will serve as a basis for the automation:


Behavior notifications are inactive by default.

You must activate the notification from the Notifications page if you want the notification to be sent.

Example: a simple re-engagement notification

In this example, we'll setup a notification to be sent to users that haven't visited our app / website in the past 30 days. To achieve this, we'll use a pre-configured segment that matches exactly our criteria: the 30-day dormants segment.

To setup this notification:

  1. Click Create notification from the Notifications page,
  2. Enter a name (“Re-engagement notification”), choose the Behavior trigger and click Save and continue,
  3. Select the type Simple, enter a Text (for example “We miss you, come back!”) and click Save and continue,
  4. On the Target tab, choose Send only to users within the segment, click Add criteria, setup a rule of type Segment of audience is matching, select the 30-day Dormants pre-configured segment and click Save and continue,
  5. On the Advanced tab, simply click Save.

There's just one last thing to do: activate our notification. Go to the Notifications page and click on the activation switch and make sure its state is set to “ON”.

Updated 2 years ago

Segment-based automation

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.