n8n-nodes-environment-variables
v0.1.1
Published
A node for managing environment variables in n8n workflows
Maintainers
Readme
n8n-nodes-environment-variables
This is an n8n community node. It lets you define multiple environment configurations and emit the variables for the selected environment in your n8n workflows.
Use it to keep development, staging, and production values in one node and switch between them at runtime.
n8n is a fair-code licensed workflow automation platform.
Installation Operations Credentials Compatibility Usage Resources Version history
Installation
Follow the installation guide in the n8n community nodes documentation.
Operations
- Define environments and key/value variables
- Select the active environment
- Optionally override the environment for manual runs
Credentials
This node does not require credentials.
Compatibility
Tested with n8n 1.120.4. It should work with n8n 1.x community nodes.
Usage
- Add the Environment Variables node.
- Add one or more environments and their variables.
- Set the Current Environment name to match one of your environments.
- (Optional) Use Override Environment to switch values when running manually.
Example output:
{
"API_URL": "https://api.example.com",
"API_KEY": "abc123",
"_meta": {
"environmentsConfigured": ["development", "production"],
"selectedEnvironment": "production",
"isOverridden": false
}
}Resources
Version history
- 0.1.0: Initial release
