Actions64
- 定时任务 Actions
- 订阅管理 Actions
- 环境变量 Actions
- 配置文件 Actions
- 脚本管理 Actions
- 依赖管理 Actions
- 日志管理 Actions
- 系统设置 Actions
Overview
This node integrates with the Qinglong Panel API to manage environment variables and other related resources. Specifically, for the "环境变量" (Environment Variable) resource with the operation "获取单个环境变量" (Get Single Environment Variable), it retrieves detailed information about a single environment variable by its ID.
Common scenarios where this node is beneficial include:
- Automating retrieval of specific environment variables for use in workflows.
- Monitoring or auditing environment variable values within Qinglong.
- Integrating environment variable data into larger automation pipelines.
For example, you might use this node to fetch an environment variable's value before running a script that depends on it, ensuring your workflow always uses the latest configuration.
Properties
| Name | Meaning |
|---|---|
| 环境变量 (envId) | The identifier of the environment variable to retrieve. Can be selected from a list or specified by ID string. |
The property supports two modes:
- From List: Select an environment variable from a searchable dropdown list.
- ID: Manually enter the environment variable's ID as a string matching the regex
[0-9a-zA-Z]{1,}.
Output
The node outputs JSON data under the json field of the first input item. The key result contains the response from the Qinglong API representing the requested environment variable's details.
The structure of result typically includes all properties of the environment variable as returned by the Qinglong API, such as its name, value, status, and any metadata.
No binary data output is produced by this operation.
Dependencies
- Requires an API authentication token credential configured in n8n to access the Qinglong Panel API.
- The node calls the Qinglong API endpoints, so network connectivity to the Qinglong service is necessary.
- No additional external dependencies beyond the API credential and HTTP access.
Troubleshooting
- Invalid Environment Variable ID: If the provided ID does not match the expected format or does not exist, the API may return an error. Ensure the ID is correct and exists in Qinglong.
- Authentication Errors: Missing or invalid API credentials will cause authentication failures. Verify that the API key/token credential is correctly set up.
- API Endpoint Errors: If the Qinglong API is unreachable or returns errors, check network connectivity and Qinglong service status.
- Unhandled Operation Error: If an unsupported operation is selected, the node throws an error indicating the operation is not implemented.
Links and References
- Qinglong Panel API Documentation: https://qinglong.online/api/
- n8n Documentation on Credentials and HTTP Requests: https://docs.n8n.io/
- Qinglong GitHub Repository (for reference): https://github.com/whyour/qinglong