General

The code step is a way to extend your workflow to do almost anything.

Limitations

console.log and other native functions are disabled.

Available packages

Some NPM packages are available by default to assist in coding.

List of packages

axios

Axios client.

Docs are available on the official page.

Helper functions

Code step provides a few helper functions that are executed safely within your environment.

authorizedAxios

Use with Connection entities defined in Vince Live to automatically retrieve tokens and/or automatically send headers defined on the connection.

Depends on a connection derived from getContext()

This fully replaces axios and has the same methods and configuration options.

Example: