These blocks work on values already in the run: lists, objects, text, numbers and dates. They don’t touch the outside world. This page documents 19 blocks. For how flows work, see Flows and the flow editor. Values in settings can use templates such as {{ input.id }} and {{ steps.load.output.email }}; see Block reference overview.

Hash

Key: crypto.hash Hashes text with SHA-256, or signs it with HMAC-SHA256 using a secret. Continues to: next

Parse JSON

Key: json.parse Parses a JSON string. Continues to: next

Stringify JSON

Key: json.stringify Serialises a value as JSON text. Continues to: next

Calculate

Key: math.calculate Arithmetic on numbers: add, subtract, multiply, divide, round, min, max, sum. Continues to: next

Current time

Key: time.now The current UTC time, optionally shifted. Continues to: next

Batch list

Key: transform.batch Splits a list into bounded batches for downstream processing. Continues to: next

Filter list

Key: transform.filter Keeps list items matching a policy-style condition. Continues to: next

Flatten list

Key: transform.flatten Flattens nested lists by a selected number of levels. Continues to: next

Group list

Key: transform.group Groups a list into an object keyed by a field or dotted path. Continues to: next

Transform

Key: transform.map Applies an inline or Python transformer to a value. Continues to: next

Pick fields

Key: transform.pick Keeps only some keys of an object. Continues to: next

Rename fields

Key: transform.rename Renames top-level fields on an object or every object in a list. Continues to: next

Slice list

Key: transform.slice Selects a window of a list for paging or limiting results. Continues to: next

Sort list

Key: transform.sort Sorts a list by a field or dotted path. Continues to: next

Summarize list

Key: transform.summarize Summarizes a list, optionally once per group. Continues to: next

Template

Key: transform.template Builds a value from a template (strings, objects or lists). Continues to: next

Remove duplicates

Key: transform.unique Removes duplicate list items, optionally using a field or dotted path. Continues to: next

Generate id

Key: util.id Generates a UUID4 or a random URL-safe token. Continues to: next

Validate

Key: validate.schema Validates a value against field definitions. Fails with 422 or follows invalid. Continues to: next, invalid (follow the one that applies)