Variables

Flowise allow users to create variables that can be used in Custom Tool Function.

For example, you have a database URL that you do not want it to be exposed on the function, but you still want the function to be able to read the URL from your environment variable.

User can create a variable and get the variable in Custom Tool Function:

$vars.<variable-name>

Variables can be Static or Runtime.

Static

Static variable will be saved with the value specified, and retrieved as it is.

Runtime

Value of the variable will be fetched from .env file using process.env

Resources

Last updated