After reading this article you'll know:
How you can trigger an action
Which triggers there are
Before an action is executed it needs to know when to actually do the execution. This is done via triggers; a trigger does what the name implies it triggers something, in our case an action.
Triggering an action is primarily done via the page builder. For example, when you submit a form with data. But actions can also be triggered via the action IDE.
Page builder triggers
There are components within your pages that offer the
Edit action option. When a component has this option it means that an action is, or can be attached to the component.
When you click on the
Edit action button you'll get redirected to the action that is attached to the component.
At the time of writing this article, there are two components that offer this functionality:
The action button component
Action IDE trigger
The second option is to trigger an action via the action IDE. You can trigger an action via the action IDE by clicking
Test run in the top right corner.
The playground will open so you can check if the action works as it is supposed to.
Triggers that trigger from the page builder are automatic and trigger when your application is running. Triggering an action via the action IDE means that you trigger it manually.
Make sure to check out this article if you want to learn more about the playground!