skip to Main Content
  1. Home
  2. Knowledge Base
  3. Getting Started
  4. Action filters / conditions

Action filters / conditions

This feature requires Uncanny Automator Pro 3.5 or higher. Integration-specific conditions require Automator Pro 4.0 or higher.

Action conditions make it possible to run actions only if specific criteria are met, like a user’s email address matching a certain name, the user having a certain WordPress role, or a form submission having a specific value. Conditions are an optional setting that can be defined for every action in a recipe.

Add conditions to actions

To add a condition to an action, hover over the action and look for the Filter button. It looks like this:

Add a filter to recipes

When you add a filter, you can set the condition that will cause the action to run. There are 3 parts to a General condition:

  • The token that a value will be checked against, so maybe this is a date, email address, role, or a token associated with a trigger in the recipe
  • The criteria that determines whether the token matches a certain value, like “is”, “contains”, “is greater than”, etc.
  • The value that the token is compared to. This might be hardcoded (e.g. a domain like “uncannyowl.com”) or use a token.

When you click the filter button, this modal will appear:

Add a condition

The list of available conditions depends on which plugins you have install. The first option, under General condition section, is where you can set parameters against things like email address, user meta and system information.

Add a general condition

This is what it looks like to add a general condition

Configure conditional action rules

To add a condition to a recipe, make sure each of the 3 fields are populated and click Save condition.

Every action can include one or more conditions. When you add conditions, you will see them displayed as part of an action, like this:

Action Conditions

The action in the screenshot above includes 2 conditions. When more than 1 condition is associated with a recipe, you can choose whether to run the action if all conditions apply or to run it when any conditions apply.

Add an integration-specific condition

The list of conditions will optionally include conditions linked to plugins you have installed. If you have LearnDash installed, for example, you would see a LearnDash condition section where you could set actions to only run if a user is enrolled in a specific course or group.

What you see for integration-specific conditions will vary depending on the plugin and the options available for the condition. Here’s a WooCommerce example:

Sample integration-specific condition

Tips

As you get started with conditions, here are a few other tips to guide your usage:

  • Condition values are not case sensitive.
  • The order of conditions does not matter.
  • Actions with conditions can still be delayed. If they are delayed, conditions are evaluated at the time the action is run, NOT at the time the action is queued.
Back To Top