WunderAutomation adds funtionality similar to “if this then that” to WordPress. The main purpose of WunderAutomation is to create simple and powerful automations without writing code. This makes the automated tasks human readable so that anyone (not just coders) can build, understand and maintain them.
How it works
WunderAutomation runs actions that will be triggered automatically by common WordPress events such as publishing a post or receiving a comment. When an event is triggered WunderAutomation runs one or more defined actions, for instance adding a tag, changing a custom field or sending an email. Triggers and actions are kept together in a workflow and it’s possible to create as many workflows as you want.
WunderAutomation supports WooCommerce out of the box so it can trigger on WooCommerce events such as receiving a new order and perform actions like adding an order note or updating the order status.
To get more control of when to fire an action, WunderAutomation uses filters. Filters will check things like the title or content of a post, the email domain of the user submitting a comment or if a new WooCommerce order contains products from a certain category. Filters can be combined in one or more groups to effectively use boolean AND/OR rules to decide if a triggered event should cause an action to run.
Actions can be customized using parameters. A parameter will get its value from the post / order / comment that triggered the event and contains values like the post ID, title and content, user or customer email address etc. Where applicable, parameters like “post_date” can be formatted to suit most needs.
Built in functionality
Triggers are used to start a workflow. A trigger fires when a WordPress object is changed in some way. Grouped by WordPress object type:
- User; Created, Login, Profile updated, Role changed.
- Post: Created, Pending, Published, Privatized (publised as private), Saved, Status changed and trashed.
- WooCommerce Order: Created, OnHold, Paid, Processing, Completed, Pending, Refunded, Saved, Cancelled
- Comment: Submitted, Approved, Status changed
Filters can be used to filter out triggered events so that only certain events actually leads to an action being performed.
- User: Email, Role
- Post Title, Content, Tags, Categories, Owner, Status, Type
- Order: Billing city, Billing country, Billing state, Downloadable products, Virtual products, Payment method, Producs, Product categories, Producs tags, Shipping city, Shipping country, Shipping state, Order total
- Comment: Author email, Author name, Content, Status, Type
Actions are things a workflow can do / change / update as a result of a trigger
- Add / update custom field
- Change user role
- Change post / comment status
- Add / remove taxonomy term (tag or comment)
- Send email
- Run a http request to a remote REST API
- Add WooCommerce order note
Parameters are used to customize an action with content from the object (post, order, user) that triggered it.
- User: If, First name, Last name, Email, Nickname, Role
- Post: Id, Title, Content, Slug, Admin url, public url, date, modified date, Comment count
- Order: Id, Status, SubTotal, Total excl. tax, Total tax, Stripe fee, Paypal fee, Payment method, Customer email, Shipping and billing address fields
Out of the box, WunderAutomation supports more than 20 different triggers, 30 different filters, 8 actions and more than 50 parameters but if that’s not enough, WunderAutomation is extensible and allows developers to add their own triggers, filters and actions.
WunderAutomation logs everything it does and in the interest of being human friendly, it also comes with a searchable log viewer. This makes it easy to keep track of what triggers that has fired, if the filters passed OK or not and if the actions was carried out or not.