Repeat N Times

flow · C214 · starter-package 7.0.1

Call the same child a fixed number of times.

Inputs and outputs

Inputs

ConnectorTypeRequired
Body WorkflowrecordYes
Body Workflow InputsrecordNo
CountnumberYes
Index InputtextYes
Carry MappingslistNo

Outputs

ConnectorType
Outcomerecord
Resultany

Saved child workflow settings

  • Body Workflow: select the saved child workflow by its readable workflow name.
  • Body Workflow Inputs: provide the child workflow’s named input values as a Record. A connected Record value takes precedence over this JSON setting.

Nodestly keeps the selected saved version linked while the editor and consent popup show readable names only. Before starting, Nodestly checks every selected child workflow and combines all missing add-ons and dependencies in one popup.

Leave the child-workflow connection empty when using the picker. If a connected Record or List chooses the workflow only after the run starts, Nodestly cannot check beforehand what must be installed. Remove that connection and use the visible picker. Ordinary values in the child-workflow inputs are never treated as additional child workflows.

What the block does

The block runs the selected saved child workflow or workflows. It uses the selected saved version for this run.

Safety and limits

Inputs are checked before the block runs. Unsupported, circular, or excessively large values stop the workflow with a clear message. Select child workflows with the saved-workflow picker.

Exact settings reference

These are the saved settings and defaults. If a value is connected to the matching input, that connected value is used.

IDSettingControlDefaultBounds/options
targetBody Workflowsaved-workflowNot set—
targetInputsBody Workflow Inputstextarea{}—

Errors and recovery

When this block reports an error, no downstream output is emitted. Correct the highlighted input or setting described by the message, then run the workflow again.

Invalid configuration, unavailable workflow state, rejected actions, invalid results, cancellation, timeouts, and child-workflow failures stop the workflow and mark this block. Check the highlighted inputs, settings, and child-workflow connections, then run again. No partial outputs or external service details are returned.

If every documented connector and setting is correct but the block reports an invalid result, update Nodestly and this official add-on, restart Nodestly, and try again. If it still fails, report the highlighted block as a product defect.

Example workflow

Connect 3 to count and name the child's index input in indexInput. With normal completion, the child runs three times. Map any per-iteration result you need in the next invocation through carry.