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
Storage → Manage Global Variables
AI-generatedOverview
The node provides utilities to manage global variables within a storage system. It supports creating, retrieving, deleting, and listing global variables. This functionality is useful for workflows that need to store and reuse configuration values, flags, or other data persistently across executions.
Common scenarios include:
- Storing API tokens or credentials temporarily during workflow execution.
- Keeping track of counters or state flags shared between different parts of a workflow.
- Managing feature toggles or environment-specific settings dynamically.
For example, you can create a global variable named "apiRateLimit" with a value of "1000", retrieve it later to check the current limit, delete obsolete variables, or list all existing global variables to audit stored data.
Properties
| Name | Meaning |
|---|---|
| Operation Type | The action to perform on global variables. Options: Create Variable, Get Variable, Delete Variable, List All Variables. |
| Variable Name | The name identifier of the global variable (required for Create and Get operations). |
| Variable Value | The value to assign to the global variable (required for Create operation). |
| Variable ID | The unique identifier of the global variable to delete (required for Delete operation). |
Output
The node outputs JSON data representing the result of the selected operation:
- Create Variable: Returns confirmation and details of the created variable.
- Get Variable: Returns the value and metadata of the requested variable.
- Delete Variable: Returns confirmation of deletion.
- List All Variables: Returns an array of all global variables with their IDs, names, and values.
No binary data output is involved in these operations.
Dependencies
- Requires an API key credential to authenticate requests to the external storage service at
https://prod.0codekit.com. - The node sends HTTP POST requests to endpoints under
/storage/globalvariables/with the operation type appended. - No additional environment variables are explicitly required beyond the API authentication.
Troubleshooting
- Missing or invalid API key: The node will fail to authenticate. Ensure the API key credential is correctly configured.
- Variable not found: When getting or deleting a variable by name or ID that does not exist, the node may return an error or empty response. Verify the variable exists by listing all variables first.
- Deleting without correct Variable ID: Deletion requires the exact variable ID, not just the name. Use the list operation to obtain the correct ID.
- Empty or invalid input fields: Required properties like Variable Name or Variable Value must be provided for respective operations; otherwise, the request will fail.
Links and References
- 0CodeKit API Documentation (assumed base URL for API calls)
- n8n documentation on HTTP Request Node for understanding how routing and requests work in custom nodes