random-digits
function
The random-digits
action generate a string of random digits with the specified length. Default length is 6. It belongs to the random category within the numbers area.
Action Syntax
random-digits length 123
a value followed by A numeric value
random-digits length $variable
a value followed by A variable name starting with $
Return Value
This function returns a
TEXT
value that can be stored in a variable:
$result = random-digits
Valid sizes
tiny
small
medium
large
extra
Examples
// Basic Usage
$text = random-digits length 10
Action code: 581455420
Version: 0.6.4
Last updated: 2025-06-13