{{:i4w_update field=’_Random’ value='[i4w_randint]’:}}

will store the random number in a custom contact field Random

Parameters are:

min
The minimum value of the random integer.
Default: 0.
Required: no.

max
The maximum value of the random integer.
Default: PHP_INT_MAX. (The largest integer supported in your build of PHP. Usually int(2147483647). Available since PHP 5.0.5)
Required: no.

Example:

[i4w_randint min=’1′ max=’10’]