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, code execution, conversion, cryptography, date & time, image processing, PDF manipulation, storage, text processing, and user-related functions. Specifically for the User resource with the Retrieve User Credits operation, the node likely fetches information about the user's available credits or usage limits from the 0CodeKit service.
This node is beneficial in scenarios where you want to integrate various utility functions into your workflow without coding them yourself, such as:
- Retrieving user credit balances to monitor API usage or quota.
- Running hosted scripts or code snippets dynamically.
- Performing data conversions or validations.
- Manipulating images or PDFs on the fly.
- Generating mock data or QR codes.
For example, you could use this node to check how many credits remain on your 0CodeKit account before running a batch of AI-powered text analyses, ensuring you do not exceed your quota.
Properties
| Name | Meaning |
|---|---|
| Code Variables | A collection of code variables where each variable has: - Variable Name or ID: The name or identifier of a variable defined in the code editor for the selected function. You can choose from a list or specify an ID using an expression. - Value: The value assigned to the variable. This allows dynamic input to the code execution environment. |
Note: The provided properties JSON only defines the "Code Variables" fixed collection input, which is used when running code hosted on 0CodeKit (likely under the "code" resource and "run-js-scripts-hosted-on-0codekit" operation). For the "user" resource and "Retrieve User Credits" operation, no additional input properties are explicitly defined in the bundled source code snippet.
Output
The node outputs a JSON array containing the results of the requested operation(s). For the User - Retrieve User Credits operation, the output JSON will contain details about the user's credits, such as remaining credits, usage statistics, or limits.
Since the node supports many operations, the exact structure depends on the operation invoked. However, the output is always returned as JSON data.
If binary data is involved (not applicable for this specific operation), it would be included in the output accordingly, but for retrieving user credits, the output is purely JSON.
Dependencies
- Requires an API key credential for authentication with the 0CodeKit service.
- The node makes HTTP POST requests to the 0CodeKit API endpoints corresponding to the selected resource and operation.
- No other external dependencies are indicated.
Troubleshooting
Common issues:
- Invalid or missing API credentials will cause authentication failures.
- Incorrect resource or operation selection may lead to unexpected errors or empty responses.
- Providing invalid or incomplete input parameters (if required by the operation) can cause the API to reject the request.
- Network connectivity issues can prevent successful API calls.
Error messages:
- Errors thrown by the node include the error message string from the API or internal exceptions.
- If "Continue On Fail" is enabled, errors for individual items are captured in the output as
{ error: "error message" }. - To resolve errors, verify API credentials, ensure correct input parameters, and check network access.
Links and References
- n8n Expressions Documentation
- 0CodeKit official documentation (not provided in source; consult the service's website for API details)
Note: The analysis is based solely on static code inspection of the provided bundled source code and property definitions. Runtime behavior or dynamic imports were not executed or inferred beyond static patterns.