Random Code - Generator node
The Random Code - Generator node generates a random code that can be used for verification or security purposes. It also allows associating the generated code with a specific identifier for later validation.
This node is available in: Authentication, Admin, Self Service, API, Consent, Library, Custom, User Defined
Node configurations
-
Random code configurations:
-
UUID v4 — Generate the code using the UUID v4 standard format.
-
Custom — Define your own format using the following options:
- Include symbols (.,;:*#?!_-+$&£%=|)
- Include numbers
- Include uppercase characters
- Include lowercase characters
- Code length
-
-
Random code identifier: Specify an identifier associated with the generated code. This identifier can be used later to verify or validate the code.
-
Save in the flow store: Save the result into a variable for reuse by other nodes. See Save in the flow store for details.
Default output node
- Success
- Failure
JSON metadata
{
"name": "generate_random_code_v2",
"active": true,
"bundleName": "default-nodes",
"bundleVersion": "1.0",
"category": "utility_components",
"deprecated": false,
"displayName": [{
"lang": "en",
"value": "Random Code - Generator"
}, {
"lang": "it",
"value": "Random Code - Generator"
}
],
"nodeName": "GenerateRandomCodeV2",
"index": 10,
"inputs": [{
"name": "Input"
}
],
"outputs": [{
"name": "Success",
"level": "success"
}, {
"name": "Failure",
"level": "error"
}
]
}