Variable syntax
Reference a variable anywhere in a node configuration using double curly braces:{{variable_name}} token with the supplied value before the node executes.
Types of variables
iBlueprint supports two kinds of variables that work together:- Runtime variables
- Environment variables
Runtime variables are values you pass each time you trigger a Blueprint execution. They are transient — they exist only for the duration of that run and are not stored on the Blueprint itself.Use runtime variables for content that changes per run: user-provided text, dynamic IDs, dates, or any input that should not be persisted.How to supply them
- Web UI: Fill in the variables form that appears when you click Run.
- API: Include a
variablesobject in your execute request body. - CLI: Pass a JSON string with the
--inputsflag.
Defining variables in the editor
You can declare expected runtime variables directly on the Blueprint so the web UI knows what inputs to prompt for:Open the Variables panel
In the Blueprint editor, click the Variables icon in the left toolbar (or press
V).Add a variable definition
Click + Add variable and fill in:
- Name — the identifier used in
{{variable_name}}syntax - Type —
string,number,boolean, orjson - Default value (optional) — used when no value is supplied at run time
- Description (optional) — shown as a hint in the run dialog
Passing variables at execution time
Via the API
Include thevariables key in the request body when calling the execute endpoint:
Via the CLI
Via the web UI
Click Run on any Blueprint. If the Blueprint has declared variables, the run dialog displays a form with a field for each one. Fill in the values and click Execute.Referencing node output
In addition to named variables, you can pass the output of any upstream node into a downstream node’s configuration using the node’s output reference:Output references are read-only — you cannot assign a new value to a node’s output from within a configuration field.
