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
![](https://appcheap.io/wp-content/uploads/2022/08/image-16.png)
Then click to button “Create”
Expand the event trigger you just create and scroll down to section Conditionals and select “Push notification if”
![](https://appcheap.io/wp-content/uploads/2022/08/image-13-1024x500.png)
Then click to button “Add Conditional”
Click to icon plus to add condition
![](https://appcheap.io/wp-content/uploads/2022/08/image-14.png)
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
![](https://appcheap.io/wp-content/uploads/2023/02/Screenshot-2023-02-27-at-11.45.38.png)
Send a notification to all users when product created
Create an event trigger when a post type change status
![](https://appcheap.io/wp-content/uploads/2023/02/Screenshot-2023-02-27-at-10.48.49-1.png)
Then click to button “Create”
Expand the event trigger you just create and scroll down to section Conditionals and select “Push notification if”
![](https://appcheap.io/wp-content/uploads/2023/02/image-13-1024x500-1.png)
Then click to button “Add Conditional”
Click to icon plus to add condition
![](https://appcheap.io/wp-content/uploads/2023/02/image-14.png)
Send notification in this situation is post status change “auto-draft” => “publish” AND product type = “product”
We used variable {old_status} to get old post status and {status} get new post status
![](https://appcheap.io/wp-content/uploads/2023/02/Screenshot-2023-02-27-at-11.10.47.png)
Video guide
I use the device’s Registration ids for testing, to receive notifications about newly created posts.