Blocks that carry values#

Constants, selectors, builders, and named variables move values along the edges of a flow.

Data blocks carry values along the edges of a flow. They produce constants, build structures, pull fields out of a response, or hold a value under a name for later. None of them has a side effect. The category has thirteen blocks, grouped below by what they do.

Constants#

Seven blocks each emit a single fixed value on their Value output when the flow reaches them. Set the value in the inspector, except where noted.

BlockWhat it emits
StringA fixed piece of text
NumberA fixed number
BooleanA fixed true or false
NullThe value null, with nothing to configure
RawA free-form value, useful for an object or list written by hand
NowThe current time in milliseconds, with nothing to configure
DateThe time in milliseconds for a date you pick

Select#

Select pulls a value out of an object. It has a Data input and a Selected output. Set a path in the inspector, for example data.items[0].name, and the block emits the value found at that path.

Builders#

Three blocks assemble larger values from their inputs.

  • List: builds an array and emits it on Array.
  • Record: builds an object from named key and value pairs and emits it on Object.
  • Template: fills placeholders written as {{name}} in a piece of text and emits the result on Text.

Each builder grows extra input ports as you add items, pairs, or variables in the inspector.

Variables#

Two blocks store and recall a value by name. Create Variable takes a Data input and saves it under the name you set, with no output. Get Variable has no input and emits the saved value on its Value output. A variable belongs to the current run. The flow clears it when it runs again.

Note Validate looks like a data block but sits in the Logic category, because it branches on the result. See Logic.