N8N community node that allows users to create global constants and use them in all their workflows
npm install n8n-nodes-globalsThis is an n8n community node. It lets you create global constants that can be used in any workflow.
* Installation
* Usage
* Version history
Follow the installation guide in the n8n community nodes documentation.
This node uses N8N Credential to store the global variables.
1. Add "Global Constants" node to your workflow.
!Global Constants node
2. In the node configuration, either select an existing credential or create a new one.
3. Select the format for your global constants:
- Key-value pairs format: Use "name=value" pairs, one per line
- JSON format: Provide constants as a JSON object
4. Add your constants according to the chosen format:
KeyKey-value pairs
!Define constants String
JSON
!Define constants
5. Use the global constants in your workflow
!Use constants