1. Templates
  2. Actions

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

loading...

Parameters

name

required
string

The name of the action.
Set when creating or renaming the action.
See the naming conventions for more info on naming actions.


details.description

string

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

object

A set of states that the action can transition to.

Set by linking an action to a state.


fields

object

See fields documentation for more information.


tasks

object

See tasks documentation for more information.


notifications

object

See notifications documentation for more information.


metrics

object

See metrics documentation for more information.


structure

object

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

object

See the action meta documentation for more information.