Use Library Functions in Integrations
You can add library functions to integrations.
After you create and edit your library functions, they are available from the palette or the canvas inside an integration. See Add JavaScript Functions to an Integration with a JavaScript Action.