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 → Number
AI-generatedOverview
The node "0CodeKit" provides a versatile toolbox of no-code utilities grouped by resource types. Specifically, the Generate - Number operation generates a number within a user-defined range. This is useful in scenarios where you need to produce random or sequential numbers for testing, simulations, or dynamic data generation in workflows.
For example, you might use this node to generate a random discount code number between 1000 and 9999 or to simulate sensor readings within a specific numeric range.
Properties
| Name | Meaning |
|---|---|
| Range Start | The start value of the number range (inclusive). Must be a number. |
| Range End | The end value of the number range (inclusive). Must be a number. |
Output
The output JSON contains the generated number within the specified range. The exact structure is not fully detailed in the source, but typically it will include a field with the generated number as a numeric value.
No binary data output is indicated for this operation.
Dependencies
- Requires an API key credential for authentication to the external service at
https://prod.0codekit.com. - The node makes a POST request to the endpoint
/generate/numberwith the range parameters in the request body. - No additional environment variables are explicitly required beyond the API key credential.
Troubleshooting
Common issues:
- Invalid range values (e.g.,
Range Startgreater thanRange End) may cause errors or unexpected results. - Missing or invalid API key credential will result in authentication failures.
- Network connectivity issues can prevent the node from reaching the external API.
- Invalid range values (e.g.,
Error messages:
- Authentication errors indicate problems with the provided API key; verify and update credentials.
- Validation errors on input properties suggest incorrect or missing range values; ensure both start and end are numbers and that start ≤ end.
- Timeout or network errors require checking internet connection or API service status.
Links and References
- 0CodeKit Official Website (for more details on the API and utilities)
- n8n Documentation on Creating Custom Nodes