Add a Code Action
You use a Code action to add JavaScript code to an action chain.
To use a Code action:
- Add the action in one of three ways, as explained at the end of Built-In Actions.
- 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: