Flow reference: Variables

Increment

Increase a numeric variable.

Increase a numeric variable.

When and how to use it

Connect the input from the preceding step on the path that should perform this operation.
Fill the fields with data available in the trigger's context.
Connect the needed outputs; an unconnected path cannot run later blocks.

Configuration fields

Variable name — name


The name used by this action. Command names, variable keys and channel names follow different rules; read the block purpose before reusing a name.

Input: Text.

Default: counter.


Amount — amount


Numeric quantity for this operation. Check the unit in the label; count, money and XP are different quantities.

Input: Number.

Default: 1.

Outputs and next steps

out: Continue to the next step.

Test and troubleshoot

Invoke the correct trigger with simple inputs and verify the expected effect. Confirm variables exist on this path. A preview alone does not verify Discord delivery.

Save, validate and publish. Perform one real test and read the first relevant log error. [Testing](/docs/flow-testing) · [Variables](/docs/flow-variables) · [Permissions](/docs/flow-permissions).