0CodeKit icon

0CodeKit

A toolbox of no-code utilities

Actions132

Generate → String

AI-generated

Overview

This node provides a utility to generate random strings with customizable characteristics. It is useful in scenarios where you need to create passwords, tokens, unique identifiers, or any random string data for testing or security purposes. For example, you can generate a 16-character password including uppercase letters, numbers, and symbols, or create a simple 8-character alphanumeric code without symbols.

Properties

Name Meaning
Length Length of the string to generate (number).
Include Numbers Whether to include numeric digits (0-9) in the generated string (boolean).
Include Uppercase Whether to include uppercase letters (A-Z) in the generated string (boolean).
Include Lowercase Whether to include lowercase letters (a-z) in the generated string (boolean).
Include Symbols Whether to include special symbol characters (e.g., !@#$%) in the generated string (boolean).

Output

The node outputs JSON data containing the generated string. The exact structure is not explicitly shown in the source, but typically it will be an object with a property holding the generated string value. There is no indication that binary data is output by this operation.

Dependencies

  • Requires an API key credential for authentication to the external service at https://prod.0codekit.com.
  • The node sends a POST request to the /generate/string endpoint with the specified parameters.
  • No other external dependencies are indicated.

Troubleshooting

  • Common issues:
    • If the generated string is empty or shorter than expected, verify that at least one character type (numbers, uppercase, lowercase, symbols) is enabled.
    • Ensure the length parameter is a positive integer.
    • Authentication errors may occur if the API key credential is missing or invalid.
  • Error messages:
    • Authentication failures: Check that the API key credential is correctly configured.
    • Validation errors: Confirm that the input parameters meet the required constraints (e.g., length > 0).
    • Network errors: Verify internet connectivity and that the external API endpoint is reachable.

Links and References

Discussion