Util
The Util node provides general-purpose utility actions for generating unique identifiers, random values, and introducing delays into workflows. These are simple but commonly needed operations in automation pipelines.
Actions
| Action | Description |
|---|---|
util:uuid | Generate a random UUID (v4) |
util:randomString | Generate a random alphanumeric string |
util:randomNumber | Generate a random number within a range |
util:sleep | Pause workflow execution for a specified duration |
util:uuid
Generates a universally unique identifier (UUID v4). Useful for creating correlation IDs, transaction IDs, or unique file names.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
format | string | No | Output format: standard (with hyphens), compact (without hyphens). Defaults to standard |
Output: "550e8400-e29b-41d4-a716-446655440000"
util:randomString
Generates a random string of the specified length.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
length | integer | Yes | Length of the string to generate |
charset | string | No | Character set: alphanumeric, alpha, numeric, hex, base64. Defaults to alphanumeric |
uppercase | boolean | No | Force uppercase. Defaults to false (mixed case) |
Output: "a7Bk9mPx2LqR4wYz"
util:randomNumber
Generates a random number within the specified range.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
min | number | Yes | Minimum value (inclusive) |
max | number | Yes | Maximum value (inclusive) |
integer | boolean | No | Return an integer. Defaults to true |
Output: 7342
util:sleep
Pauses the workflow execution for a specified duration. Commonly used in polling loops, rate-limiting scenarios, or when waiting for an external process.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
duration | integer | Yes | Sleep duration in milliseconds |
Example: Polling with sleep
Connection
No connection required. These are stateless utility operations.