Actions132
- AI Actions
- Extract Text From Document
- Check Content Policy
- Detect Adult Content
- Detect Brand
- Detect Color
- Detect Email Type
- Detect Faces
- Extract Entities
- Extract Contact Information
- Extract Customizable Information From Text
- Fuzzy Text Matcher
- Generate Image
- Generate JavaScript Code
- Generate Python Code
- Detect Language
- Detect Mood
- Extract Text From PDF
- Recognize Objects in Image
- Extract Text From Image
- Redact Sensitive Information From PDF
- Remove Background Image
- Summarize Text
- Transcribe
- Translate Text
- Image Actions
- Business Actions
- Convert Actions
- Generate Actions
- Crypto Actions
- Operator Actions
- Storage Actions
- Scheduler Actions
- Text Actions
- Chart Actions
- Code Actions
- Calculate Actions
- Date and Time Actions
- PDF Actions
- Compress PDF File
- Count PDF Pages
- Create Empty PDF
- Decrypt PDF
- Convert DOCX to PDF
- Draw Image on PDF
- Draw Text on PDF
- Encrypt PDF
- Convert HTML to PDF
- Convert Markdown to PDF
- Manage PDF Metadata
- Merge PDF Files
- Add PDF Pages
- Remove PDF Pages
- Resize PDF Pages
- Rotate PDF Pages
- Convert PDF to Base64
- Convert PDF to Image
- Split PDF File
- Add Image Watermark to PDF
- Add Text Watermark to PDF
- Shortened URL Actions
Generate → String
AI-generatedOverview
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/stringendpoint 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
- 0CodeKit API Documentation (assumed base URL; check official docs for details)
- General best practices for generating secure random strings:
- OWASP Password Storage Cheat Sheet: https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html
- Random string generation in JavaScript: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random