Send a notification to all users when a new post is created on your WordPress site.
Action trigger
Create an event trigger when a post type change status

Then click to button “Create”
Recipients

Conditionals
Expand the event trigger you just create and scroll down to section Conditionals and select “Push 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
