Actions108
- AI Actions
- Transcribe
- Detect Brand
- Extract Contact Information
- Mood Detection
- Detect Adult Content
- Enitity Detection
- Language Detection
- Too Long To Read
- Check Content Policy
- Detect Faces
- Generate Python Code
- Picture Text Recognition
- Detect Color
- Generate Image
- PDF OCR
- Translation
- Detect Email Type
- Generate Javascript Code
- Picture Object Recognition
- Business Actions
- Calculate Actions
- Code Actions
- Convert Actions
- Crypto Actions
- Date & Time Actions
- Generate Actions
- Image Actions
- Operator Actions
- PDF Actions
- Storage Actions
- Text Actions
- User Actions
Overview
The node "0CodeKit" is a versatile toolbox of no-code utilities that supports multiple resources and operations, including AI, business, calculation, code execution, conversion, cryptography, generation, image processing, PDF manipulation, storage, date & time handling, text processing, and user-related functions.
Specifically for the Generate resource with the City operation (not explicitly detailed in the provided code but inferred as part of the generate resource), the node can generate various types of data such as numbers, strings, QR codes, shortened URLs, colors, HTML scraping results, JSON Web Tokens, mock user data, pictures, and more.
This node is beneficial when you want to automate or integrate complex utility tasks without writing custom code, such as generating random data, encoding/decoding information, creating QR codes, or manipulating URLs.
Practical examples:
- Generating a random color palette for UI design.
- Creating a shortened URL for marketing campaigns.
- Producing mock user data for testing purposes.
- Encoding or decoding JSON Web Tokens for authentication workflows.
- Scraping HTML content from a webpage for data extraction.
Properties
| Name | Meaning |
|---|---|
| Code Variables | A collection of code variables where each variable has a name (selected from existing code editor variables) and a value to be used during code execution. Useful for passing dynamic values into code snippets or functions. |
Note: The property "Code Variables" allows multiple entries, each consisting of:
- Variable Name or ID: Selects a predefined variable from the code editor or specifies an ID via expression.
- Value: The string value assigned to the variable.
Output
The node outputs a JSON array containing the results of the requested operation(s). Each item in the output corresponds to one input item processed.
- The
jsonfield contains the structured response data returned by the underlying API call for the selected resource and operation. - If the operation involves binary data (e.g., images, PDFs), the node may also output binary data fields representing files or media content, typically encoded or referenced for further use in workflows.
Dependencies
- Requires an API key credential for authenticating requests to the external 0CodeKit service.
- The node internally calls the 0CodeKit API endpoints corresponding to the selected resource and operation.
- No additional environment variables are explicitly required beyond the API credential.
Troubleshooting
Common issues:
- Incorrect or missing API credentials will cause authentication failures.
- Providing invalid or incomplete input parameters for a given operation may result in errors from the API.
- Selecting a code variable name that does not exist in the code editor context could lead to undefined behavior or errors.
Error messages:
- Errors thrown by the node usually contain the API error message. For example, "Invalid parameter" indicates missing or wrong inputs.
- Network or connectivity errors suggest checking internet access or API endpoint availability.
Resolutions:
- Verify that the API key credential is correctly configured and active.
- Double-check all input parameters for correctness and completeness.
- Ensure that any referenced code variables exist and are spelled correctly.
- Use the "Continue On Fail" option if partial processing is acceptable despite some errors.
Links and References
- n8n Expressions Documentation
- 0CodeKit official API documentation (not provided here; consult the service provider's site)
- n8n community forums and support channels for troubleshooting integration issues