Skip to main content
Utils

Counter

Counter

Counts a value over the robot's run. Every time the action runs, the given value is added to the counter. Useful for adding up quantities, tracking iterations or accumulating totals while processing lists.


Options

Value

Value to be counted by the counter. It can be a text, a number or the result of another action.

Returns

Javascript code

js
actions["action-id"].value // current value of the accumulated count (Number)

Field selection

  • value — current value accumulated by the count (Number)

Rules and Conditions

  • The Value field is required.
  • The counter accumulates the value every time the action runs during the flow.
  • Use this action's return to read the accumulated total at any point of the flow.