User click on a button trigger lets your users to complete an automation by simply clicking a button letting you, through a simple click, run any action of your choice like send an email to the user, update the user role or included enroll user in a course.
When you add a new trigger, you can find the user clicks on a button trigger under the AutomatorWP integration.
This trigger configuration looks like this:
The unique setting is the number of times the user needs to click the button to mark this trigger as completed.
Displaying the button
User click on a button trigger gives you the [automatorwp_button] shortcode configured with the trigger attribute that you need to place to let users click it.
[automatorwp_button] shortcode accepts a set of attributes that you can use to personalize different parts of the button like the label text or set the value of some buttons attributes like the id, class or onclick attributes.
You can check the automations samples page where you can see some samples of the possibilities of this add-on.