Skip to content

Commit 05b5496

Browse files
hugocasaclaude
andcommitted
docs: add flow env variables and resources documentation
Replace the deprecated "Static inputs" section with the new "Flow env variables" documentation covering string, JSON, and resource types. Add changelog entry for v1.650.0 and update volumes/sandbox changelog date. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8cf0c3b commit 05b5496

File tree

7 files changed

+32
-4
lines changed

7 files changed

+32
-4
lines changed
45.4 KB
Loading
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
slug: flow-env-variables-resources
3+
title: Variables and resources in flow env
4+
tags: ['Flow editor']
5+
image: ./flow_env_resource.png
6+
description: Flow environment variables now support resources and variables.
7+
features:
8+
- 'String values can link to workspace variables using the $ button.'
9+
- 'New resource type to reference workspace resources.'
10+
version: v1.650.0
11+
docs: /docs/flows/editor_components#flow-env-variables
12+
---

changelog/2026-02-26-volumes-sandbox-annotation-claude-sandbox/index.md renamed to changelog/2026-03-06-volumes-sandbox-annotation-claude-sandbox/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ features:
1313
- 'Volumes UI in the Assets page for browsing, exploring, and deleting volumes.'
1414
- 'Community Edition volume limits: max 20 volumes per workspace, 50 MB per file.'
1515
docs: /docs/core_concepts/ai_sandbox
16+
version: v1.651.0
1617
---

docs/flows/3_editor_components.mdx

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The Flow Builder has the following major components we will detail below:
1010

1111
- [Toolbar](#toolbar): the toolbar allows you to export the flow, configure the flow settings, and test the flow.
1212
- [Settings](#settings): configure the flow settings.
13-
- [Static Inputs](#static-inputs): view all flow static inputs.
13+
- [Flow Env Variables](#flow-env-variables): define flow-level variables accessible from any step.
1414
- [Flow Inputs](#flow-inputs): view all flow inputs.
1515
- [Action](#flow-actions): steps are the building blocks of a flow. They are the actions that will be executed when the flow is run.
1616
- [Action editor](#action-editor): configure the action.
@@ -208,9 +208,23 @@ At last, you can directly [test a step](#test-this-step).
208208
/>
209209
</div>
210210

211-
## Static inputs
211+
## Flow env variables
212212

213-
This menu centralizes the static inputs of every steps. It is akin to a file containing all constants. Modifying a value here modify it in the step input directly. It is especially useful when forking a flow to get an overview of all the variables to parametrize that are not exposed directly as flow inputs.
213+
Flow env variables are flow-level constants that can be referenced in any step input using `flow_env.VARIABLE_NAME` or `flow_env["VARIABLE_NAME"]`. They are accessible from the `$` icon in the toolbar.
214+
215+
![Flow env variables](./flow_env_types.png)
216+
217+
They are useful for values shared across multiple steps that should not be exposed as flow inputs, such as configuration constants or shared credentials.
218+
219+
Each variable has a name and a type:
220+
221+
- **String** - plain text values. String values can link to [workspace variables](../core_concepts/2_variables_and_secrets/index.mdx) using the `$` button.
222+
- **JSON** - structured data as JSON objects.
223+
- **Resource** - references to [workspace resources](../core_concepts/3_resources_and_types/index.mdx) resolved at runtime.
224+
225+
Flow env variables are available in the property picker and can be used in JavaScript expressions and input bindings.
226+
227+
![Flow env variables in property picker](./flow_env_property_picker.png)
214228

215229
## Flow inputs
216230

27.9 KB
Loading

docs/flows/flow_env_types.png

86.4 KB
Loading

package-lock.json

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)