logo_smallAxellero.io

Random String

Generate random strings, numbers, and identifiers.

Generate random strings and numbers for IDs, codes, and tokens.

Configuration

Inputs

NameCodeTypeRequiredDefaultDescription
Random Typerandom_typeIntegerNo0Type of random generation
SizesizeIntegerNo4Length of random string
MinimumminIntegerNo1000Minimum value for number
MaximummaxIntegerNo9999Maximum value for number

Outputs

NameTypeDescription
resultTextGenerated random value
errorTextError message if failed

Random Types

TypeDescription
0Alphanumeric string
1Numeric only
2UUID

Usage

Random String

{
  "random_type": 0,
  "size": 8
}

Random Number

{
  "random_type": 1,
  "min": 100000,
  "max": 999999
}

UUID

{
  "random_type": 2
}

Use Cases

  • Generate confirmation codes
  • Create unique order IDs
  • Generate temporary passwords
  • Create correlation IDs for tracing