Variables allow for custom flow configuration and environment parameterization, eliminating the need to create a separate integration flow for each environment.
IMPORTANTIf your flow has a REST type trigger, it will not be possible to use environment variables in the URI.
Variables can be created in both the Diagram tab and the Source Code tab, using the Flow Variables button in the workspace header.

Click the
button in the workspace header.
Select the environment in which the variable will be applied: Production or Staging.
Register the variable in the Flow Variables modal window.
Save the variable by clicking Save.
To register a variable, fill in the following fields:
_, up to 60 characters. The name cannot repeat within the same environment.••••••••. An open lock marks a regular variable, whose value anyone with access to the flow can see.NOTETo change the value of a secure variable, click the value in the row and enter a new one: the field opens empty. If you save without touching the variable, the current value is kept, and renaming the variable also keeps its value.
To stop protecting a variable, click the key or the value of the row, open the lock, and enter a new value, which becomes visible. The previous value is discarded because it cannot be recovered. To protect a regular variable, edit the row and close the lock: after you save, its value can no longer be seen.
To apply the variables, enter the variable name in curly braces inside the component, as in the example below:
- Variable in the HTTPS component:
In this case, follow the steps below:
Register the variable by clicking the Flow Variables button in the workspace header.
In the HTTPS component form, in the Common tab, fill in the Http Uri field with the variable name in double curly braces:
{{variable name}}.
When you duplicate a flow, secure values are not copied. The variables arrive in the copy marked Needs value, and an alert at the top of the window shows how many need a value. Fill in each one before you deploy.
The value of a secure variable also appears as <redacted> in the flow's logs, traces, Executions and error responses. A value with fewer than 8 characters is not searched for by value in those records. See Observability and Monitoring.
In any flow that has a secure variable, the window shows the Hidden variables are now Secure notice until you close it. Closing it hides it in every flow of the tenant, in that browser. The values of the variables that used to be hidden were encrypted and can no longer be seen; to change one, edit it and enter a new value.
A release opened in the editor shows the variables in read-only mode, with the Read-only access notice and no +, trash, editing or Save. Secure variables appear as ••••••••.
IMPORTANTIt is not possible to change the variables of a flow with Deployed status. To modify them, a new deployment will be required.
Access to flow variables is controlled per environment, in Access Control, by the following permissions:
Users who have only one of the permissions view and edit the variables of the matching environment only. In the tab of the other environment, the Flow Variables window shows no values, does not allow editing and displays the message "You don’t have permission to view or edit the Flow Variables of this environment.". When you save, only the loaded tabs are written, so the variables of the environment without permission stay as they were. Users who have neither permission see both tabs in that state.
The Flow Variables tab of the Overview panel, in Deployments, follows the same rule for deployments of Diagram & Source Code flows: it requires the permission of the deployment's environment and, without it, displays the message "You don’t have permission to view the Flow Variables of this environment.". Deployments of Canvas flows are not affected: the same tab keeps showing their environment variables.
In the interface and on the per-environment API routes, the Create and update integration flows and List and view integration flows permissions do not give access to flow variables. The deprecated API routes (GET and PUT /api/v1/integration-flows/{integrationFlowId}/variables and GET /api/v1/deployments/{deploymentId}/variables) keep the previous permissions until they are removed. In addition, restoring a release replaces the flow variables of every environment with those of the release, without requiring the Flow Variables permissions. See Permissions.
The variables listed below are reserved for internal use and cannot be used:
The example below references the variable "name". When executing this integration, the variable will be replaced by the registered name.

In this other example, we reference a variable in a URL.

We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more