Params

The Parameters feature allows you to create reusable variables within your process (flow). These can be used in SQL filters, environment variables for JavaScript scripts, or to transfer values between execution blocks.


Where to find it

The Parameters tab is located in the left side panel. When you open a studio menu, you'll see the dedicated area for parameter creation and editing.


How to add a new parameter

  1. Click the “+” button in the upper right corner of the Parameters tab.

  2. A configuration window will appear with the following fields:

    • Param name: Unique name of the parameter (required).

    • Description: Optional field to explain the purpose or usage of the parameter.

    • Value: Default value to be used during executions (can be changed dynamically).

  3. Click Save to create the parameter.


How to use parameters

Once created, parameters can be used across different blocks in your flow:

  • In SQL queries: use the syntax {{ parameter_name }}

  • In JavaScript blocks: {{params.parameter_name}}

  • Builder: Computed: {{ parameter_name }}

  • In dashboard visual filters: use parameters to dynamically filter your data


Managing parameters

  • Edit and Delete: Click on the three dots and select option.

  • Copy: Click on copy.


Notes

  • The User ID field is a special internal parameter and can be used to identify the current user.

  • Parameters are scoped to the current flow and do not affect other projects or processes.

  • You can define and use multiple parameters simultaneously across your flow.

Last updated