BotFrame

Logic · Workflow node

Repeat

The Repeat node as it appears in the workflow editor.

What it does

Run a path a fixed number of times, then continue.

Choose a whole-number count from 0 through 100. The node provides an iteration number starting at 1 for each Repeat pass, then follows Done after the final pass.

Typical use

Repeat a reminder a fixed number of times.

How to use it

  1. Add it from LogicOpen the node library and choose Repeat from Logic.
  2. Connect the workflow pathConnect Flow in, then connect the Repeat and Done outcomes to their next steps.
  3. Choose settings and connect valuesSet Count. Connections can also supply values produced by earlier nodes.

Settings

These are the options shown when you add this node. A connected value can replace a setting when the workflow runs.

SettingStarting valueWhat it controls
Count2Used when Times is not connected from an earlier node.

Value connections

Value connections pass information between nodes without changing the order of the workflow. When an input is not connected, BotFrame uses the value selected in the node or details from the starting Discord event when available.

Inputs

TimesNumber
Required

Outputs

IterationNumber
Optional

What happens when it runs

Choose a whole-number count from 0 through 100. The node provides an iteration number starting at 1 for each Repeat pass, then follows Done after the final pass.

You can use this item in a published BotFrame workflow. You can also test it in the simulator.

These details match the node currently available in the BotFrame workflow editor.