Setyenv · Docs
  • English
  • Spanish
  • Chinese
  • Japanese
  • Arabic
  • German
  • French
  • Hindi
  • Indonesian
  • Italian
  • Dutch
  • Portuguese
  • Russian
  • Turkish

Workflow Control nodes

These nodes control execution flow — branching, looping, delaying, pausing for approval. They form the skeleton around which you build. Most are Pro tier.

Workflow with control flow nodes

Triggers

NodeKeyTierDescription
Manual runworkflow.manualfreeRun the workflow manually from the WP admin. The trigger payload contains who started it and when.
Scheduled runworkflow.scheduledfreeRun on a recurring schedule (every N minutes/hours/days). Cron-based; respects WordPress cron accuracy.
Workflow completedworkflow.on_completefreeTrigger when the workflow itself finishes (success, partial, failed, or cancelled). Use for cleanup, logging, or chaining workflows.

Flow control

NodeKeyTierDescription
Conditionworkflow.routerproBranch yes/no by comparing two values with the configured operator (equals, greater than, contains, regex, etc.)
Merge branchesworkflow.mergeproContinue from whichever upstream branch reached this node. Passthrough — no config.
Loop itemsworkflow.loop_itemsproIterate over an array. Nodes placed inside the loop execute once per item. Access the current item via {{loop.item}}. Max 1000 iterations.
Batch windowworkflow.batch_windowproSlice a large list into bounded windows (e.g. 50 items per batch). Each window runs as one execution iteration.
Try / Catchworkflow.try_catchproOpen an error scope: if anything inside try fails, execution routes to catch instead of crashing the workflow. then runs regardless.
Retry blockworkflow.retry_blockproOn failure, re-enqueue the enclosed branch with exponential backoff (configurable initial delay, backoff factor, max delay, max attempts).
Approval gateworkflow.approval_gateproPause the workflow until an authorised user approves or rejects. Shows a summary card in WP admin and can send an email to the approver. Has optional auto-approve timeout and cancel-after deadline.
Run another workflowworkflow.run_childproTrigger a reusable (function) workflow from this workflow. Pass arguments, receive return value.

Delay & stop

NodeKeyTierDescription
Delayworkflow.delayproPause the workflow for a configurable number of seconds/minutes/hours/days. Enqueues a resume job.
Wait until dateworkflow.wait_untilproPause until a specific timestamp. Accepts ISO-8601 or Unix timestamps.
Stop workflowworkflow.stopfreeTerminate the current execution intentionally. Use as a dead-end terminal node.
Noteworkflow.notefreeAdd a documentation comment inside the canvas. Rendered as a sticky note. No runtime effect.

Variables

NodeKeyTierDescription
Set variableworkflow.set_variablefreeWrite a value into a flow-scoped variable identified by name. Variables persist for the duration of one execution.
Read variableworkflow.get_variablefreeEmit the current value of a flow-scoped variable. Pair with Set variable anywhere upstream.

Versioning

NodeKeyTierDescription
Create workflow versionworkflow.version_snapshotproPersist a snapshot of the current workflow definition. Stored as a WordPress revision.
Use variables instead of chaining merge nodes when you need
to pass data between branches that are far apart. Variables can be
read from any downstream node.