Workflow Logic

Overview

Workflow-native components for iteration, data aggregation, and control flow in Zafeguard.

Overview

Workflow logic components orchestrate the execution graph — routing data, iterating over arrays, and aggregating outputs.

ComponentDescription
FOR_EACHIterate over an array, running downstream stages for each item
ARRAY_BUILDERCollect multiple inputs into a typed array
STRING_CONSTANTEmit a static string as a workflow data output
ON_API_CALLEDTrigger: start a workflow when an HTTP request is received

How workflow logic works

These components run inline with no network round-trip, so they have near-zero latency and consume minimal credits.

Parallelism is handled automatically — when FOR_EACH spawns N iterations, all N run concurrently (up to the workspace concurrency limit).

On this page