WAREST icon

WAREST

Interact with the WARest WhatsApp REST API

Overview

This node operation generates UUIDs or ULIDs based on user-specified parameters. It supports generating multiple IDs at once, choosing between UUID and ULID types, selecting UUID versions (v1, v3, v4, v5, Nil), and applying optional formatting masks. This is useful for workflows requiring unique identifiers for records, transactions, or any entities needing unique keys.

Use Case Examples

  1. Generating a single UUID v4 for a new database record.
  2. Creating multiple ULIDs for batch processing unique identifiers.
  3. Generating a UUID v5 with a namespace and name for consistent unique IDs based on input.

Properties

Name Meaning
ID Type Select whether to generate a UUID or ULID.
Version Select the UUID version to generate (only applicable if ID Type is UUID). Options include v1, v3, v4, v5, and Nil.
Namespace Namespace string used for name-based UUID versions (v3 and v5). Required if generating v3 or v5 UUIDs.
Name Name string used for name-based UUID versions (v3 and v5). Required if generating v3 or v5 UUIDs.
Format Mask Optional pattern to format the generated ID, e.g., xxxx-xxxx.
Count Number of UUIDs or ULIDs to generate.

Output

JSON

  • id - The generated UUID or ULID string.

Dependencies

  • An API key credential for the WARest WhatsApp REST API is required.

Troubleshooting

  • Ensure that the 'Count' parameter is a positive integer to avoid errors.
  • If generating name-based UUIDs (v3 or v5), provide valid 'Namespace' and 'Name' parameters; otherwise, the operation may fail.
  • Check API credentials and base URL configuration to ensure successful API calls.

Discussion