Add a Code Action

You use a Code action to add JavaScript code to an action chain.

To use a Code action:

  1. Add the action in one of three ways, as explained at the end of Built-In Actions.
  2. Using the Properties pane, write your JavaScript code. In this example, the data for a new employee is passed to an action chain through input parameters, and a new object with the data is returned: