WAREST icon

WAREST

Interact with the WARest WhatsApp REST API

Overview

This node operation validates whether a given string is a valid UUID or ULID. It is useful in workflows where you need to verify the format and correctness of unique identifiers before processing or storing them. For example, it can be used to validate user IDs, transaction IDs, or any system-generated unique identifiers to ensure they conform to expected standards.

Use Case Examples

  1. Validating a UUID received from an external API before using it in a database query.
  2. Checking if a ULID provided by a user input is valid before proceeding with further processing.

Properties

Name Meaning
Value The UUID or ULID string to validate.
Additional Fields Optional additional parameters for extended functionality, though not directly used in validation logic here.

Output

JSON

  • json
    • isValid - Boolean indicating if the provided UUID/ULID is valid.

Dependencies

  • Requires an API key credential for the WARest WhatsApp REST API to perform the validation request.

Troubleshooting

  • Ensure the 'Value' input is a non-empty string representing the UUID or ULID to validate.
  • If the API returns an error, check that the API key credential is correctly configured and has access to the validation endpoint.
  • Common error messages may include invalid input format or authentication failures; verify input correctness and credential validity.

Links

Discussion