Skip to content

n8n App

About

n8n Free and open fair-code licensed node based Workflow Automation Tool.

Custom env

Custom environment variables can be set in /app/data/env using the File manager. Be sure to restart the app after making changes.

Timezone

To set the timezone, set the GENERIC_TIMEZONE environment variable in /app/data/env. Be sure to restart the app after setting the timezone.

Built-in node modules

n8n allows using built-in node modules. To use an built-in node module, edit /app/data/env, add a line like below and restart the app:

export NODE_FUNCTION_ALLOW_BUILTIN=crypto

See upstream docs for more information.

Custom node modules

n8n allows using custom node modules. Only the packages available in /app/code/node_modules are available for use. To use a module, edit /app/data/env, add a line like below and restart the app:

export NODE_FUNCTION_ALLOW_EXTERNAL=handlebars,jsonata

With the above line, we can now use handlebars and jsonata. Restart the app and use the module in Function nodes.

See upstream docs for more information.

If you require a custom module that is not installed in /app/code/node_modules, please make a post in our forum.

CLI

To use the n8n CLI, open a Web terminal:

# gosu cloudron /app/code/node_modules/.bin/n8n export:workflow --backup --output=/tmp/n8n/