Dev Tools icon

Dev Tools

A suite of utility tools for developers: Generators, converters, and transformers.

Unique ID Generator

AI-generated

Summary

Generate a unique identifier string of a specified type within a workflow.

Inputs

  • ID Type — Select the type of unique ID to generate: either a UUID version 4 or a NanoID.

Output shape

a single record

Returns an object containing the generated unique ID as the 'id' property and its type as the 'type' property.

Examples

Example 1: Generate a UUID v4 unique identifier

Set the ID Type parameter to 'UUID v4'. The node will output a unique UUID v4 string.

Example 2: Generate a NanoID unique identifier

Set the ID Type parameter to 'NanoID'. The node will output a unique NanoID string.

Links

Discussion