1. Home
  2. Docs
  3. Push Notification – Documentations
  4. Notification
  5. Conditionals

Conditionals

With conditionals you can determine whether in the specific situation the notification will be sent or not.

Examples

Send a notification to all users when post created

Create an event trigger when a post type change status

Then click to button “Create”

Expand the event trigger you just create and scroll down to section Conditionals and select “Put notification if”

Then click to button “Add Conditional”

Click to icon plus to add condition

Send notification in this situation is post status change “draft” => “publish” AND post type = “post”

We used variable {old_status} to get old post status and {status} get new post status

Was this article helpful to you? Yes No

How can we help?