The Increase Variable block allows you to increment a numeric variable by a specified amount. This is particularly useful for counters, loops, and tracking progress in your automation.

Inputs

☐ Variable Name (Required)

The name of the variable you want to increase.

Good Examples:

  • “counter”
  • “pageNumber”
  • “retryCount”

Invalid Values:

  • Empty variable name
  • Non-existent variables
  • Non-numeric variables

☐ Increase By (Required)

The amount to increase the variable by:

Increment Value

Description: Specify how much to increase the variable.

Features:

    ☐ Can use positive numbers to increase

    ☐ Can use negative numbers to decrease

    ☐ Supports decimal values

Example Use Case: Increment by 1 to count iterations

Usage Examples

1. Loop Counter

Variablecounter
Initial0
Increase1
Track iterations in a loop

2. Page Navigation

VariablepageNumber
Initial1
Increase1
Navigate through paginated content

3. Retry Counter

VariableretryCount
Initial0
Increase1
Track number of retry attempts

4. Score Tracking

Variablescore
Initial0
Increase10
Increment score by points earned

Notes

  • Variable must exist before increasing
  • Only works with numeric variables
  • Consider using conditions to check maximum values
  • Initialize variables with Insert Data block first