Templates
Actions
Actions execute tasks, send notifications and change states
Overview
Actions are the primary execution component in the Stubber Platform.
Everything that "does something" will be defined and triggered by an action.
Actions can be triggered in various ways and then when they run they have 3 main effects :
- actions run tasks
- actions send notifications
- actions record metrics
See the concepts section on states and actions for more info. See the naming conventions for more info on naming actions.
Action Structure
Parameters
name
The name of the action.
Set when creating or renaming the action.
See the naming conventions for more info on naming actions.
details.description
Should be used to describe what happens when the action is performed and/or under what circumstances it should be performed.
This is visible to users on the Inbox platform, as well as to AI assistants if the action is AI Enabled.
to_state
A set of states that the action can transition to.
Set by linking an action to a state.
fields
See fields documentation for more information.
tasks
See tasks documentation for more information.
notifications
See notifications documentation for more information.
metrics
See metrics documentation for more information.
structure
This is set by the platform and should not need to be modified.
Contains meta information about the action's position and whether it is new, renamed or deleted.
action_meta
See the action meta documentation for more information.